Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default View Page Source

    When I open , the VIEW PAGE SOURCE of my website I notice that the following links are taking from the TEMPLATES_DEFAULT/CSS folder INSTEAD of my INCLUDES/TEMPLATES/CUSTOM/CSS/STYLESHEETS.CSS folder.
    I have modified my stylesheets.css and uploaded the changes but there won't come up on the website when I refresh it. What could be the reasons? My template is active in ADMIN/TOOLS.

    Do I need to change the name of the stylesheets.css file?

    <link rel="stylesheet" type="text/css" href="includes/templates/template_default/css/stylesheet.css" />
    <link rel="stylesheet" type="text/css" href="includes/templates/template_default/css/stylesheet_css_buttons.css" />

    <link rel="stylesheet" type="text/css" media="print" href="includes/templates/template_default/css/print_stylesheet.css" />
    </head>

    <body id="indexHomeBody">

    <div id="mainWrapper">

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

    Default Re: View Page Source

    There's something wrong with the way you set up the override. If it's set up correctly, Zen Cart should select the files associated with it automatically. Anything it needs that's missing will be picked up from template_default. Double check that the name of your custom folder is the same everywhere.
    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
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default Re: View Page Source

    I checked the name of all my CUSTOM folders and all are the same. I followed the OVERRIDE SYSTEM SIMPLIED structure to create my CUSTOM folders..
    This is how my TEMPLATE_INFO.PHP reads:
    <?php
    /**
    * Template Information File
    *
    * @package templateSystem
    * @copyright Copyright 2003-2005 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: template_info.php 2306 2005-11-05 21:34:28Z wilt $
    */
    $template_name = 'AMNY';
    $template_version = 'Version 1.0';
    $template_author = 'Alison Montalvo';
    $template_description = 'This is my own template, created for my site at www.amnyperfumes.com';
    $template_screenshot = '';
    ?>

  4. #4
    Join Date
    Oct 2008
    Posts
    131
    Plugin Contributions
    0

    Default Re: View Page Source

    BY THE WAY, in my Admin - Tools - TEMPLATE SELECTION shows:
    Template name: AMNY
    Directory name: AMNY

    so, in theory the correct template is uploaded.

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

    Default Re: View Page Source

    Does your new template have its own css folder which
    contains its own stylesheets?

  6. #6
    Join Date
    Dec 2007
    Location
    Southern Maine
    Posts
    281
    Plugin Contributions
    0

    Default Re: View Page Source

    You wrote
    TEMPLATES_DEFAULT/CSS folder INSTEAD of my INCLUDES/TEMPLATES/CUSTOM/CSS/STYLESHEETS.CSS
    Is your css actually called stylesheetS.css or is it stylesheet.css? I believe it should be stylesheet. Check to be sure it is spelled correctly.

 

 

Similar Threads

  1. Too Much URL in (View Page Source)
    By crixus in forum Basic Configuration
    Replies: 15
    Last Post: 27 Dec 2013, 09:57 PM
  2. Block view Page Source
    By NWCE in forum General Questions
    Replies: 2
    Last Post: 17 Oct 2010, 07:08 PM
  3. Main Page (when view source)
    By rocketrod in forum Basic Configuration
    Replies: 7
    Last Post: 19 Sep 2006, 02:37 PM
  4. Main Page (view source)
    By rocketrod in forum General Questions
    Replies: 1
    Last Post: 19 Sep 2006, 01:48 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