Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Am I stupid or what? I can't find any information on the more_information.php

Am I stupid or what? I can't find any information on the more_information.php

Locked

Started by medragon on 13 Jun 2008, 12:05 AM · Views: 2,279

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
13 Jun 2008, 12:05 AM
#1
medragon avatar

medragon

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

13 Jun 2008, 1:07 AM
#2
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Post #2 by lissae

I can't help you with this one, BUT lol your search bar and form inputs go to black when clicked on and the text is also black so one can't see what they are writing....I recommend making these alterations in your stylesheet:

Find this....

input:focus, select:focus, textarea:focus {
    background: #000000;
    }
```and add a text color to it that is see-able like so...

input:focus, select:focus, textarea:focus {
background: #000000;
color: #ffffff;
}


:D

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

13 Jun 2008, 2:28 AM
#3
medragon avatar

medragon

New Zenner

Join Date:
Jun 2008
Location:
In the mountains
Posts:
63
Plugin Contributions:
0

Post #3 by medragon

Hey thanks christon26,
I couldn't see where you were talking about it going black, when I type in somthing to my search, the box is white and the text is black.

Because I couldn't see what you were talking about I went a head and changed it to read as you sugested.

by the way, nice site, maybe you would like to exchange links once I get mine going. I'm at that making sure I know how everything works before loading it all up with product.

This is the site that I am trying to more over in the end.

http://www.uniquebeadedjewelry.com/index.html

Hope someone gets back to me about about my messed up pages.
Dragon

13 Jun 2008, 5:16 AM
#4
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Post #4 by lissae

I use Firefox, and in that it turned black with the black text behind it, in IE6 it was fine lol and I don't know about IE7 cos I don't have that on my pc but it's all good now, all fixed :)

I have been thinking of looking at the link manager mod, I have links and stuff on the main site, just not organised on the store yet lol and I'll be happy to swap once you're up and running :blush:

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

13 Jun 2008, 8:15 PM
#6
medragon avatar

medragon

New Zenner

Join Date:
Jun 2008
Location:
In the mountains
Posts:
63
Plugin Contributions:
0

Post #6 by medragon

Thanks you guys!

Once I knew that I couldn't do it that way, :wink:

I have found a way to work around it.

Dragon