Modifying Layout of Detail Page

This topic contains 13 replies, has 4 voices, and was last updated by  Paolo 10 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #17536

    Fearless_Shultz
    Free User
    Post count: 46

    Hi Again,

    I would like to modify the detail page to reflect the design in the attached screenshot and I just need to guidance if possible on how best to go about this.

    It’s probably best to take one step at a time so starting with the about section which is the information part from the listing. What is the best way to move that into the main content area? and to the right of the image gallery?

    Following that, as you can see, I would like the additional information from the listing to be displayed to the right of information. For some reason, The extra information and custom fields that I created are not showing up in the sidebar, nor is any of the contact information. Could I be missing a setting somewhere?

    My understanding is that all of the positioning works around hooks (which I am not really familiar with using yet) is this the best approach to moving the various elements around?

    I have copied all the template files into my child theme but not clear if editing these alone is sufficient for what I need but I also understand that if I make changes to the templates in the plugin directory, any updates will overwrite my changes?

    Many thanks

    Mike

    #17539

    thebirdiemachine
    Expired Member
    Post count: 246

    That is a nice design. I have no idea how to do this, but will be following this post/topic with interest.

    Cheers,
    Stacey

    #17540

    Fearless_Shultz
    Free User
    Post count: 46

    Thanks Stacey,

    It was actually designed by my wife. I’ll be happy when it’s been transformed from an image into a working site!

    I’ll pass on your positive comment though and hope this thread can help others as well 🙂

    Cheers

    Mike

    #17546

    Paolo
    Site Admin
    Post count: 31211

    Hi mike,

    it is indeed a nice design and given that you will needs few functions to create it, it is considered a customization.

    Therer are several posts already on the forum discussing how to move elements around with hooks and filter.

    Just search for “remove_action” and you will find plenty of exmaple that could be useful for what you want to do.

    I’m 99% sure that you could accomplish that , without having to move anything in your child theme. Just functions in your child theme functions.php file.

    The only support question here is why your custom fields are not showing up and for that we would need a link and wp admin credentials.

    Let us know,

    Thanks

    #17553

    Fearless_Shultz
    Free User
    Post count: 46
    This reply has been marked as private.
    #17554

    Fearless_Shultz
    Free User
    Post count: 46

    Hi Paolo,

    Thanks for the reply and comment on the design 🙂 Sent message and will look at other posts around the topic of moving elements. Am a bit new to hooks and filters but need to get my head around them 🙂

    Cheers

    Mike

    #17561

    Guust
    Moderator
    Post count: 29970

    Somehow your theme or some other plugin is removing the option in GD > design > detail to have a sidebar. And that is why nothing shows there.

    The support policy is linked in the sidebar of every page:
    https://wpgeodirectory.com/support-policy/

    Scroll down a bit to see what the difference is between support and customization.

    #17601

    Fearless_Shultz
    Free User
    Post count: 46

    Hi Guust,

    Thanks for the reply and checking out the site. With regards to the conflict, I have the Genesis compatibility plugin installed, is this not meant to deal with theme related issues?

    If everything is configured correctly in the Geodirectory settings then I will go through and try disabling plugins. So are there some widget areas missing as well as I thought there should be more for the details page?

    Thanks for the url relating to support. I am a bit confused though as I have seen other examples of the developers giving specific advice and code snippets to people who want to do very similar things to what I am trying to achieve. Here is a perfect example thread:

    https://wpgeodirectory.com/support/topic/details-page-how-to-move-rating-stars-from-sidebar-to-content-area/

    I would also offer the hopefully constructive criticism that if it is policy not to provide assistance then the developer documentation needs to be much more comprehensive and complete

    #17606

    Guust
    Moderator
    Post count: 29970

    Support and assistance gladly given, even assistance to get customization going, but not complete customization unless enough people request it.

    The widget area is showing, it is called GD Detail Sidebar, but it is not showing on the frontend.
    Let’s wait for Paolo, he understands Genesis better than me.

    #17608

    Fearless_Shultz
    Free User
    Post count: 46

    Hi Guust,

    Point taken and I do understand that people can’t expect to essentially have a theme completely customised for them for free which is what I want. just pointers in the right direction 🙂 because as I said the documentation is not great at the moment (although I understand this is a new product and that will grow over time) so even once you have got your head around hooks, actions and filters etc, it is a bit difficult to be self sufficient without knowing which hooks and orders of preference etc you should be targeting.

    Unless there is documentation for this somewhere that I am missing? In which case I will be more than happy to go and read it and learn how to do what I need 🙂

    Thanks again with regards to the sidebar issue, knowing that it is at least not a configuration issue within the plugin then I can look at disabling plugins and any further thoughts Paolo can give regarding Genesis would be much appreciated 🙂

    Cheers

    Mike

    #17630

    Fearless_Shultz
    Free User
    Post count: 46

    I should update to note that I found the following in my child theme functions.php which was hiding the detail sidebar. I am honestly not sure how this ended up in there but can only assume it was an error on my part.

    remove_action(‘geodir_detail_page_sidebar’, ‘geodir_detail_page_sidebar_content_sorting’, 1);

    #17663

    Guust
    Moderator
    Post count: 29970

    Thanks for letting us know. Shall I set this to resolved?

    #17664

    Fearless_Shultz
    Free User
    Post count: 46

    Yes, I suppose so 🙁 Although it would have been nice to have had some comment about whether there was more developer documentation available somewhere or when the docs are likely to be expanded on regarding hooks, filters and priorities etc.

    #17698

    Paolo
    Site Admin
    Post count: 31211

    I will do my best to find the time to start writing 1 page of documentation for each GD function along with one example of use, very similar to the wordpress codex as soon as possible.

    However, given that the templates are very simply structured, by going through the code and with the help of the example already provided in the forum, anyone with the required programming skills, should easily be able to move things around.

    I’m saying this, because John created all compatibility packs by deducing himself what needed to be done and I’ve also seen various of other members’ websites, where the detail page has been totally modified through hooks and actions.

    We will keep you posted.

    Thx

Viewing 14 posts - 1 through 14 (of 14 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