Results 1 to 10 of 570

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,374
    Plugin Contributions
    4

    Default Re: How do EZ-Pages work?

    Thanks Kim, found the template includes/templates/template_default/templates/
    I see that I could eventually use the override system too, sweet.
    Now, this raises another question: I see some ids there like id="ezPagesHeading", or id="ezPageDefault"
    I can't find those ids in the main stylesheet.
    Where are they?
    Thanks.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How do EZ-Pages work?

    They're probably not there. If every possible ID and class was included in the stylesheet, even when they weren't in use, it would cause pages to load more slowly in visitor's browsers.

    Therefore items are generally (though not always) included only when in use. If you want to use one that isn't needed for the classic template design, then just add it yourself and you're good to go.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,374
    Plugin Contributions
    4

    Default Re: How do EZ-Pages work?

    Thanks Kuroi, that confirms what I was thinking.
    Only I don't understand why add an id to the template if you are not going to use it.
    I am planning on creating a separate stylesheet for EZ pages and overriding the template, then I would use those ids (at least some), don't know if many people would though.

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How do EZ-Pages work?

    The classic template is just one possible design. Just because that doesn't use a particular ID or class, doesn't mean that other designs won't - that's why they're there.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    May 2008
    Posts
    52
    Plugin Contributions
    0

    Default Re: How do EZ-Pages work?

    Good Evening Folks

    I have reached the stage of staring at the screen, so I guess its time to ask if some kind soul can put me on the right track

    I have researched this query but I cant seem to find a thread with an answer which is daft considering how simple it is

    I have created content in the define_main_page.php with the editor. In that content there is a link to another internal page.

    I have created the internal page using the E-Z facility and it displays fine.

    So I have looked through the forum and found the following code to create a link
    Code:
    ....Please click<b>    <a href="php echo zen_href_link(FILENAME MY FILE , '5,,,,') ">here</a>.......
    However all I get is an error message saying I either dont have permission or the server cant find the file

    If you can see what I am doing wrong I would be grateful if you could put me right

    Thank you

    Centec2b

  6. #6
    Join Date
    Feb 2007
    Location
    South Florida, USA
    Posts
    1,374
    Plugin Contributions
    4

    Default Re: How do EZ-Pages work?

    That's an easy one.
    To create a link to an EZ page, you just proceed as if it were any ol' page.
    Go to that page and look at the address bar in your browser:
    http://www.example.com/index.php?mai...=1&zenid=bogus
    You leave out everything before index.php? and the zenid, so your link looks like this:
    <a href="index.php?main_page=page&id=2&chapter=1">blah</a>

  7. #7
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: How do EZ-Pages work?

    @ckosloff

    It would be better to use the proper Zen Cart function for inserting an EZ-Page as explained in the FAQ.

    @Centec2b

    Pay close attention to the form of the opening and closing PHP tags. In the example you gave the opening tag was broken and the closing tag was missing. This is guaranteed to wreck your page. There's an example of them used properly in the FAQ link immediately above.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. v154 Links ON ez-pages TO OTHER turned-off ez-pages don't work after upgrade
    By anduril3019 in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 19 May 2015, 09:12 AM
  2. how do i get javascript to work in the ez pages?
    By warroyo90 in forum General Questions
    Replies: 2
    Last Post: 28 Mar 2012, 05:14 AM
  3. How can I get my CSS navigation tabs to work for groups of similar pages?
    By sifuhall in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 Nov 2009, 07:57 PM
  4. Replies: 3
    Last Post: 22 Jul 2008, 12:01 AM
  5. Bwahahaha How do I get ez-pages to work?
    By hodgejr in forum General Questions
    Replies: 7
    Last Post: 8 Oct 2007, 09:10 AM

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