Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2006
    Posts
    11
    Plugin Contributions
    0

    email error link .php page from main page

    Hi,

    (1) I would like to link to a self-created php page from a button in the main page.
    May I know how should I do to let the page shown in 'main page' area in the template?

    (2) Is there any document on zen API such as zen_href_link, zen_draw_form etc?

    (3) Does this line contain information about drawing create account form in current template??

    <?php require($template->get_template_dir('tpl_modules_create_account.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_create_account.php'); ?>

  2. #2
    Join Date
    Oct 2006
    Posts
    152
    Plugin Contributions
    1

    Default Re: link .php page from main page

    I'm not sure if I'm understanding your question or not.

    You have created a new page called link.php and want to create a link to it?

    If so, where would you like the link to be? In the header? Or in one of the sideboxes?

  3. #3
    Join Date
    Nov 2006
    Posts
    11
    Plugin Contributions
    0

    Default Re: link .php page from main page

    Hi,

    link.php is accessed via content in main_page.php, for example, neither from sideboxes or header, it's a hyperlink from the content.

  4. #4
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: link .php page from main page

    And why are you not using a standard <a href.....to the link.php.....in the html for the define page for main_page or am I missing something....
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #5
    Join Date
    Nov 2006
    Posts
    11
    Plugin Contributions
    0

    Default Re: link .php page from main page

    Hi Barco,

    Because I would like to maintain the template design :|. If <a href> is used, the page will be shown without template design. .

    Well, another way to ask is, What code should i embed in link.php in order to load the same template?

 

 

Similar Threads

  1. Cannot edit main page from Tools/Define page editor
    By bearlymakinit in forum Customization from the Admin
    Replies: 2
    Last Post: 9 Apr 2015, 02:15 AM
  2. Replies: 4
    Last Post: 3 May 2010, 07:21 AM
  3. Website button link on main page for exchange link purposes
    By wendon in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 Oct 2009, 05:42 AM
  4. Link to large image from main page
    By Mon3 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 May 2008, 06:43 AM
  5. Replies: 1
    Last Post: 12 Oct 2007, 07:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR