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
5.0 and Gantry Framework Themes
Avatar
MikeMSD
Member
Free Members
sp_UserOfflineSmall Offline
Feb 27, 2012 - 11:27 am

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.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 27, 2012 - 8:26 pm

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...

Avatar
Cliff Pfeifer
Denver, CO
Member
Free Members
sp_UserOfflineSmall Offline
Feb 27, 2012 - 10:26 pm

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.

Avatar
MikeMSD
Member
Free Members
sp_UserOfflineSmall Offline
Feb 27, 2012 - 10:53 pm

I revise my earlier statement. It looks like the forums are working now with the changes. Thanks for everyone's help.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 27, 2012 - 10:59 pm

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...

Avatar
MikeMSD
Member
Free Members
sp_UserOfflineSmall Offline
Feb 28, 2012 - 9:55 am

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.

Avatar
Elizabeth
Guest
Guests
Mar 3, 2012 - 8:01 pm

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

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 3, 2012 - 8:07 pm

what are you seo settings in the forum?

and in gantry, if any?

any other seo plugin?

Avatar
Elizabeth
Guest
Guests
Mar 3, 2012 - 8:24 pm

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,


 


Avatar
Elizabeth
Guest
Guests
Mar 3, 2012 - 8:53 pm

I don't have any other seo plugin.

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: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625