Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / edit php file of header

edit php file of header

Locked

Views: 1,294

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
6 Jun 2009, 7:56 PM
#1
madli avatar

madli

New Zenner

Join Date:
May 2009
Posts:
38
Plugin Contributions:
0

edit php file of header

I know what to change in for example tpl - header.php, but I still don't understand, what do I need for write into php file.Sorry, I am unexperienced fool.

I understand, it has to be special editor.Is it some php editor, where I can open this file e.i. tpl-header.php and then write what is important for me, such as sale name etc?

And what is good software for doing this?If you can recommend me any name.Thank you.

6 Jun 2009, 8:43 PM
#2
donal avatar

donal

Zen Follower

Join Date:
Jan 2009
Location:
Ireland
Posts:
442
Plugin Contributions:
0

Re: edit php file of header

you don't need a special software to edit a php file.(as long as you know what to edit):smile: just use a basic text editor like notepad or my fav wordpad:)

11 Jun 2009, 11:24 PM
#3
madli avatar

madli

New Zenner

Join Date:
May 2009
Posts:
38
Plugin Contributions:
0

Re: edit php file of header

thanks, I thought, if special software for editing PHP or text editor such as Word.But what do I still don't understand how to edit in Word, when you are not able to copy, deleted, rewrite nothing in the text of PHP file.
Funny this with header.php
added defines for header alt and text
define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
define('HEADER_SALES_TEXT', 'TagLine Here');
define('HEADER_LOGO_WIDTH', '192px');
define('HEADER_LOGO_HEIGHT', '64px');
define('HEADER_LOGO_IMAGE', 'logo.gif');
I want to add my logo and I understag how to create and upload image for Header and upload to directory and rename the logo.gif.

But I am probably quite long distance from wisdom how to make chaanges and write text into PHP files, when I cannot write in.
I can only copy the text into Word and write here for example tag line like my motto.Than do I have somehow to upload the file from Word to the FTP account and it will be new php file?or how to cooperate between Word and php file,when I cannot write in php file,:oops:

12 Jun 2009, 2:43 AM
#4
fabian10571 avatar

fabian10571

New Zenner

Join Date:
May 2009
Posts:
6
Plugin Contributions:
0

Re: edit php file of header

Read the FAQ and the tutorials first to get a little understanding of ZenCart .

Download a good text-editor like mentioned in the installation guide from the FAQ/tutorials : Notepad++ (google it ) .

Edit php-file by right-click on it and open with Notepad++ .
And edit the file in a right way .