Customizing SMF > Modifications and Packages
FAQ (Frequently Asked Questions) mod
Suki:
@French What exactly are you trying to do?
@BaghdadGhost link to your site?
French:
As I pointed out it´s no longer possible to remove or modify menu buttons added by myself in Subs.php,when i try to remove or modify one of those buttons in Subs.php it fails (command to remove or modify will not be carried out) and everything remains the same without changes
I wonder if this has anything to do with the installing of the FAQ Mod or in specific with Faq.php
Suki:
Well, this mod uses the menu hook to insert the FAQ button, it takes the "home" button as reference by default or you can select a button as reference from the admin panel.
The menu hook is used after the long button array so any changes you made will be passed to the hook, this mod only add the FAQ button to the existing array but i doesn't change anything else, how do you exactly are you trying to change your buttons? keep in mind that the menu gets cached for half hour (or something like that, dunno the exact time) so if you change something in the buttons array you need to clean your cache or wait for a new cache entry to be generated.
WasdMan:
Hungarian Language:
Included in the language files.
French:
Thanks for your reply Suki
When i make a change and save this,it seems that the processing in Subs.php will not been overwritten.As an example, i remove the following button(called Wiki) and save this as Subs.php,but after i have done this button still remains in Subs.php
--- Code: --- ),
),
'wiki' => array(
'title' => 'Wiki',
'href' => 'http://linuxmintusers.be/wiki/index.php/Hoofdpagina',
'show' => true,
'sub_buttons' => array(
),
),
--- End code ---
Its difficult to understand why this is happening.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version