Adding a New info Page

Ask the community for help and support.
Post Reply
plamastus
VIP Member
VIP Member
Posts: 83
Joined: Fri Mar 12, 2021 2:09 am
Has thanked: 1 time
Been thanked: 2 times

Adding a New info Page

Post by plamastus »

Hi,

Phoenix 1.0.8.0

I tried adding a new info page epp.php
I added and created files identical to the Private info page changing the files and the slug to point to app, but it doesn't work.
includes/languages/english/modules/boxes/bm_information.php: 'epp.php' => 'Employee Purchase Program'
includes/languages/english/modules/content/footer/cm_footer_information_links.php: 'epp.php' => 'Employee Purchase Program'
templates/default/includes/pages/epp.php: $page = info_pages::get_page(['p.slug' => 'epp',
templates/default/includes/pages/epp.php: $breadcrumb->add($page['pages_title'], tep_href_link('epp.php'));
epp.php: require language::map_to_translation('epp.php');
Anyone that can help?

Thanks,
Last edited by plamastus on Fri Apr 23, 2021 2:01 am, edited 1 time in total.
patrick
plamastus
VIP Member
VIP Member
Posts: 83
Joined: Fri Mar 12, 2021 2:09 am
Has thanked: 1 time
Been thanked: 2 times

Re: Adding a New info Page

Post by plamastus »

After doing more digging I discovered that I was missing a file:
includes/languages/english/epp.php
It works now, I hope this helps some else...

Thanks,
patrick
bermuda
Posts: 29
Joined: Mon Mar 08, 2021 3:37 pm

Re: Adding a New info Page

Post by bermuda »

You can use the new info page function for new pages.
plamastus
VIP Member
VIP Member
Posts: 83
Joined: Fri Mar 12, 2021 2:09 am
Has thanked: 1 time
Been thanked: 2 times

Re: Adding a New info Page

Post by plamastus »

You can use the new info page function for new pages.
I did use that, but it won’t create all those other files that I had to create. Only the content. Right?

Thanks
patrick
User avatar
zipurman
PhoenixCart Developer
PhoenixCart Developer
Posts: 470
Joined: Tue Oct 13, 2020 5:20 pm
Has thanked: 84 times
Been thanked: 147 times

Re: Adding a New info Page

Post by zipurman »

You should watch this video
https://youtu.be/4XKMzVABE5Y
zipurman
aka Preston Lord
-----------
Happy to help where I can ;)

https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
Image
Post Reply