Hi!
Like from subject, is there any way to change:
/index.php?action=forum
to:
/index.php?action=support?
Thanks in advance, DarkWolf :)
I was going to say it should work, just by editting the relevant line in index.php (in root), and any template files, however thinking about it, it might not be that straight forward.
If nobody has answered by tomorrow, I'll try it on my test smf1+tp set-up (I'd do it just now, but I'm on the wrong computer)
Ok mc thanks for your reply :)
You need to make a custom action
Info on how to make one can be found here.
http://www.simplemachines.org/community/index.php?topic=23864.0
G6, darkwolf is wanting to change the existing 'forum' action to 'support', not create a new action.
I've just tried it, and changing this in index.php
'forum' => array('BoardIndex.php', 'BoardIndex'),
to
'support' => array('BoardIndex.php', 'BoardIndex'),
Which makes ?action=support display the forum, but the breadcrumb menu (linktree) within the forum still links to forum, so there's obviously other changes that would have to be made elsewhere.
If you go through the guide for how to manually install TP, and change all the occurences of forum to support, then I'd think it should work, as forum is not a default action in a basic SMF install, and is only added by the TP edits.
And the guide i linked to show just what to change and where ;)
Doesent hurt to go through some guides to get the whole picture and not just the small bits :D
But that guide doesn't cover all the custom edits TP makes in the other SMF files ;)
But it does cover the basics need to know for custom actions.
Sources/Load.php contains a couple of spots where "action=forum" is explicitly used, you can change them there and the linktree should be correct.
Ok, thank'u very much at all :)
In a local webserver i've successfully changed action ;)