Support Forum
Hello,
Not sure if I'm missing a simple step, but I'm trying to set up my forum on the home page (index?). So instead of visitors going to domain.com/forum, they just need to go to domain.com.
I've changed the 'Reading' settings in WordPress to show the page 'Forum' as my static front page. This half works because I can now access the forum by just going to domain.com BUT the breadcrumbs show links with domain.com/forum. So visitors can now access my forum by going to domain.com and domain.com/forum.
I hope I've made sense and maybe I can get some assistance to setting this up properly.
Thank you!
well, the display as front page in wp does not get rid of the wp page itself, so you can always go to the page too - it exists, you are just asking wp to display it on the main site url...
if you click on the forum page in the breadcrumbs, does it go to the page or the front page?
we looked at trying to get rid of the forum page in the breadcrumbs just because of the occasional confusion, but we didnt have luck because of the permalinks getting messed up and needing it... This would have been pre 5.x, so perhaps we can look at again and see if it can be handled...
but functionally, it should all be working - it will still be your front page and the content will be the same...
Visit Cruise Talk Central and Mr Papa's World
Hi Mr Papa,
Thanks for getting back to me so quickly!
When I click on the forum page in the breadcrumbs it goes to the /forum page. I'll probably just redirect the main index to /forum in the meantime.
The main reason I brought this up was because my domain already has the word forum in it, so I didn't want it be be domainforum.com/forum. I guess I can also change the /forum part, but thought I'd ask first before I got to far into this project.
I remember seeing a Site-Press site (in the showcase?) with a set up like the one I'm looking for but I never saved the link.
As Steve said above it might be worth us revisiting this to see if we can make any improvements but there is likely not much we can do. The problem comes in the way that WP identifies a requested page URL. Without the '/forum/' page slug in place between the domain and the '/forum name/' WP will identify the request as a page with that name - wont find it and will load the 404 template.It is the presence of the forum slug in the url that allows SP to 'interfere' in that process and redirect to a request to the forum.
As to the breadcrumbs question - as you are aware SP is now run completely by templates so to make this change you will need to edit the template which can be done in the SP theme editor panel. The template you need for this is the spHead.php template. Look for the call to the breadcrumbs display function which will probably look like this:
sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=1', __sp('Home'));
If you want to just change the home link then you can add this to the arguments. For example:
sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=1&homeLink=domain.com', __sp('Home'));
where domain.com is your link.
If you want to remove it completely then you will need to do the following:
sp_BreadCrumbs('tagClass=spLeft spBreadCrumbs&tree=1&homeLink=', __sp(''));
Note the ampersands and the use of case.
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
|
Thank you Yellow Swordfish, your breadcrumbs fixes worked great!
It would be great, if in the future (and of course if possible) we did have the option of setting up the forum on the front page without the issues I encountered. The main reason I needed to fix this was because my site was only going to be a forum AND already had "forum" in the name. So, it wouldn't make sense to have anything pointing to the main index of the site if nothing was going to be there. Next time, I'll plan things out a little better.
A little off-topic, but thought I'd ask...If I wanted to set up the main page to just show the latest posts and/or topics, how would I go about doing so? Would that work?
Thanks for all your hard work SP team, it really shows how much time and dedication you've put into this project!
good news on the breadcrumbs!
grab the template tags plugin and you can one of the many template tags to display forum data, including recent/latest posts...
and btw, if you want, you change the name of the forum page to something besides forum... note that ours is support-forum... some use community, etc... just edit the WP page and change the page slug...
Visit Cruise Talk Central and Mr Papa's World
Thanks for the tips on changing the forum name!
Template tags would be awesome if I could get them to work. Not sure if it's the theme that I'm using or maybe something else. When I add any of the shortcodes on the home page it just shows the shortcode, nothing else.
Do you have any troubleshooting tips?
Can we step back to the original question (post 6) before going further. What you actually asked for was to be able to 'set up the main page to just show the latest posts and/or topics'.
I really need you to explain how this would work as your 'main' page IS the forum. Yes - it should be possible without template tags - at least it is doable - but as the main forum page is also the main forum navigation 'jumping off' point how would your users then navigate to your different forums? I am just trying to understand the framework you are proposing...
And don't forget that there is already a 'recent/unread' posts list on the front page of the forum (by default not shown to admins bit easily changed to do so)...
YELLOW
SWORDFISH
|
1 Guest(s)