Support Forum
Is there a setting or plugin that will give me a slug for the forum group? The group is a great organizing tool, but then it doesn't show up in the breadcrumb and doesn't have it's own slug.
I have a classroom forum group with two forums, an open discussion forum and a private feedback forum. I'd like to have a link to the classroom group.
Plus my hierarchy shows "Home -> Forums -> Private Feedback Forum" - I'd like it to show "Home -> Forums -> CLASS NAME -> Private Feedback Forum". That way if they are in the private feedback forum, they can easily go up to the classroom group and then into the open forum area.
I think we can help you out here although it will require some editing of a template - but that is the whole point of using templates and themes of course. The template you need - in your SP theme /templates folder - is called spHead.php.
Locate the call to the display function sp_BreadCrumbs() which will by default probably look like this:
sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=1', __sp('Home'));
You will need to add an extra argument to that call named 'groupLink' setting it to on - and you do that like this:
sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=1&groupLink=1', __sp('Home'));
and that should add the group into the breadcrumbs for you.
There is also a stand alone template tag that can be used anywhere in the site that can load a specified forum Group. This is the tag
sp_GroupLinkTag
() and you can find details on how to use it in our Codex just here: http://codex.simple-press.com/.....roup-link/
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
|
The Simple:Press theme used here is something we built special based from the Default theme. It's been tweaked quite a bit and is tied in pretty heavily to the membership plugin too. It has not been made available for download as it would probably break on any other site. Plus it does not have all the plugin functions that the latest theme might have (because they are not needed here) and it has no ability to be translated like supplied themes can be.
It might confuse people even more if it was made available.
The plugins used here are not any different from the ones available for download except at times they may be a newer version that are being tested.
If you are looking for examples on particular items the codex is probably the best place to go. The Display Functions page lists the various areas of a theme and the functions inside each area.
http://codex.simple-press.com/.....functions/
so what about us people who do not know how to create their own themes like myself?
I probably wont even be able to alter any code as I might break my whole site and that will cost me a packet.
Looks like we wont really be able to have a unique url to a group/forum?
Pledging for Change & Green Schools for the Future getting down and dirty to get kids back in touch with nature
The point about making your own theme is simply to ensure that any changes you make will not get revoked when you make an upgrade.
The article I linked you to - how to make your own theme - is, if you read through it - a very simple and very quick process. And if you did screw it up in any way then just re-downloading and overwriting the basic theme is a simple matter.
I do not believe we have yet suggested you do anything that is not documented with full, detailed instructions.
YELLOW
SWORDFISH
|
1 Guest(s)