Support Forum

Forum naviagtion

TJ tjalling
tjalling
Member

Hi,

On the bottum of my forum there is a link to the simpel press webiste. Can is replace this link  by forum navigation ??

I atached a screenshot to make my zelf more clear.   

forum-navigation.png

 

13 Answers

New Answer

MP Mr Papa
Mr Papa
Member

absolutely…  you can alter and adjust the display and feel of your sp theme however you like… not sure exactly what you mean by forum navigation…  but that area is controlled by your spFoot.php template file of your sp theme…. open up the file and do what you like… near the bottom you will see the template tag that outputs the acknowledgments…

as always, we strongly urge you to make your own theme before any edits so you dont lose any changes on an update…  see:  http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/

TJ tjalling
tjalling
Member

This is what i mean 

 

forum-nativagionn.png

Do you know which code i should add to the spFoot.php file ? 

 

Thanks

YS Yellow Swordfish
Yellow Swordfish
Member

You want to copy the function call to the breadcrumbs in the spHead.php template into the spFoot template. Just look for ‘breadcrumb’ and you will find it.

TJ tjalling
tjalling
Member

Oke i changed the line and the breadcrumbs are at there place.  Only the grey beem is to small.  Can i make it a bit bigger ?  

In the atached screenshot you see what i mean

 

width.png
MP Mr Papa
Mr Papa
Member

cant tell anything from an image… need a link in order to use firefox/firebug to inspect and offer advice…

YS Yellow Swordfish
Yellow Swordfish
Member

You will not be able to display it in the white area as this is outside of the forum container and the call needs to be inside of that.

I assume you would prefer it centred so change the ‘spLeft’ argument to ‘spCenter’. That might also clean up the bottom. If it does not and the text still displays half in and half out then follow up the  breadcrumbs function call with a call to sp_InsertBreak().

TJ tjalling
tjalling
Member

Oke i dont want it in the white space but in the grey. 

Zo your code changes are stil fallid ? 

thanks

MP Mr Papa
Mr Papa
Member

yes, just add the sp_InsertBreak() after the div you output it in…

TJ tjalling
tjalling
Member

you both are using some wurds that i dont know because im not a coder. I dont know what a div is.  Our what you meen with output.

I did ad sp_InsertBreak() on multiple places in the line below but all i did get was a error on the front end. I supose the line below is the correct line to ad sp_InsertBreak() ?

sp_BreadCrumbs(‘tagClass=spLeft spBreadCrumbs&tree=0’, __sp(‘Home’));

 

If the above line is not correct here is the whole foother code i think 

# Start the ‘about’ section
# ———————————————————————-
sp_SectionStart(‘tagClass=spPlainSection spCenter’, ‘about’);
if (function_exists(‘sp_PolicyDocPolicyLink’)) sp_PolicyDocPolicyLink(”, __sp(‘Usage Policy’), __sp(‘View site usage policy’));
sp_BreadCrumbs(‘tagClass=spLeft spBreadCrumbs&tree=0’, __sp(‘Home’));
if (function_exists(‘sp_PolicyDocPrivacyLink’)) sp_PolicyDocPrivacyLink(”, __sp(‘Privacy Policy’), __sp(‘View site privacy policy’));
sp_SectionEnd(”, ‘about’);

# Mandatory call to sp_FooterEnd() – available to custom code
# ———————————————————————-
sp_FooterEnd();

 

If you could ajust the code it would be great.

Thanks

YS Yellow Swordfish
Yellow Swordfish
Member

Not sure I can be that more explicit.

As I said before I assume you would prefer it centred so change the ‘spLeft’ argument to ‘spCenter’. That is in the call to the breadcrumbs function which is what this part of the thread has been about.

Additionally – if, after you have done that the breadrumbs still display half in and half out of the grey dividing line then add a call to sp_InsertBreak(); after it. That function is used all over the place so you can see it elsewhere in the template.

 

TJ tjalling
tjalling
Member

it’s fixed thanks. 

In total i changed te code about 20 times :)