Support Forum
I switched it around and had it call the_content(), and commented out the wp_head check in Simple Press, however it still doesn't work. I've got the forum displaying once again, but I can't click around inside of the forum. I have tried playing with all the integration options again but couldn't get them to work. The only difference this time around is when I select "Limit forum display to within WP loop" nothing displays.
if you dont use wp_head action, then yeah that could be an issue... that kicks off a lot of forum stuff like loading of css and other few things... surprised that wouldnt cause more issues with other plugins... many rely on the wp hook wp_head...
do you fire any actions or filters in when you do your Gantry head stuff? if so, a user could hook into the action and fire either the wp hook or the specific sp hook...
the reason that check exists is some plugins and/or themes were firing the the_content hook while in the header... normally that would fire off the page display which should not be happening in the building of the head tags... so we just verify that the wp head tag building has at least completed...
Visit Cruise Talk Central and Mr Papa's World
Hi, I understand why this code is there, it completely makes sense for a traditional theme format. Gantry doesn't really use any traditional methods, the head is only called in once, in the index.php file, which contains the code for grid settings, widget positions, page structure ECT and calls to the layouts. The loops are called in through the layout, as we've been talking about, and those are loaded into the structure so there are no calls to the header found in those files. Everything is separated into pieces.
I'm sure it would be possible to add something to Gantry to avoid triggering that if statement, I couldn't tell you what though. It's pretty complex and mostly custom coding that doesn't use many of the standard Wordpress functions. I've been with Rocket Theme for 6 months and I'm still trying to get a grip on how it all works. I could ask the developers about it.
I noticed in some of your core files there are some hacks for other third party products. Maybe we could find another conditional that bypasses that particular if statement for Gantry, if you wanted to add compatibility for it on your end in a future update. I don't know exactly how big of a demand your customers have for Gantry compatibility, or vice versa on our end. At least we've narrowed it down to the exact issue for now.
Mike, you mean it works by commenting out the head check?
Cliff, during 4.x version we had multiple folks using it but had a topic that had a work around... looks like another for 5.0...
you would have to tell me if there some sort of hook or action or filter fired by Gantry that we could key in...
but I think what we can really do is add a filter onto the head check... and allow themes/plugins to filter or adapt that check... so a gantry user would still have to do something different, but they wouldnt have to edit core code... they could add a simple function in their sp theme functions.php file and override the check...
Visit Cruise Talk Central and Mr Papa's World
I had to do the override in the Gantry files to set the body to output as:
do_action('the_content', '');
I also commented out the head check in the Simple-Press files. I'm not 100% sure about the need to modify the Gantry files, but when I tried disabling the custom template, the forum stopped working. It may have been a browser cache issue, but I couldn't swear to it.
Hi,
I made the changes with SimplePress 5.0 and a rockettheme and it's the forum is displaying.
One thing I was wondering is that I can't get the forum topic in my page title.
All the page title in every forum pages is: the name of the page and the name of my blog.
If i switch theme (Twenty Eleven) , the page is displaying like i set it up in the admin: Forum - Component - SEO so it'S perfect.
As soon as i swtich to my gantry theme, i'm loosing those page attribute.
Does anybody have the same issues?
thanks
elizabeth
what are you seo settings in the forum?
and in gantry, if any?
any other seo plugin?
Visit Cruise Talk Central and Mr Papa's World
In Forum – Component – SEO, I selected only : Include topic name in page/browser title
Here is the website that i'm building now:
http://perdre5kilos.com/forum/.....-de-poids/
With the Twenty Eleven theme, I get this page title:
<title>Problèmes de poids | Forum | Perdre 5 kilos</title>
With my Gantry theme, I get:
<title>Forum | Perdre 5 kilos</title> So i'm missing only the Topic thanks again,
1 Guest(s)