New page from existing page without remove original page

Ask the community for help and support.
Post Reply
dmenhinick
Posts: 10
Joined: Wed Aug 24, 2022 7:22 am
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?
heatherbell
VIP Member
VIP Member
Posts: 1996
Joined: Mon Oct 07, 2019 4:39 am
Has thanked: 26 times
Been thanked: 175 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
Posts: 10
Joined: Wed Aug 24, 2022 7:22 am
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
VIP Member
VIP Member
Posts: 605
Joined: Sat Feb 06, 2021 7:38 pm
Has thanked: 80 times
Been thanked: 141 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
Post Reply