V1 Customization V2 Equivalent Question

This topic contains 4 replies, has 4 voices, and was last updated by  Stiofan O’Connor 5 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #463639

    jonahcoyote
    Expired Member
    Post count: 89

    As I’m upgrading to V2, I’m working on porting V1 Customizations to V2 and I’m having trouble finding the V2 equivalent of some V1 template files. What are the equivalent of the following php template/files that we customized in V1 in V2?

    * geodir-listing.php
    * geodir-search.php
    * listing-filter-form.php

    Thanks!

    #463648

    Kiran
    Moderator
    Post count: 7069

    In v2 we have more simpler templating system, so it is easy to do customization. We are using own template page for each Gd page. See https://wpgeodirectory.com/docs-v2/geodirectory/page-design/#settings

    In v2 the page layout for GD pages can be set from Pages > Page.
    For listings page Pages > GD Archive.
    For search page Pages > GD Search.

    For listings pages the template part files are \geodirectory\templates\content-archive-listing.php & \geodirectory\templates\content-listing.php

    For listing-filter-form.php template part file is \geodirectory\templates\listing-filter-form.php

    Kiran

    #463682

    Alex Rollin
    Moderator
    Post count: 27815
    #463721

    jonahcoyote
    Expired Member
    Post count: 89

    Kiran are you saying there’s no PHP equivalent to geodir-listing and geodir-search in v2?

    I’ve read the documentation and understand the new concept, what I’m stuck on is what I’d like to be able to do and just move the v1 geodir-listing and geodir-search customization we did in PHP to the appropriate location and not have to recode it with short-codes etc.

    Can that be done?

    What I’m looking for is the v1 .php files listed are not called <blah>.php for each one. This upgrade has been taking forever because of the large customization we did in v1. I don’t have the time to rewrite it but just want to port it. NOTE: We’re really doing the upgrade now because we desperately need the v2 REST API interface that comes with the V2 core. Hop you can help.

    #463727

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi,

    For the listing pages there is no direct equivalent, but it should be easy for you to recreate what you have either with shortcodes, Gutenberg blocks or a page builder.

    Though the search bar has a template file it is very different and i doubt would work at all with a straight swap.

    This is a major update and should be treated as such, i hope you will find that v2 is much easier to customise with or without codding.

    If you have any specific questions please just ask.

    Thanks,

    Stiofan

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

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

Open Support Ticket