Open to all! Ask other shopowners for help.
plamastus
Member
Posts: 82 Joined: Fri Mar 12, 2021 2:09 am
Phoenix Version:
Has thanked: 1 time
Been thanked: 2 times
Post
by plamastus » Fri Apr 23, 2021 1:27 am
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
Member
Posts: 82 Joined: Fri Mar 12, 2021 2:09 am
Phoenix Version:
Has thanked: 1 time
Been thanked: 2 times
Post
by plamastus » Fri Apr 23, 2021 2:01 am
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
Post
by bermuda » Fri Apr 23, 2021 2:45 pm
You can use the new info page function for new pages.
plamastus
Member
Posts: 82 Joined: Fri Mar 12, 2021 2:09 am
Phoenix Version:
Has thanked: 1 time
Been thanked: 2 times
Post
by plamastus » Fri Apr 23, 2021 4:17 pm
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