Customizing Labels

WISEOZ - February 10, 2008 - 03:17
Project:MySite
Version:5.x-3.0rc1
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hello again! I really like how you allow for the customization of labels now. One thing I did notice is that it doesn't work so well when you end up changing the label such that it doesn't match the description. You'll notice in the example below that I changed "Droplets" to "Witlets" but the change isn't applied to the description.

Add Witlets
Droplets are helpful tools that you can add to your personal page. Search by name or select from the list provided.

#1

WISEOZ - February 10, 2008 - 03:20

Just adding another observation to this one ...

For whatever reason, the Profile label and target settings don't save.

#2

agentrickard - February 10, 2008 - 15:34

Thanks. That was someone else's patch, and it obviously needs work. http://drupal.org/node/174673

#3

agentrickard - February 10, 2008 - 20:52
Category:support request» bug report

#4

agentrickard - February 12, 2008 - 21:22
Status:active» patch (code needs review)

Two patches.

One to add descriptions to the editable elements.

One to fix the error in profile.inc

AttachmentSize
profile.patch503 bytes
text_change.patch2.43 KB

#5

WISEOZ - February 13, 2008 - 00:57

Both patches appear to be doing what's intended but I'm getting this error now within MySite admin pages.

    * warning: include_once(sites/all/modules/mysite/plugins/types/profile.inc.inc) [function.include-once]: failed to open stream: No such file or directory in /usr/local/apache2/htdocs/drupal/sites/all/modules/mysite/mysite.module on line 3521.
    * warning: include_once() [function.include]: Failed opening 'sites/all/modules/mysite/plugins/types/profile.inc.inc' for inclusion (include_path='.:/usr/local/lib/php') in /usr/local/apache2/htdocs/drupal/sites/all/modules/mysite/mysite.module on line 3521.
    * warning: include_once(sites/all/modules/mysite/plugins/types/profile.inc.inc) [function.include-once]: failed to open stream: No such file or directory in /usr/local/apache2/htdocs/drupal/sites/all/modules/mysite/mysite.module on line 3521.
    * warning: include_once() [function.include]: Failed opening 'sites/all/modules/mysite/plugins/types/profile.inc.inc' for inclusion (include_path='.:/usr/local/lib/php') in /usr/local/apache2/htdocs/drupal/sites/all/modules/mysite/mysite.module on line 3521.

#6

agentrickard - February 13, 2008 - 01:11

That's some sort of odd bug based on filenames. Check your plugins/types directory. The file should be called 'profile.inc' not 'profile.inc.inc'

#7

WISEOZ - February 13, 2008 - 01:28

I didn't have a profile.inc.inc but I do have a profile.inc.backup I had created. I moved that up one directory and the error is now gone.

#8

agentrickard - February 13, 2008 - 01:56

Yup. That was the problem. The file was getting parsed twice. (Or trying to and failing.)

This has been committed to HEAD.

#9

agentrickard - February 13, 2008 - 13:30
Status:patch (code needs review)» fixed

#10

Anonymous (not verified) - February 27, 2008 - 13:34
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.