Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27
  1. #11
    Join Date
    Apr 2007
    Posts
    71
    Plugin Contributions
    0

    Default Re: Really really hard to customize - any easy hints?

    Quote Originally Posted by DrByte View Post
    If you don't mind pointing out which ones are wrong, we'll take a review of them to get them fixed.
    I think the root of the problem I am having is that I started with an article there that recommended creating a certain hierarchy. I'm sorry if I sound confused, but I was just looking around the tutorial/FAQ section trying to stumble across the same article again and now I can't find it.

    Maybe if you can point me to one solid verifiable starting point I can go from there.

    A related question is this though - even though I changed my "template" in tools to point to my custom folder the files being edited in the "page definitions" editor tool don't seem to be those in the custom folder.

    doug

  2. #12
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Really really hard to customize - any easy hints?

    Everyone starts out and . Once you get the hang of it you'll wonder why you thought it was so difficult and you'll feel and .

    To create a very basic custom template (you can build from there), you need:
    includes/languages/YOUR_TEMPLATE/english.php
    includes/languages/english/YOUR_TEMPLATE/index.php
    includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
    includes/templates/YOUR_TEMPLATE/template_info.php
    includes/templates/YOUR_TEMPLATE/common/tpl_header.php
    includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
    includes/templates/YOUR_TEMPLATE/images/logo.gif
    includes/templates/YOUR_TEMPLATE/css/stylesheet.css

    Any where you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder or the /template_default/ folder.

    I recommend unzipping a copy of the latest ZC on your hard drive for two reasons.

    1) You can see the folder/file structure which will make things clearer
    2) You can edit files locally and FTP them to your site making an instant "backup"of your online store

    ALWAYS use a good text editor like Notepad or Crimson Editor when working with ZC.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #13
    Join Date
    Dec 2005
    Posts
    1,059
    Plugin Contributions
    2

    Default Re: Really really hard to customize - any easy hints?

    Have you created a custom folder in includes/languages/english/html_includes/your_template_name,
    and copied the define_***.php pages from html_includes to it that you intend to
    customize/modify?

    If so, when you open them in admin/tools/define pages editor, it should
    say at the top above the edit box:
    Editing file: ..../includes/languages/english/html_includes/your_custom_template/define_***.php
    [FONT=Arial]Country Kitty Crafts[/FONT][FONT=Arial]
    [/FONT] [FONT=Garamond]
    [/FONT]

  4. #14
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Really really hard to customize - any easy hints?

    as for the define-pages issue, TShooters is right. I would add that you need to make the files in the custom folder writable (chmod 777) or else the editor will tell you they're read-only and have you confused ;)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #15
    Join Date
    Apr 2007
    Posts
    71
    Plugin Contributions
    0

    Default Re: Really really hard to customize - any easy hints?

    Quote Originally Posted by afo View Post
    Everyone starts out and . Once you get the hang of it you'll wonder why you thought it was so difficult and you'll feel and .

    To create a very basic custom template (you can build from there), you need:
    includes/languages/YOUR_TEMPLATE/english.php
    First, again, thanks everybody for your supportive notes. I greatly appreciate it.

    Stopping here at instruction one...

    I downloaded zen-cart to my computer and unzipped it so I can work there and upload, as suggested. Good idea.

    My first question is about this very first item. I named YOUR_TEMPLATE just "custom", so the first item you wrote says that I need

    includes/languages/custom/english.php

    In includes/languages/classic there is one file called "empty.txt". Do I need to copy that into my new "custom" folder?

    There is no english.php inside "classic". Should I copy english.pho from includes/languages.english.php to includes/languages/custom/english.php?

    These are the little "hanging threads" that I am getting confused about. I don't want to make any wrong assumptions here since I don't exactly know what I am doing. :)

    Thanks,

    doug

  6. #16
    Join Date
    Apr 2007
    Posts
    71
    Plugin Contributions
    0

    Default Re: Really really hard to customize - any easy hints?

    Quote Originally Posted by afo View Post
    Everyone starts out and . Once you get the hang of it you'll wonder why you thought it was so difficult and you'll feel and .

    To create a very basic custom template (you can build from there), you need:
    includes/languages/YOUR_TEMPLATE/english.php
    includes/languages/english/YOUR_TEMPLATE/index.php
    includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
    includes/templates/YOUR_TEMPLATE/template_info.php
    includes/templates/YOUR_TEMPLATE/common/tpl_header.php
    includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
    includes/templates/YOUR_TEMPLATE/images/logo.gif
    includes/templates/YOUR_TEMPLATE/css/stylesheet.css

    Any where you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder or the /template_default/ folder.

    I recommend unzipping a copy of the latest ZC on your hard drive for two reasons.

    1) You can see the folder/file structure which will make things clearer
    2) You can edit files locally and FTP them to your site making an instant "backup"of your online store

    ALWAYS use a good text editor like Notepad or Crimson Editor when working with ZC.
    Arg...

    I added those files and then made just one change to index.php to change logo.gif to logo.jpg (because that is what I uploaded to ... wherever... I can't keep track anymore.

    Anyway, now if I go to my site it says:


    Fatal error: Cannot redeclare class base in /home/doug/public_html/taonoyume/includes/classes/class.base.php on line 17

    doug


  7. #17
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Really really hard to customize - any easy hints?

    Yes, in the case of english.php, copy the one that's in /english/. There are a few others like that. The /classic/ folder does indicate where overrides are possible. If the file you want to modify isn't in the /classic/ folder, copy it from the next higher level.

    You should have uploaded your logo.jpg file to includes/templates/custom/images/.

    I'm not sure what's causing the error you're getting, but I've seen it mentioned on the forum before. Try searching for it.

    BTW, I made that list when I did a prototype cart for someone. That's all I changed to create http://www.pamperedwebsites.com/kstreet/.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  8. #18
    Join Date
    Mar 2007
    Posts
    46
    Plugin Contributions
    0

    Default Re: Really really hard to customize - any easy hints?

    where on earth can i change the browser level title for both the shopping cart and the admin area???

    cheers

  9. #19
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Really really hard to customize - any easy hints?

    Might look in the other post where you asked this:
    http://www.zen-cart.com/forum/showth...204#post354204
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #20
    Join Date
    Apr 2007
    Posts
    71
    Plugin Contributions
    0

    Default Re: Really really hard to customize - any easy hints?

    Quote Originally Posted by afo View Post
    Yes, in the case of english.php, copy the one that's in /english/. There are a few others like that. The /classic/ folder does indicate where overrides are possible. If the file you want to modify isn't in the /classic/ folder, copy it from the next higher level.

    You should have uploaded your logo.jpg file to includes/templates/custom/images/.

    I'm not sure what's causing the error you're getting, but I've seen it mentioned on the forum before. Try searching for it.

    BTW, I made that list when I did a prototype cart for someone. That's all I changed to create http://www.pamperedwebsites.com/kstreet/.
    Yes, that's where I uploaded logo.jpg to.

    From the error message, and not really knowing anything about PHP, but from my knowledge about other server-side scripting languages, I was suspecting that the problem was with a re-definition of a class in index.php.

    So I removed the copy of index.php that I copied from the top level and, based on your list, had added to includes/languages/english/custom - along with header.php and the error went away.

    So I think that line of your instructions should perhaps be removed.

    doug

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Really Easy Question
    By dandaman992 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 May 2008, 01:14 AM
  2. Need advice. pages are really, really ssllooowwww to load
    By psgbuilder in forum General Questions
    Replies: 3
    Last Post: 12 Jul 2007, 11:49 PM
  3. How hard is it really to update?
    By bjraines in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 8 Jan 2007, 03:54 AM
  4. PLEASE HELP really really stuck with shipping
    By wolf99 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 25 Oct 2006, 08:38 PM

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