GD Compatibility Pack for X released
This topic contains 97 replies, has 10 voices, and was last updated by John Allsopp 10 years, 8 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: Geodirectory, x theme
-
AuthorPosts
-
August 9, 2014 at 2:45 pm #11483
Hi,
Could you please try adding this to the top of your geodir_x_compatibility.php file and let me know how it goes (or supply ftp details in a private reply and i will do it for you)// Load breadcrumb function early add_action( 'init', 'x_breadcrumbs' );Place it just before the line that says “// BECAUSE THIS PLUGIN IS CALLED BEFORE GD WE MUST CALL THIS PLUGIN ONCE GD LOADS”
August 9, 2014 at 5:30 pm #11500Hi John
I didn’t have the breadcrumbs issue until I updated the plugin. Adding the above line doesn’t make any difference.
Cheers
migs
August 9, 2014 at 5:41 pm #11502@migs – so you updated the plugin and now you can’t activate it?
August 9, 2014 at 5:45 pm #11503Yep, exactly
August 9, 2014 at 9:23 pm #11510Ok, so it seems that if the plugin is deactivated and then reactivated (either manually or through updating) while the X theme is active, then you get the fatal error.
A stop-gap solution to get you up and running would be to switch themes, then activate the plugin, then switch back to X theme.
I know this is not ideal, but for those that just want to get everything activated so they can start designing or adding content, it will at least get you going.
I will get together with the team to try and thrash out a proper solution…
August 9, 2014 at 10:17 pm #11511Right, i fixed it by making the plugin’s function pluggable too. It will be in the next release.
If you can’t wait, you will need to change these things in geodir_x_compatibility.phpfunction x_breadcrumbs() {becomes
if ( ! function_exists( 'x_breadcrumbs' ) ) : function x_breadcrumbs() {and at the very end, add this line
endif;August 10, 2014 at 11:51 am #11551Thanks John
Just to confirm that adding the if statement works perfectly.
August 27, 2014 at 12:38 pm #13331I have a problem with the home page. I am using X Renew Stack. The Maps is WAY left. How do I fix this so it looks correct? Also you can see “The Blog” title – do not know why that is there. I have attached a screed shot.
Any help would be appreciated!
Thanks,
StaceyAugust 27, 2014 at 12:50 pm #13332Hi Stacey,
Your screenshot didn’t upload, so i can’t see your problem exactly…but i think this is just a case of a couple of settings:
Set your map width to 100% in the map widget.
Turn off the blog title area in the X-Renew settingsPlease let me know if this fixes your issues 🙂
August 27, 2014 at 12:50 pm #13333hey, let me try to help ypu with The Blog part.
I also had it and they told me at X Forum to add the code below in the “Customizer > Custom > CSS” and it’s ok now.x-header-landmark { display: none; }hope that helps
August 27, 2014 at 12:54 pm #13334John, it is not posible to turn off the blog thing
August 27, 2014 at 12:56 pm #13335Ok thanks, i remember seeing it in at least one of the stacks, obviously it wasn’t Renew!
Thanks for adding your answer 🙂August 27, 2014 at 1:18 pm #13337I can’t seem to find where I can set the Map Widget to 100% I can only find Map Width and Map Height to type in a number (units are px)
Hopefully my screen shot uploaded this time – it seems like it did
Thank you for the other advise as well. I will try this after I fix the map issue!
August 27, 2014 at 1:23 pm #13338Just got the error that the file size is too big. Will try again
August 27, 2014 at 1:47 pm #13340Please ignore the map sizing comment. I didn’t realize that I could put in a percent symbol in the field – but now I do!
@leandrorosa the code snippet – do you put that at the bottom top ??? I am a newbie so I know this is a stupid question for people with lots of experience so my apologies.
Thanks
Stacey -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket