New Zenner
- Join Date:
- Jun 2008
- Location:
- In the mountains
- Posts:
- 63
- Plugin Contributions:
- 0
Post #1 by medragon
This is my first time working with a cart of any kind, and I'm php stuipid!!I thought I was getting it all figured out but I ran into a wall. :unsure:
I have added pages to the includes/modules/sideboxes/mytemp/more_information.php.
First: In the includes/languages/mytemp/english.php
I changed the bar to say Stitching information,
and changed the links to the page names I wanted.
define('BOX_HEADING_MORE_INFORMATION', 'Stitching Information');
define('BOX_INFORMATION_PAGE_2', 'Just Hints');
define('BOX_INFORMATION_PAGE_3', 'Adding Fringe');
define('BOX_INFORMATION_PAGE_4', 'Bugle Chain');
define('BOX_INFORMATION_PAGE_5', 'Tying Knots');
define('BOX_INFORMATION_PAGE_6', 'My Alternative Square Stitch');
define('BOX_INFORMATION_PAGE_7', 'Regular Square Stitch');
define('BOX_INFORMATION_PAGE_8', 'Brick Stitch');
define('BOX_INFORMATION_PAGE_9', 'Peyote Stitch');
That part works!!
in the: includes/modules/sideboxes/mytemp/more_information.php.
I added the pages like this:
if (DEFINE_PAGE_2_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_INFORMATION_PAGE_2 . '</a>';
}
if (DEFINE_PAGE_3_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_3) . '">' . BOX_INFORMATION_PAGE_3 . '</a>';
}
if (DEFINE_PAGE_4_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_4) . '">' . BOX_INFORMATION_PAGE_4 . '</a>';
}
if (DEFINE_PAGE_5_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_5) . '">' . BOX_INFORMATION_PAGE_5 . '</a>';
}
if (DEFINE_PAGE_6_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_6) . '">' . BOX_INFORMATION_PAGE_6 . '</a>';
}
if (DEFINE_PAGE_7_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_7) . '">' . BOX_INFORMATION_PAGE_7 . '</a>';
}
if (DEFINE_PAGE_8_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_8) . '">' . BOX_INFORMATION_PAGE_8 . '</a>';
}
if (DEFINE_PAGE_9_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_9) . '">' . BOX_INFORMATION_PAGE_9 . '</a>';
}
I have also added the corisponding pages to includes/modules/pages/
and includes/languages/english/mytemp/
and includes/languages/english/html_includes/mytemp/
Did I go to far? Did I miss something?
pages 2 through 4 work, as they were there to begin with.
When I hover over the good working pages they say page_#
but when I try and click on the pages 5 through 9 they say page not found.
When I hover over the bad pages they say FILENAME_PAGE_#
http://www.beadedpatterns.com/home/
Where did I go arye!!
Dragon