Results 1 to 4 of 4
  1. #1
    Join Date
    May 2009
    Posts
    39
    Plugin Contributions
    0

    red flag 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.

  2. #2
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    431
    Plugin Contributions
    0

    Default 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) just use a basic text editor like notepad or my fav wordpad:)

  3. #3
    Join Date
    May 2009
    Posts
    39
    Plugin Contributions
    0

    red flag 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,

  4. #4
    Join Date
    May 2009
    Posts
    6
    Plugin Contributions
    0

    Default 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 .

 

 

Similar Threads

  1. Shipstation php file edit for super orders PO/purchase order value pass
    By jpietrowiak in forum Addon Shipping Modules
    Replies: 0
    Last Post: 5 Sep 2013, 02:34 AM
  2. v138a Cannot edit my tpl_footer.php file
    By KittieMD in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 21 Jan 2013, 10:24 PM
  3. What file to edit Header?
    By kloberemt in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 16 Feb 2011, 06:09 AM
  4. Shopping gone after edit of Shopping_cart.php file
    By pritchb in forum General Questions
    Replies: 4
    Last Post: 4 Jan 2010, 06:40 PM
  5. How do I edit english.php file?
    By Muddkids in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Feb 2009, 09:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg