We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Galery Listing/Detail Pages
Is there a better way to achieve this:
So I have for example products/gallery-envelopes which has a gallery listing in it, the listing and detail pages are created using pages/subpages in the pages app. So I have a directory called gallery-envelopes with index.php and detail.php inside it.
When you click on an item it takes you to e.g. products/gallery-envelopes/dave
On my detail page I have created a link back to the listing page. Currently i have added it as /index.php which does the job however the url shows as:
However I would prefer it to show as products/gallery-envelopes/
Which is how it shows when first visited.
Is this a .htaccess thing?
I tried using the link as / but this goes back to the site index. I saw <?php perch_pages_parent_page(); ?> in the docs but this cannot be used inside a template.
Want to reply to this thread?Login with Perch