Forums / Templates, Stylesheets, Page Layout / Simple Question err How you add content to your Pages?

Simple Question err How you add content to your Pages?

Locked
Results 1 to 20 of 32
This thread is locked. New replies are disabled.
09 May 2008, 10:40
#1
hcd888 avatar

hcd888

Zen Follower

Join Date:
May 2008
Posts:
348
Plugin Contributions:
0

Simple Question err How you add content to your Pages?

Hi, ppl iam new here and iam completley lost :blink:

Ive manged to add a few products and uploaded templates, installed improved attributes controller 1-1b and stock by attributes 4-6.

so far so good. :clap: Pretty happy with my self at the moment Lol

But then realised i dont know how to add content to the pages haha
Such as a welcome or introduction.

I was also wondering i have some templates which i like but not to sure on the colour is this a easy process to do?

Anyone out there that can point me in the right direction, would be appreciated.

Thanks
09 May 2008, 11:27
#2
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

Much of the content can be modified using the Define Pages Editor in admin>tools. In this case, you want to change define_main_page.php.

Be sure to overide this file and any others you change, at:
includes\languages\english\html_includes

Changing colours is relatively straight forward. These are controlled by stylesheet.css, located in your custom template.
https://www.zen-cart.com/tutorials/index.php?article=43
09 May 2008, 11:49
#3
hcd888 avatar

hcd888

Zen Follower

Join Date:
May 2008
Posts:
348
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

I've changed some text through Define Pages Editor in admin>tools but iam guess i copy the new php file over the old one at:
includes\languages\english\html_includes

I was wondering how i save the new file as a php file?

Iam guessing this is the only way to enter text, nothing simple like "word style" click on icons to get things done huh?
09 May 2008, 12:00
#4
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

For whichever file(s) you plan on changing using the Define Pages Editor, before changing it, move it (using ftp) to..
includes\languages\english\html_includes\your_template

The Define Pages Editor will know you are overiding it so when you edit it in admin, you will be editing the overide.

Also, you may find it easier to use the built-in HTMLarea. On the Define Pages Editor page, there should be a drop-down titled Text Editor. Switching this will allow for a WYSIWYG type of editing.
09 May 2008, 12:33
#5
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

Sorry, just for clarity, "move" should have said "copy".

For whichever file(s) you plan on changing using the Define Pages Editor, before changing it, move it (using ftp) to..
09 May 2008, 16:25
#6
hcd888 avatar

hcd888

Zen Follower

Join Date:
May 2008
Posts:
348
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

Thanks for that seems to be working. :clap:

Iam also trying to put a banner on my homepage aswell across over wher the "powered by zen cart the art of e-commerce" and centered like on your website.

And to remove the navagation links under the main banner, as there is already links under categories.

Sorry to be a pain :bigups:
09 May 2008, 16:26
#7
hcd888 avatar

hcd888

Zen Follower

Join Date:
May 2008
Posts:
348
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

This is mysite so you got a rough idea what iam describing
http://shulab.co.uk/zencart/index.php?main_page=
09 May 2008, 16:57
#8
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

I just checked your site and it looks as if you've already placed your own banner in the footer. I don't know if you're aware of this but you still have the default Zen Cart banners installed as well. These will show up sometimes unless you remove or disable them. This can be done in Admin>Tools>Banner Manager.

I think the navigation links you're referring to are the category tabs. To turn these off, you need to go to Admin>Config>Layout Settings>Categories-Tabs Menu ON/OFF.
09 May 2008, 21:19
#9
hcd888 avatar

hcd888

Zen Follower

Join Date:
May 2008
Posts:
348
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

Thanks for getting back to me, just realised my banner is at the foot of the page.

I kinda wanted it at the top centered, instead of the "powered by zen cart the art of e-commerce" and where the tage line goes.

Thanks i really appreciate your help and advice.
10 May 2008, 13:00
#11
hcd888 avatar

hcd888

Zen Follower

Join Date:
May 2008
Posts:
348
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

Thanks for that got it to work YAY!!!
I like the layout of the classic template i tried going into the css stylesheet to try and change the colour with the HTML colour numbers, but nothing seems to be working. Maybe iam inputting the colour number in the wrong place?

I've looked at https://www.zen-cart.com/tutorials/index.php?article=43 doesnt seem to be that helpful

I would like the template to be the same colour as my banner if u look at
http://shulab.co.uk/zencart/index.php?main_page=

Would you be able to point me which code needs changing, or was wondering how you got your template on your site that colour
10 May 2008, 13:35
#12
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

Ok, what you need to do is navigate to includes\templates\classic\images, and in there, there will be an image called tile_back.gif. This image is used on various parts of the site such as the sidebox headers.

There are two approaches to changing this.

First, if you want to keep a gradient look, you can overide this image with another one of your own. To do this, simply create or replace tile_back.gif in includes\templates\your_template\images.

Second, you can just use a flat colour instead. To do this, you will need to modify your stylesheet. Wherever it says..
background-image: url(../images/tile_back.gif);
Just comment that line out and then experiment with the background-color line which should be next to it.
10 May 2008, 22:37
#13
hcd888 avatar

hcd888

Zen Follower

Join Date:
May 2008
Posts:
348
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

Yes got it to work :clap:

But realised its really pixalated :oops: can u recommend a good program to use to make it nice and smooth tile_back.gif and does it have to be a gig would a jpeg not work?

I just realised the boxes, for example the search box bottom still has a green line http://shulab.co.uk/zencart/index.php?main_page= couldnt work out which line to alter, any ideas?
10 May 2008, 23:04
#14
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

Well I used Adobe PhotoShop to do mine and that worked fine for me. When it comes to graphics, I don't use anything else other than PS, so that's all I can recommend. You might find this link useful:
http://www.zen-cart.com/wiki/index.php/Useful_Tools

You can use a jpeg if you like. All you need to do is go to your stylesheet and change the file extension for tile_back from gif to jpeg.

About the border, in your stylesheet, you have this..

.leftBoxContainer, .rightBoxContainer {
	margin: 0em;
	border: 1px solid #9a9a9a;
	border-bottom: 5px solid #336633;
	margin-top: 1.5em;
	}


Change the text in red to whatever you prefer.
11 May 2008, 21:18
#15
hcd888 avatar

hcd888

Zen Follower

Join Date:
May 2008
Posts:
348
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

Thanks for the advice photo shops given me a much smoother look then paint. :D

If you look at mysite at http://shulab.co.uk/zencart/index.php?main_page=
where my top banner on the left, theres a cross there indicating the missing logo. been trying to get rid of it all day, managed to get rid of the text but no joy wit the logo. :no:

On top of my banner ive also tried turning the bar grey to black but i cant seem to find it. :frusty:

I managed to change the list under catagories to black, but i've also tried changing the list of text under information and the rest of blue text to blue, but cant seem to find it on the stylesheet

Thanks again for letting me pick your brain ::bigups:
11 May 2008, 21:48
#16
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

To remove that logo, try adding the following to the bottom of your stylesheet:

#logo {display: none;}


To change that grey bar, find the following in your stylesheet:

#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {

	margin: 0em;

	background-color: #abbbd3;

	background-image: url(../images/tile_back.gif);

	padding: 0.5em 0.2em;

	font-weight: bold;

	color: #ffffff;

	height: 1%;

	}


Change the text in red to whatever you prefer.
#000000 for black.

I'm not sure about the links. I'll have a look into it.
11 May 2008, 21:54
#17
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

For the links, try changing this:
a:active {

color: #0000FF;

}
11 May 2008, 22:16
#18
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

Also, when it comes to CSS, I recommend using FireFox with the Web Developer add-on installed. All you have to do is point your cursor at a part of a website and it tells you exactly what code in the stylesheet controls it. Very useful.
11 May 2008, 23:35
#19
hcd888 avatar

hcd888

Zen Follower

Join Date:
May 2008
Posts:
348
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

To remove the logo i had to go to:

includes/templates/template_default/common/ tpl_header.php find and comment out this line of code by adding “<!--” at the beginning, “-->” at the end and “//” between the words php and echo.

Tried your suggestions on the grey bar, and blue text. It doesnt seem to work :frusty: any other ideas?
11 May 2008, 23:37
#20
hcd888 avatar

hcd888

Zen Follower

Join Date:
May 2008
Posts:
348
Plugin Contributions:
0

Re: Simple Question err How you add content to your Pages?

I'll try firefox sounds really useful. If i use it will i still be able to use Internet explorer?