Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2011
    Location
    Near Ottawa, Ontario, Canada
    Posts
    321
    Plugin Contributions
    0

    Default Adding pages to more_information LINK question

    Hi.

    I've followed all the instructions in this post.

    I've added 3 pages; FAQ, About Us and Articles. I seem to have made a mistake with the path in the URL. When I check the pages I've added they look like
    Code:
    http://mydomain.com/index.php?main_page=FILENAME_ARTICLES
    instead of
    Code:
    http://mydomain.com/index.php?main_page=articles.html
    My question is: Does any one know specifically where in the steps the URL is added? It seems to me like it's the entry in more_information.php but I fail to spot the diff between:

    if (DEFINE_ARTICLES_STATUS <= 1) {
    $more_information[] = '<a href="' . zen_href_link(FILENAME_ARTICLES) . '">' . BOX_INFORMATION_ARTICLES . '</a>';
    }

    and the supplied example

    Add the line:
    if (DEFINE_PAGE_1_STATUS <= 1) {
    $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_1) . '">' .BOX_INFORMATION_PAGE_1 . '</a>';
    }
    Last edited by familynow; 7 Dec 2011 at 05:13 PM.

  2. #2
    Join Date
    Aug 2011
    Location
    Near Ottawa, Ontario, Canada
    Posts
    321
    Plugin Contributions
    0

    Default Re: Adding pages to more_information LINK question

    Okay, so I've sorted the above. Went back through the steps again. Turns out there were some differences between references within the config. Anyway. So the latest is a bit odd.

    When I turn the status to 0, all 3 pages appear in the proper sidebox and clicking them bring me to the right place. However, if I set the status to 0 I get a blank page with the heading despite there being saved text in the editor. Setting the status to 2 or 3 allows me to see the text by manually entering the url.

    I'm assuming at this point I've reversed something related to the status settings in the db entries.

    ...I can see why there was an add-on done for this ;)

  3. #3
    Join Date
    Aug 2011
    Location
    Near Ottawa, Ontario, Canada
    Posts
    321
    Plugin Contributions
    0

    Default Re: Adding pages to more_information LINK question

    ...Double checked the entries in the db using MyAdmin and all 3 pages I added have the array properly listed and in comparing to other similar pages I see no differences other than esthetic's.

  4. #4
    Join Date
    Aug 2011
    Location
    Near Ottawa, Ontario, Canada
    Posts
    321
    Plugin Contributions
    0

    Default Re: Adding pages to more_information LINK question

    ah geez. I always preach to ppl to 'think before you type' and look at me...the status setting I'm looking for is '1' not '0' which clearly states Link ON, Define Text OFF Sorry for the noise...:)

 

 

Similar Threads

  1. Adding links to information and more_information
    By Qwert302 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 May 2008, 10:48 PM
  2. adding links to more_information sidebox
    By ctcentralinfo in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 10 Jan 2008, 11:15 AM
  3. Adding a link to right hand box and adding pages....Please help
    By Ivum in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Mar 2007, 11:45 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