Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2015
    Posts
    24
    Plugin Contributions
    0

    Default pages not showing

    hello,
    I need to add new pages in the menu
    I had a few guess but i have no result.
    Can somebody help ?

    I do the folowing things

    1 menu
    I add the link in my template :
    /www/zencart/includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs

    <ul class="level2">
    <li><a href="index.php?main_page=cours_doc">support de cours modifiables</a>
    </li>
    ok, it works

    2 page/module
    I create a directory with the name of my page "cours_doc" and the headerphp.php for this page in
    /www/zencart/includes/modules/pages/fichier


    3 Tittles
    I create the file "cours_doc.php" with my tittles in
    /www/zencart/includes/languages/french/responsive_sheffield_blue/fichier français
    It works when i change the link for "about_us" or "page_2" but not for "cours_doc - the tittle are those of index.php

    4 texte
    I create a file "define_cours_doc.php" with the html text in
    /www/zencart/includes/languages/french/html_includes/responsive_sheffield_blue/define_
    It is the text I see in the config but not on the site


    5 In filenames.php, I add
    define('FILENAME_COURS_DOC', 'cours_doc');
    I am not sure it is necessary

    6 in the database, I add in the configuration table
    589 - Define cours_doc Status DEFINE_COURS_DOC_STATUS 0 Enable the Defined cours_doc Link/Text?0= Link ON,...
    I see it all right in the config but I am not sure it is necessary

    anyway, it doen't work.
    What is missing ?

  2. #2
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: pages not showing

    Couple of things:

    Need the following directory and applicable files (header_php.php for one, and any variable files necessary for a page)
    /www/zencart/includes/modules/pages/cours_doc

    New define files if to be used need to exist in both the main directory and then in the override directory.
    I create a file "define_cours_doc.php" with the html text in
    /www/zencart/includes/languages/french/html_includes/define_cours_doc.php

    Overall, though, suggest reading the following wiki and applying the necessary changes: https://www.zen-cart.com/wiki/index....ting_new_pages
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jul 2015
    Posts
    24
    Plugin Contributions
    0

    Default Re: pages not showing

    thank's very much
    I didn't find any doc so I will read the wiki wich seems very appropriate

  4. #4
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: pages not showing

    Quote Originally Posted by bilbaxo View Post
    thank's very much
    I didn't find any doc so I will read the wiki wich seems very appropriate
    Glad to know that a search was performed. I had thought there was a FAQ about it, knowing that I'd previously used the guidance on that page, but when not found there, I went to the wiki. Lots of good information there, even if it is a little dated. Old or not, it generally still applies and can be extremely helpful.

    Hopefully that guidance will get you going even further with your new ZC site. Good luck!
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. EZ Pages not showing
    By Nick1973 in forum General Questions
    Replies: 3
    Last Post: 28 May 2016, 09:10 PM
  2. v139g ez Pages not working and inks showing PAGE NOT FOUND
    By irishshopper in forum Basic Configuration
    Replies: 5
    Last Post: 18 Jun 2012, 07:21 PM
  3. how to make right column not showing at product page, and other pages showing?
    By win8win in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 May 2012, 10:49 AM
  4. Prices showing/not showing on Preview and Display pages arbitrarily
    By Robynsveil in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 8 Jan 2009, 04:18 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