Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2008
    Location
    Rochester, NY
    Posts
    222
    Plugin Contributions
    0

    Default I would like to edit the HTML on my home page.

    The site on which I am currently working is www.plustoofashion.com. I am interested in modifying the home page content, but I am new to ZenCart and not sure how to go about doing this. In the main content page, I have a flash animation, and below it, a list of store items. Below this list, I'd like to add another element using HTML - Just a simple image link.

    I see I can edit the HTML ABOVE the product listing by accessing a php include in the admin tool, but how do I add something below it?

    Thanks!

  2. #2
    Join Date
    Aug 2005
    Posts
    26,020
    Plugin Contributions
    9

    Default Re: I would like to edit the HTML on my home page.

    The same way you added what is there...

    admin > tools > define page editor > select from drop "main_page.php" > add you link/image
    Zen-Venom Get Bitten
    Get Your Business Found

  3. #3
    Join Date
    Oct 2008
    Location
    Rochester, NY
    Posts
    222
    Plugin Contributions
    0

    Default Re: I would like to edit the HTML on my home page.

    Hmm... I can't do it here. The last developer put the flash animation on this page. That shows. Adding to this page would stick the object between the flash and the products. I would like to place this item below the products.

    Any other ideas?

  4. #4
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,860
    Plugin Contributions
    2

    Default Re: I would like to edit the HTML on my home page.

    Quote Originally Posted by bparker View Post
    Hmm... I can't do it here. The last developer put the flash animation on this page. That shows. Adding to this page would stick the object between the flash and the products. I would like to place this item below the products.

    Any other ideas?
    Try previous thread at
    http://www.zen-cart.com/forum/showth...ht=move+center
    Dezina ZenCart Templates
    Please do not PM for support queries..Post in forums..help others

  5. #5
    Join Date
    Oct 2008
    Location
    Rochester, NY
    Posts
    222
    Plugin Contributions
    0

    Default Re: I would like to edit the HTML on my home page.

    Hmm... not quite. And if I did that, wouldn't that move all my content underneath the products?

    How did the products get there in the first place? Maybe I can add something underneath that.

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,970
    Plugin Contributions
    25

    Default Re: I would like to edit the HTML on my home page.

    You can add more text below the centerbox by using the code in /includes/templates/your_template/templates/tpl_index_default.php. Move this from line 28 to nearly the end of the file:
    PHP Code:
    <!-- deprecated - to use uncomment this section
    <?php if (TEXT_INFORMATION) { ?>
    <div id="" class="content"><?php echo TEXT_INFORMATION?></div>
    <?php ?>-->
    Move to just above the last </div>:
    PHP Code:
      $show_display_category->MoveNext();
    } // !EOF
    ?>
    <!-- moved from line 28 - for extra text-->
    <?php if (TEXT_INFORMATION) { ?>
    <div id="bottomInfo" class="content"><?php echo TEXT_INFORMATION?></div>
    <?php ?>
    </div>
    Then edit /includes/languages/english/your_template/index.php around line 21:
    PHP Code:
    define('TEXT_INFORMATION''Define your main Index page copy here.'); 

  7. #7
    Join Date
    Oct 2008
    Location
    Rochester, NY
    Posts
    222
    Plugin Contributions
    0

    Default Re: I would like to edit the HTML on my home page.

    Thanks! That works. Wow, how are we supposed to know all this stuff?

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,970
    Plugin Contributions
    25

    Default Re: I would like to edit the HTML on my home page.

    There are tutorials and FAQs for lots of things that are common requests. This is not a common one, but is an easy fix for someone who has studied the central template files.

 

 

Similar Threads

  1. How do I edit html of main page?
    By ejhernandez in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 29 Dec 2010, 12:38 AM
  2. Edit Home Page
    By Nanettedp in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 5 Dec 2007, 06:08 AM
  3. html on home page
    By godin5150 in forum General Questions
    Replies: 1
    Last Post: 29 Jul 2007, 08:05 AM
  4. Edit tpl_header on home page only?
    By Danielle in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 May 2006, 10:56 PM

Bookmarks

Posting Permissions

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