Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
coding-topic
Coding help: removing forum columns, editing spBreadCrumbs file, removing tab icons, etc
Avatar
Ashley Cooke
Member
Free Members
sp_UserOfflineSmall Offline
Mar 20, 2013 - 10:55 am

Hello,

I've been working on customizing my forum, and ran into a few snags that I can't navigate around.  Could anyone help me do the following? Here's my forum for reference http://www.chat.thesfile.com/

1) I'd like to make some changes to the spBreadCrumbs file in spHead.php to do the following:

             a) Bold font (in the overlay file?) I noticed that this is tied to WP's title page, is there anyway to disconnect but keep the spBreadCrumbs file linked?

 (To paint a clearer picture, I'd like to delete the "Chat with our community..." stuff that appears as a result of WP edits, would like spBreadCrumbs to act as the title)

             b) Remove the arrow to the left of it.

             c) I'd like to put "Share your lessons learned and ask your questions here." underneath the spBreadCrumbs code.  Not sure how to add that correctly...

* If none of these can be achieved, I'd like to bring up the ___ to the same line that the "subscribed" "inbox" "profile" etc tabs are on, but when I try the spacing is wrong.  Don't know how to fix that.

3) Can the icons next to the "subscribed" "inbox" "profile" tabs be removed?  If so, how?

 

Answers to any or all of these questions would be most helpful!  Thanks!

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Mar 20, 2013 - 1:12 pm

Hi Ashley,

Quite a few things. :)

Regarding the breadcrumbs for the text weight you would probably want to edit the main theme php file and not the overlay. That way you can narrow it down to breadcrumbs only. You can inspect using Firebug and find the exact rule that the breadcrumb uses and then find it in the theme and change or add as needed.

The top page name from WP sounds like you want to remove. That would be done in the Forum Admin > Options - General Display Settings > Remove page title completely.

Removing the breadcrumb arrow can be done where the template function is called. You could try something like this.

sp_BreadCrumbs(

'tagClass=spLeft spBreadCrumbs&tree=1&icon=&homeIcon='

);

 
Also take a look at the codex info on breadcrumbs it will show you some more examples.
http://codex.simple-press.com/.....eadcrumbs/
Removing icons from other buttons or tabs is done basically the same way. By using icon= with nothing after the = sign.
 
The text under the breadcrumbs would have to be put in manually by echo'ing it out in the theme. Something like.
echo 'Share your lessons learned and ask your questions here';
 
You may have to put it into a div or add html code to it though to get it placed, sized and have the font type you want.
I am not sure what you me by bring up the ___ to the same line as the tabs are on.
 
Take a look at those options and the codex and see if it helps. If you get stuck or need help let us know I also do create and customize Simple:Press themes and would be glad to help for a moderate fee. If you want to contact me via PM we can discuss.
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626