Support Forum
Hi there is it possible to change the 'home' url link?
See attached image.
It automatically links back to the home sales page, but the real home is inside a membership environment.
I wish to change it so when they click on the forum home they are either taken back to the home of the forum or home of the dashboard to my membership environment and not the main sales/login page.
Anyway to change this?
I would love to set it up the breadcrumbs neatly as the simple press forum has it. anyway to do this?
Simple:Press - being theme and template driven - then both of these requests involve a small edit to the template displaying the breadcrumbs. In this case the template is called spHead.php and can be found n the /templates folder of the SP theme you are using. It can be edited with our theme editor is desired.
Look for the breadcrumbs display function called sp_BreadCrumbs(). It propbably looks like this:
sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=1', __sp('Home'));
To change the home link you will need to add one extra attribute and to turn off the tree view you need to change the value of the 'tree' attribute. So - as follows:
sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=0&homeLink=http://your-home-url', __sp('Home'));
Where the tree is set to zero (off) and the new homeLink attribute is added. Just change the 'your-home-url' with the one you want. Please note that the case, ampersands, no spaces etc., are important so it needs tp be exactly as shown.
As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/.....g-a-theme/)
YELLOW
SWORDFISH
|
1 Guest(s)