GD Compatibility Pack for X released

This topic contains 97 replies, has 10 voices, and was last updated by  John Allsopp 9 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #11483

    John Allsopp
    Expired Member
    Post count: 399

    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”

    #11500

    migs
    Free User
    Post count: 42

    Hi John

    I didn’t have the breadcrumbs issue until I updated the plugin. Adding the above line doesn’t make any difference.

    Cheers

    migs

    #11502

    John Allsopp
    Expired Member
    Post count: 399

    @migs – so you updated the plugin and now you can’t activate it?

    #11503

    migs
    Free User
    Post count: 42

    Yep, exactly

    #11510

    John Allsopp
    Expired Member
    Post count: 399

    Ok, 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…

    #11511

    John Allsopp
    Expired Member
    Post count: 399

    Right, 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.php

    function x_breadcrumbs() {

    becomes

    
    
    if ( ! function_exists( 'x_breadcrumbs' ) ) :
      function x_breadcrumbs() {

    and at the very end, add this line

    endif;
    #11551

    migs
    Free User
    Post count: 42

    Thanks John

    Just to confirm that adding the if statement works perfectly.

    #13331

    thebirdiemachine
    Expired Member
    Post count: 246

    I 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,
    Stacey

    #13332

    John Allsopp
    Expired Member
    Post count: 399

    Hi 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 settings

    Please let me know if this fixes your issues 🙂

    #13333

    leandrorosa
    Free User
    Post count: 168

    hey, 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

    #13334

    leandrorosa
    Free User
    Post count: 168

    John, it is not posible to turn off the blog thing

    #13335

    John Allsopp
    Expired Member
    Post count: 399

    Ok thanks, i remember seeing it in at least one of the stacks, obviously it wasn’t Renew!
    Thanks for adding your answer 🙂

    #13337

    thebirdiemachine
    Expired Member
    Post count: 246

    I 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!

    #13338

    thebirdiemachine
    Expired Member
    Post count: 246

    Just got the error that the file size is too big. Will try again

    #13340

    thebirdiemachine
    Expired Member
    Post count: 246

    Please 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

Viewing 15 posts - 46 through 60 (of 98 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket