Welcome to Geeklog, Anonymous Thursday, December 12 2024 @ 07:46 am EST
Geeklog Forums
file to edit menu elements in header?
Dirk
You could try sorting the entries of the gl_plugins table directly in the database. Or you would have to hard-code the links in the order you want.
bye, Dirk
jastanle84
jmucchiello
(
// 'home', // link to homepage
'contribute', // contribute / "submit a story" link
'search', // link to advanced search
'stats', // link to site stats
'directory', // link to list of past stories
// 'prefs', // link to user's preferences
'plugins' // links added by plugins, like {plg_menu_elements}
// 'custom' // for custom links (see lib-custom.php)
);
jastanle84
harooki2
Dirk
harooki2
$_CONF['menu_elements'] = array
(
// 'home', // link to homepage
'contribute', // contribute / "submit a story" link
'search', // link to advanced search
'stats', // link to site stats
'directory', // link to list of past stories
// 'prefs', // link to user's preferences
'plugins' // links added by plugins, like {plg_menu_elements}
// 'custom' //
I have tried to make my change by changing 'contribute' above to 'Submit a Story'. All that accomplishes is to remove the menu item altogether. That doesn't work for me. However, I do want to remove Site Statistics and Links. In the meantime, can you elaborate on your instructions for making this change?
Dirk
Keep in mind that all entries provided by plugins are represented by the one "plugins" entry. Check the plugin's configuation file for ways to disable a specific plugin's menu entry.
If you want to change the text of an entry, please see the FAQ article again. There's a link there ...
bye, Dirk
Josh
I already looked at the info in the explanation link provided but that is not taking me anywhere. Is there any suggestion you can make so I can change the word Contribute for another. New users might think the word is related to money contributions as I was told twice today instead of a story contribution and don't even get to click that link when in fact that could add to the site's content. Your help is appreciated.
Josh
I already looked at the info in the explanation link provided but that is not taking me anywhere. Is there any suggestion you can make so I can change the word Contribute for another. New users might think the word is related to money contributions as I was told twice today instead of a story contribution and don't even get to click that link when in fact that could add to the site's content. Your help is appreciated.
jmucchiello
Hi. I have the same problem as harooki2. I wanted to change the Contribute element in the top menu item to Submit a Story or something similar and when I uncomment Contribute (place those 2 slashes in front of it, then it changes color) in the config.php file line 204 $_CONF['menu_elements'] = array and upload the changes to my config.php file, the word Contribute dissapears from the menu. I looked in the header.thtml file but afraid to mess with the stuff there for I have no knowledge of html and don't want to make things worse by adding words there and then find myself in a bigger ordeal.
to
71 => 'Submit a Story',
Josh
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content