Entered Navigation Link Text not Displaying
| Project: | SiteMenu |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Since no one has brought this up, I suppose I will --- no matter what you do, when you change the "Navigation Link Text", the displayed title for the site map always remains "Site map".
I fixed this in my copy, but I figured you would want to include it in your next release ...
The problem is in line 39 of the sitemenu.module file. Currently, it reads like this:
'title' => variable_get('SITEMENU_OVERVIEW_TITLE', t('Site map')),
Those single quotes around SITEMENU_OVERVIEW_TITLE seem to mess things up and cause the 'title' element of the $items array to always be set to the default value of 'Site map'.
So I dropped those single quotes:
'title' => variable_get(SITEMENU_OVERVIEW_TITLE, t('Site map')),
Now, whatever I put in the "Navigation Link Text" field in the administrative web-form shows up as the title for my site map page.
Hope this helps. :-)
