Program a link to an EZ-Page?
Hi everyone,
I need some help with the instructions on the tutorial page,
https://www.zen-cart.com/tutorials/index.php?article=251,
It shows this code to create a link … <php echo zen_ez_pages_link(page ID, chapter number, page is SSL [true/false], open new window [true/false], return full url [true/false]); ?>
I am not exactly sure what to type to create a link based on this model. Does anyone have any examples? I tried changing ID and the chapter number to page 1, chapter 1 for example. That didn’t work at all though.
I am trying to put an ez-page link in the main_page_define window, the one accessed through the admin tools.
Any help will be greatly appreciated,
Sincerely,
MacKinnon
Re: Program a link to an EZ-Page?
This is probably a silly question, but why put an EZ Page in the define page area when both can be changed from the Admin?
Re: Program a link to an EZ-Page?
I just want to link to an ez-page from anywhere. If this can be done in the admin, how do I do it?
Thanks for replying so fast though :smile:
Re: Program a link to an EZ-Page?
Yay,
I found out how to do this .... <a class="yourClassName" href="<?php echo zen_href_link(FILENAME_EZPAGES, 'id=nnn&chapter=mmm') ?>">Your link text in here</a>
It looks so simple now:D Thank you GrandmaJ
Re: Program a link to an EZ-Page?
I love the ZC forum.
This was exactly what I needed to know, hooray!
hearts-n-stuff,
---Diana