Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Link to Forum GROUP rather than forum
Avatar
Sarah Fernandezlopez
Member
Free Members
sp_UserOfflineSmall Offline
Mar 26, 2013 - 11:42 am

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.

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 26, 2013 - 12:45 pm

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/)

 

andy-signature.png
YELLOW
SWORDFISH
Avatar
Sarah Fernandezlopez
Member
Free Members
sp_UserOfflineSmall Offline
Mar 26, 2013 - 4:58 pm

all right - I'll give it a whirl.  Compete newbie with Simple Press, but I code for a living - so I'm not TOO scared.  just a little scared ;-)

Avatar
Sarah Fernandezlopez
Member
Free Members
sp_UserOfflineSmall Offline
Mar 26, 2013 - 5:02 pm

Is there somewhere that I can see the themes and plugins used for this forum?

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Mar 26, 2013 - 5:58 pm

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/

Avatar
karen maskall
Member
Free Members
sp_UserOfflineSmall Offline
Mar 27, 2013 - 11:30 am

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

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 27, 2013 - 11:45 am

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.

andy-signature.png
YELLOW
SWORDFISH
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: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625