New page from existing page without remove original page

Open to all! Ask other shopowners for help.
Post Reply
dmenhinick
Member
Posts: 10
Joined: Wed Aug 24, 2022 7:22 am
Phoenix Version:
Has thanked: 5 times

New page from existing page without remove original page

Post by dmenhinick »

I would like to create a page similar to advanced_search.php but also want to keep advanced_search.php as it is. I think this is called a content module, however this page is not listed in the content modules. Do I just clone the page in the core location or is there a better way to do this?


Join The Code Co-op to get access to your library in the Code Co-op Forum
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: New page from existing page without remove original page

Post by heatherbell »

dmenhinick wrote: Mon Sep 05, 2022 1:25 pm I would like to create a page similar to advanced_search.php but also want to keep advanced_search.php as it is. I think this is called a content module, however this page is not listed in the content modules. Do I just clone the page in the core location or is there a better way to do this?
It is not a content module As the name suggests, a content module would be in /includes/modules/content/
To create a clone of an existing page, User Guide - https://phoenixcart.org/phoenixcartwiki ... a_New_Page might help you.
dmenhinick
Member
Posts: 10
Joined: Wed Aug 24, 2022 7:22 am
Phoenix Version:
Has thanked: 5 times

Re: New page from existing page without remove original page

Post by dmenhinick »

Can I have a functional page in this area ie not just an information page?
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: New page from existing page without remove original page

Post by Kofod95 »

Yes, same procedure, but change the logic for info-pages into the logic you want.
If you copy advanced_search.php, you would have functional stuff there, which you can alter, change or whatever as you wish.

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply