Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jan 2008
    Location
    China
    Posts
    144
    Plugin Contributions
    0

    Default I have installed v1.3.8. How can I get rid of the huge log of zen?

    I am looking at the index.php, however, I don't know which one to delete. I definitely would keep the "powered by zen cart". However, I need more space for my stuff and I hope that you can understand me and help me.

    PHP Code:
    /**

     * now read "includes/templates/TEMPLATE/jscript/on_load/on_load_*.js", which would be site-wide settings

     */

      $directory_array=array();

      $tpl_dir=$template->get_template_dir('.js', DIR_WS_TEMPLATE, 'jscript/on_load', 'jscript/on_load_');

      $directory_array = $template->get_template_part($tpl_dir ,'/^on_load_/', '.js');

      foreach ($directory_array as $value) { 

        $onload_file = $tpl_dir . '/' . $value;

        $read_contents='';

        $lines = @file($onload_file);

        foreach($lines as $line) {

          $read_contents .= $line;

        }

        $za_onload_array[] = $read_contents;

      }



      // set $zc_first_field for backwards compatibility with previous version usage of this var

      if (isset($zc_first_field) && $zc_first_field !='') $za_onload_array[] = $zc_first_field;



      $zv_onload = "";

      if (isset($za_onload_array) && count($za_onload_array)>0) $zv_onload=implode(';',$za_onload_array);



      //ensure we have just one ';' between each, and at the end

      $zv_onload = str_replace(';;',';',$zv_onload.';');



      // ensure that a blank list is truly blank and thus ignored.

      if (trim($zv_onload) == ';') $zv_onload='';

    /**

     * Define the template that will govern the overall page layout, can be done on a page by page basis

     * or using a default template. The default template installed will be a standard 3 column layout. This

     * template also loads the page body code based on the variable $body_code.

     */

      require($template->get_template_dir('tpl_main_page.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_main_page.php');

    ?>

    </html>

    <?php

    /**

     * Load general code run before page closes

     */

    ?>

    <?php require(DIR_WS_INCLUDES 'application_bottom.php'); ?>

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

    Default Re: I have installed v1.3.8. How can I get rid of the huge log of zen?

    Have you created your own template?

    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/meta_tags.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


    Anywhere 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, the /template_default/ folder or the parent folder.

    Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying information so you'll recognize it in the admin under tools->template selection.
    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. #3
    Join Date
    Jan 2008
    Location
    China
    Posts
    144
    Plugin Contributions
    0

    Default Re: I have installed v1.3.8. How can I get rid of the huge log of zen?

    How can I create my own template? I am a totally newbie in this field. It would be nice if there are some free simple ones for me to download to get started...

    I don't have dreamweaver/frontpage installed in my machine right now...

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

    Default Re: I have installed v1.3.8. How can I get rid of the huge log of zen?

    There are free templates available in the downloads section of this site. There's a link at the top of the page. You can see them in action at http://(sorry, site offline)/.

    You don't need dreamweaver or frontpage to create a template. You need a copy of Zen Cart unzipped on your local computer, a good text editor like NotePad++ or Crimson Editor and an FTP client like SmartFTP or Filezilla. You can use the list I posted as a guide.
    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

  5. #5
    Join Date
    Jan 2008
    Location
    China
    Posts
    144
    Plugin Contributions
    0

    Default Re: I have installed v1.3.8. How can I get rid of the huge log of zen?

    Thanks a lot for your message. I have checked out a few of them. However, they still got the big zen log in the bottom. How can I get rid of that?

  6. #6
    Join Date
    Dec 2005
    Location
    SWFL
    Posts
    469
    Plugin Contributions
    0

    Default Re: I have installed v1.3.8. How can I get rid of the huge log of zen?

    If you're referring to the copyright message, it's:

    https://www.zen-cart.com/tutorials/index.php?article=42

    I also suggest you stop what you're doing and start from the beginning reading the FAQ page before you do something you shouldn't do to your cart and have to start over.

    https://www.zen-cart.com/tutorials/index.php

    If you're not referring to copyright, but one of the banners, then by going through the FAQs that will help you too.

    OR, you can buy the e-Start book (links all over the ZC forum for it) because it will walk you through the set-up process.
    Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!

  7. #7
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: I have installed v1.3.8. How can I get rid of the huge log of zen?

    That would be the banner at the bottom of the page which can be managed at admin>tools>banner manager in combination with admin>configuration>layout setting>Banner Display Groups - Header Position 1
    Banner Display Groups - Header Position 2
    Banner Display Groups - Header Position 3
    Banner Display Groups - Footer Position 1
    Banner Display Groups - Footer Position 2
    Banner Display Groups - Footer Position 3
    Banner Display Groups - Side Box banner_box
    Banner Display Groups - Side Box banner_box2
    Banner Display Group - Side Box banner_box_all

    The "Log" of which you speak is footer position 3
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  8. #8
    Join Date
    Jan 2008
    Location
    China
    Posts
    144
    Plugin Contributions
    0

    Default Re: I have installed v1.3.8. How can I get rid of the huge log of zen?

    Thanks a lot for that!

    BTW, how can I get rid of the one in the head? I couldn't do that after disabled all those banners...

    Do I have to disable that from the code?

  9. #9
    Join Date
    Jan 2008
    Location
    China
    Posts
    144
    Plugin Contributions
    0

    Default Re: I have installed v1.3.8. How can I get rid of the huge log of zen?

    Please take a look at my site. It is in Chinese version right now.

    http://www.nanningsigma.com. You can see the zen cart logo is still there. I have been keeping that for days, I hope that I can remove that to spare spaces for stuff...

    Thanks a lot for your attention and understanding!

  10. #10
    Join Date
    Jan 2008
    Location
    China
    Posts
    144
    Plugin Contributions
    0

    Default Re: I have installed v1.3.8. How can I get rid of the huge log of zen?

    Thanks a lot for the reminder. And I am reading those articles to make the change.

    Quote Originally Posted by madmumbler View Post
    If you're referring to the copyright message, it's:

    https://www.zen-cart.com/tutorials/index.php?article=42

    I also suggest you stop what you're doing and start from the beginning reading the FAQ page before you do something you shouldn't do to your cart and have to start over.

    https://www.zen-cart.com/tutorials/index.php

    If you're not referring to copyright, but one of the banners, then by going through the FAQs that will help you too.

    OR, you can buy the e-Start book (links all over the ZC forum for it) because it will walk you through the set-up process.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to get rid of the Congratulations! You have successfully installed your Zen Cart?
    By lilguppy in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 30 Oct 2010, 02:19 AM
  2. I am trying to get rid of the congratulations you have successfully installed etc.
    By janfal in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 13 Dec 2009, 04:43 AM
  3. How can get rid of "Zen cart! the art of commerce"?
    By angler in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Mar 2009, 12:49 AM
  4. Don't understand how to get rid of zen ads have read faq's
    By robynannelise09 in forum General Questions
    Replies: 8
    Last Post: 4 Nov 2008, 05:56 PM
  5. How do get rid of the Powered by Zen-cart
    By sunzhoujian in forum General Questions
    Replies: 2
    Last Post: 3 Jun 2008, 12:01 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