Forums / General Questions / Adding pages to more_information LINK question

Adding pages to more_information LINK question

Views: 473

Results 1 to 4 of 4
7 Dec 2011, 4:10 PM
#1
familynow avatar

familynow

Zen Follower

Join Date:
Aug 2011
Location:
Near Ottawa, Ontario, Canada
Posts:
321
Plugin Contributions:
0

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 http://mydomain.com/index.php?main_page=FILENAME_ARTICLES instead of ```
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>';
 }
7 Dec 2011, 5:18 PM
#2
familynow avatar

familynow

Zen Follower

Join Date:
Aug 2011
Location:
Near Ottawa, Ontario, Canada
Posts:
321
Plugin Contributions:
0

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 ;)

7 Dec 2011, 5:28 PM
#3
familynow avatar

familynow

Zen Follower

Join Date:
Aug 2011
Location:
Near Ottawa, Ontario, Canada
Posts:
321
Plugin Contributions:
0

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.

7 Dec 2011, 5:47 PM
#4
familynow avatar

familynow

Zen Follower

Join Date:
Aug 2011
Location:
Near Ottawa, Ontario, Canada
Posts:
321
Plugin Contributions:
0

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...:)