Zen Cart Logo
Forums / Basic Configuration / Can someone help this newbie?

Can someone help this newbie?

Locked

Views: 4,073

Results 21 to 23 of 23
This thread is locked. New replies are disabled.
10 Jul 2006, 01:56
#21
awatts avatar

awatts

New Zenner

Join Date:
Feb 2006
Posts:
10
Plugin Contributions:
0

Can someone help this newbie?

wasana:

another hint in reference to your original question about color

look at your sideboxes - see that the headers are orange all the way across while the footers just have that one little orange square. that square is the tile_back.jpg - probably in your CSS stylesheet the footer says something like no-repeat while the header says repeat... (in this case you can visually look for these references or use the editor search function - not the admin/tools/devtoolkit)

background color is gray... or actually some #------

comment out the tile_back.jpg line and change the background color and see what happens...

Where will I find the place to change this? IS this in the templates where the footer info was?

10 Jul 2006, 03:08
#22
wasana avatar

wasana

Zen Follower

Join Date:
Apr 2006
Location:
Chiang Mai
Posts:
203
Plugin Contributions:
0

Re: Can someone help this newbie?

briefly and incompletely - you are going to have to go ahead and deal with the overrides issue and start using the correct templates. start by backing up your files...

to get familiar with what is talked about look in includes/templates/ you'll probably see classic and template_default listed. You need to have your template here ie. template_scrapbook.

Keep going a little deeper looking at includes/templates/template_default/ then you'll see a few more file folders etc common css images templates. read up on the Overrides threads. It won't make much sense at first but if you just go slow and try not to take shortcuts it will be easier. basically you are just going to copy over the template_default files to template_scrapbook. I'm not sure if you can just copy and rename it - maybe but research first. There may be some image files under classic you want and if you made some edits already you'll want to find and move those files to your new template_scrapbook directory. The system is going to automatically look for your template (template_scrapbook) before using classic and default.

If you make some changes and your website melts just revert to the copies you made.

after that has taken up some time (good investment - do now) ---

you have PHP files and CSS Stylesheet files

PHP files kind of tell the page what to do - talk to the database etc. The order in which you place command codes (like where you put the counter in the footer) determines in which order the text and images are going to show up on your webpage.

CSS stylesheet controls the look and placement of things - text color, left or right aligned, colors etc.

so the PHP tpl_blahblah.php files in the templates directory control the basic functions and look of the site, and the CSS fine tunes things - that's not totally correct but it serves our purposes...there can be more than one css stylesheet used on your site depending on what you are trying to do.( different contributions etc) and if you used the 'classic' you have two stylesheets by default - which if you do some searches on the forum will show you that you're starting out on the wrong foot and should maybe use the template_default stylesheet or one of the contributed free templates available in downloads.

**for fun **you could download a template - put it in the templates directory and WHAM you'll see a completely different site appear. move it out if you don't want it, or you could edit the CSS stylesheet for different colors etc.

if you had the firefox web developer tool kit installed you could open your page, click
CSS - view CSS and it would show you the exact file locations

whew, I didn't realize I knew so much and only enough to cause havoc...

10 Jul 2006, 14:29
#23
tinas avatar

tinas

Totally Zenned

Join Date:
Jan 2005
Location:
Lake Havasu, AZ
Posts:
1,090
Plugin Contributions:
0

Re: Can someone help this newbie?

wasana:

I'm not sure if you can just copy and rename it

Just one FYI on this - you don't want to copy your template_default folder in whole - you only want to put the files that you modify into your custom template folder. Zen is smart enough to pull your custom info first, and then look in template_default if it doesn't find something in your custom folder when it tries to call it.

Also - the over ride system works in many areas not just in the template. You can also create over rides for your languages files / modules files and more. For example the HTML pages which are edited in "Define Pages Editor" - I have never EVER used that function - rather I create a folder in my html_includes folder (this folder must be named the same as your custom template folder) copy all the define pages to that folder and then edit them. By doing it this way I can very easily upgrade a shopping cart and then upload my custom folders and everything is in place just as it should be.

The over ride system is the BEST recommendation for anyone - then when you upgrade you simply upload all your template / over ride files and boom you are back in business.