Page 1 of 1

Adding a New info Page

Posted: Fri Apr 23, 2021 1:27 am
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,

Re: Adding a New info Page

Posted: Fri Apr 23, 2021 2:01 am
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,

Re: Adding a New info Page

Posted: Fri Apr 23, 2021 2:45 pm
by bermuda
You can use the new info page function for new pages.

Re: Adding a New info Page

Posted: Fri Apr 23, 2021 4:17 pm
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

Re: Adding a New info Page

Posted: Fri Apr 23, 2021 5:03 pm
by zipurman
You should watch this video
https://youtu.be/4XKMzVABE5Y