Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Aug 2005
    Posts
    154
    Plugin Contributions
    0

    help question EzPage Internal or External links do NOT show up for me? What am I doing wrong?

    Ok, so I've never been able to get the Ez-Pages Internal or External links to work. I know it's simple and I've searched this thread but I put in my link under an ezpage as an external link (http://www.whatever.com/mypage.html) but when you go to that ezpage just the title shows and there is no content! I've tried it both as an internal and external link.

    Why won't it show up? This hasn't worked for me in several stores and must be something I'm doing wrong because I don't see anyone else complaining about it. Do I not have a certain setting turned on or something? It should be as easy as putting in the external link on the ezpage and then I should see whatever content in the main content section of my site, right?

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: EzPage Internal or External links do NOT show up for me? What am I doing wrong?

    Have you given them a SORT ORDER greater than " 0 " and have you assigned them to one of the EZpages menus ?

  3. #3
    Join Date
    Aug 2005
    Posts
    154
    Plugin Contributions
    0

    Default

    Thanks for the response!

    I don't see a "sort order" value on the Ez-Page admin page. I assume you mean sort order on the ez-page menu.

    When you ask "assigned them to one of the EZpages menus"... I don't use the ez-page menu sidebar. I just create my own links and hard-code reference them in the Information Sidebox. For example I just put a link to "http://www.mysite.com/index.php?main_page=page&id=8&chapter=0" or whatever ez-page I want to access.

    This might be the problem ... I don't see how it would effect it not displaying the contents but maybe I need to go in and assign them to an ez-page menu. Where is that at in the admin panel?

  4. #4
    Join Date
    Aug 2005
    Posts
    154
    Plugin Contributions
    0

    Default Re: EzPage Internal or External links do NOT show up for me? What am I doing wrong?

    This has gotta be pretty simple... any body able to give me a hand? Pretty please!

  5. #5
    Join Date
    Aug 2005
    Posts
    154
    Plugin Contributions
    0

    Default Re: EzPage Internal or External links do NOT show up for me? What am I doing wrong?

    I have searched and tried everything I can think of and still no luck. Why is this soooo hard? If I put in an external link (like http://www.whatever.com/whateverpage.html) for an ez-page, shouldn't it be displayed when I call up that ez-page? Why isn't this working properly?

  6. #6
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: EzPage Internal or External links do NOT show up for me? What am I doing wrong?

    do you have a link to your site that we can see what is going on ?
    you mentioned something about hard coding the links in information side box . why do you do that ?

  7. #7
    Join Date
    Aug 2005
    Posts
    154
    Plugin Contributions
    0

    help question Link to the site to look at the problem!

    Yes, check it the site here: http://www.pangeawebhosting.com/getpage2937654.php

    In the top left of the header click the "Monsta Gallery" link. This takes you to the ez-page (id #1). That ez-page is set as an external link because I want to easily be able to edit the HTML on that page via the file, but want it to display properly with the header and footer of the site. This ez-page functionality would be great becaus the ez-page is just a wrapper to the HTML page...

    ...problem is, it doesn't work! As you can see it comes up with no content. Why isn't it pulling the content from the HTML file that is referenced in the external link?

    This should be simple and it's not working, soooo frustrating!

    By looking at the site that should have answered your question (tony_sar) about why we hard-code the ez-page links... it's so it is worked into the design/layout of the site.

    Please help! :-)

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Link to the site to look at the problem!

    An external link will just redirect to the external page, not display the external page in Zen Cart. Same with internal links, except that this is presumably to a page within the ZC framework and thus will have its ZC page format. Neither will call the referenced file into the current page. Have you tried using the stock ez-page menus to see how they function?
    How are you calling the ez-page links? In a PHP file, you can use
    <?php echo '<a href="' . zen_ez_pages_link(##) . '">Link Title</a>';?>
    where ## is the ez-page id. This will resolve to a link to the external or internal page when the HTML is served to the viewer.

  9. #9
    Join Date
    Aug 2005
    Posts
    154
    Plugin Contributions
    0

    Default Re: Oh, so it's not a wrapper?

    Oh, so it's not a wrapper? Well then I don't even need to mess with it.

    How can I create a simple php file that would:

    1. Call the main_page.tpl fle to draw out the "template" of the page.
    2. That template references main page contents in a variable called "body code"... how do I insert my html file in that variable?

    Then I would get the wrapper I need.

    ~ Dave

    Dave Mehta
    Pangea Webhosting

  10. #10
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Oh, so it's not a wrapper?

    If you want to edit your custom page content in a file outside of Zen Cart, you would best use a "define page". The core content file for one of those can be edited in the Define Page Editor, or as a php file on your home computer. Ez-pages are stored in the database, so cannot be edited outside of the Zen Cart admin.

    Get the About Us page mod from Free Addons, and use it as a model to make your own new page. It is not a very simple process, but will be totally effective rather than trying to create a new hack to get the approximate result.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Catalog not working, what am I doing wrong?
    By Jatt in forum General Questions
    Replies: 1
    Last Post: 11 Jun 2011, 04:06 PM
  2. External Link Opens Internal - Not External - Page
    By missTish! in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Apr 2011, 01:18 AM
  3. meta_tags.php override not working - what am i doing wrong
    By mydesignerstudio in forum Setting Up Categories, Products, Attributes
    Replies: 20
    Last Post: 16 Sep 2009, 01:16 AM
  4. EZ-Pages: Internal/External URLs Do Not Show in TOC
    By ts232 in forum Basic Configuration
    Replies: 0
    Last Post: 11 Apr 2007, 03:41 PM

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