Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

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

    ...in the Define Pages Editor. I'm using zc 1.3.8a with a French language pack. Because the other day, Pages 2, 3 and 4 were showing up in the site map, I manually deleted them (mistake) before discovering that all you have to do is disable them in the admin. Oh well, you live and learn. The problem now is that with the files recopied into the appropriate folders and enabled in admin, they still don't show up in the Define Pages Editor whereas their English-language cousins do show up in the English-language section of the admin. What have I missed ?

  2. #2
    Join Date
    Aug 2005
    Posts
    26,008
    Plugin Contributions
    9

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

    Do you have (or replace) these files in the french side?
    Zen-Venom Get Bitten
    Get Your Business Found

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

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

    Yes, I copied the French version of define_page_2.php into my custom folder and uploaded it to the server but I can't see it in the define pages editor. There's something quite simple here I think that I can't put my finger on.
    Pete
    zc 1.3.9h
    www.gardenserre.fr

  4. #4

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

    They should be in "includes/languages/french/htlm_includes" for the original version and in "includes/languages/french/htlm_includes/CUSTOM/" for you modified version.
    Is it where you put them?

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

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

    Quote Originally Posted by pilou2 View Post
    They should be in "includes/languages/french/htlm_includes" for the original version and in "includes/languages/french/htlm_includes/CUSTOM/" for you modified version.
    Is it where you put them?
    Yep, that's where they are (well actually, that's where define_page_2.php is) !
    Pete
    zc 1.3.9h
    www.gardenserre.fr

  6. #6
    Join Date
    Jan 2004
    Posts
    58,239
    Blog Entries
    3
    Plugin Contributions
    106

    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!
    Donations always welcome: www.zen-cart.com/donate

    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.

  7. #7
    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.
    Pete
    zc 1.3.9h
    www.gardenserre.fr

  8. #8
    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 ?
    Pete
    zc 1.3.9h
    www.gardenserre.fr

  9. #9
    Join Date
    Aug 2005
    Posts
    26,008
    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>';
    Zen-Venom Get Bitten
    Get Your Business Found

  10. #10
    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 ?
    Pete
    zc 1.3.9h
    www.gardenserre.fr

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Shopping cart - trying to turn off "Total Items" "Weight" and "Price"
    By deshojo in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 4 Apr 2011, 07:15 PM
  2. Replies: 3
    Last Post: 3 Jun 2008, 11:41 AM
  3. Error Msg: "We are unable to find a USPS shipping quote suitable..."
    By cshore in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 28 Jul 2007, 05:02 AM
  4. Replies: 0
    Last Post: 5 Jan 2007, 02:35 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
  •