Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Cannot find "define_page_2.php etc..."

    They'll need to exist in both places:

    /includes/languages/french/html_includes/define_page_2.php
    and
    /includes/languages/french/html_includes/YOUR_CUSTOM_TEMPLATE/define_page_2.php

    Right or wrong, the first one tells the editor that a file by that name should be listed.
    The second one, in the custom folder, is the one that is actually loaded by the editor.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #2
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Re: Cannot find "define_page_2.php etc..."

    Of course. I knew it had to be something simple ! Thanks.

  3. #3
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Re: Cannot find "define_page_2.php etc..."

    I spoke too fast. I can now see the pages in the define text editor and also in the define page status section of Admin and can see, when enabled, the pages in the site map but they don't show up the side box with the other define pages, contact_us.php etc. The corresponding page_2.php etc. pages are all uploaded in the language and custom folders so what else is there to do ?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Cannot find "define_page_2.php etc..."

    they don't show up the side box with the other define pages
    These pages by default exist in the sideboxes/more_information.php sidebox

    Turn it on from the admin > tools > layout boxes controller > sideboxes/more_information.php

    If brave, can move them from /includes/modules/sideboxes/more_information.php to your template copy of information.php

    The following can be copied and pasted into the information.php file in the desired display order
    Code:
      if (DEFINE_PAGE_2_STATUS <= 1) {
    
        $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_INFORMATION_PAGE_2 . '</a>';
    
      }
    Also read the note in more_information.php:
    Code:
    // insert additional links below to add to the more_information box
    
    // Example:
    
    //    $more_information[] = '<a href="' . zen_href_link(FILENAME_DEFAULT) . '">' . 'TESTING' . '</a>';

  5. #5
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Re: Cannot find "define_page_2.php etc..."

    Thanks. OK, we're getting there. I may move the link to information.php as you suggest as that would be neater. However, although I've changed the page title in page_2.php to "FAQ" (or rather the French translation), it still shows up as "Page 2". Is there somethiong else I have to change ?

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Cannot find "define_page_2.php etc..."

    However, although I've changed the page title in page_2.php to "FAQ" (or rather the French translation), it still shows up as "Page 2". Is there somethiong else I have to change ?
    This one is not so easy as for starts in filenames.php this is what it is titled and there are a total of 8 places - files or file edits that contribute to this.

    If this is important for you the easiest way is for you yo look over a module that creates another new page and 8 files/edits required to affect this - then you can create one or many following the same outline.

    Get the about us module from the downloads area and look over the instructions.

  7. #7
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Re: Cannot find "define_page_2.php etc..."

    Thanks. Zen Cart can be a little frustrating at times. I found this thread (you're in it !) which may be of help. I'll give it a try.

 

 

Similar Threads

  1. v139h Cannot "add to cart", "sign up", or "log in". Returns to home.
    By Damn Kitten in forum General Questions
    Replies: 3
    Last Post: 12 Aug 2013, 03:11 AM
  2. admin/configure.php file & can not find "upgrade" option
    By ddavies in forum Upgrading from 1.3.x to 1.3.9
    Replies: 16
    Last Post: 28 Nov 2010, 05:29 AM
  3. i cannot find "meta_tags.php"
    By dessau77 in forum General Questions
    Replies: 4
    Last Post: 20 Jun 2010, 07:56 PM
  4. how to move "contact us", "about us" etc to the bottom of page?
    By zc-newbie in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Jul 2007, 07:20 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