Changing gallery

This topic contains 7 replies, has 4 voices, and was last updated by  Guust 9 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #40676

    ultraman
    Free User
    Post count: 15

    Hi. Is there a way I could change gallery to a tiled gallery on detail page or replace gallery with a widget area so I could use a plugin?

    Thanks

    #40680

    Guust
    Moderator
    Post count: 29970

    There is a gallery in the photos tab?

    #40683

    ultraman
    Free User
    Post count: 15

    I attached some screenshot to show what I mean. I want to replace screen 1 with something like screen 2.

    #40738

    Paolo
    Site Admin
    Post count: 31206

    That would require a customization and not a simple one, but yes it is possible. Defintely not with a plugin, because none would know where to find the pictures in GD tables.

    You have 1st to remove the action that adds the GD slider:

    
    
    remove_action( 'geodir_details_main_content','geodir_action_details_slider',30);
    

    Than copy the geodir_action_details_slider function that you can find on line 969 of geodirectory_template_actions.php file.

    Paste it in your active theme functions.php, rename it to something like my_geodir_action_details_slider (very important) and edit as you wish.

    Once done with your custom function, add the action back with your new function name:

    
    
    add_action('geodir_details_main_content', 'my_geodir_action_details_slider', 10, 1);
    

    That would be it.

    Thanks

    #40752

    ultraman
    Free User
    Post count: 15

    Thanks, I will look into it.

    #62767

    Rob Hilken
    Free User
    Post count: 5

    HI,

    I hope it’s OK to add to this thread. I want to do something similar but just replace the slider with the ‘featured Image’.

    I have added the code to disable the slider in functions.php but I’m unsure of how to get the featured image to display at the top of the details page.

    Thanks for any help you can give!
    Rob

    #62771

    Rob Hilken
    Free User
    Post count: 5

    Sorry I realised this would be better in a new post. Please ignore this one.

    Rob

    #62783

    Guust
    Moderator
    Post count: 29970

    Thanks Rob, refer to the other topic.

Viewing 8 posts - 1 through 8 (of 8 total)

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount