Modify zencart template information

Source: Internet
Author: User

Dir_ws_catalog // zent cat Directory, which are defined in replicdes/configure. php.
Meta_tags.php // defines the meta information of the website. These are obtained from the database. Under des/modules/
Html_params // defined in the constant file of the template language.
$ Current_page_base in includes/init_inicludes/init_sanitize.php $ _ Get ['main _ page']
Manufacturers_id producer ID
Product_id product ID
$ Tmp_pagename index_home
Loading of modules/pages
Files loaded on the home page
Html_header.php
Tpl_index_default.php {indexdefamainmaincontent can be edited on the homepage}
Tpl_modules_featured_products.php-> tpl_columnar_display.php
Bannerone banners [Background bannner control]
Logo modification tpl_header.php page in the template's images/logo.gif
Id = "mainwrapper"
Common/tpl_header.php: The headers of all pages can be used for AD purposes.
Id = "headerwrapper"
Navcolumnonewrapper
Navezpagestop simple page connection
On the left, the SQL parameters under the templates/template/sideboxes/template are listed in categories. php.
1. Add a connection method on the top of the homepage.
Find zcen/tpl_header.php under the template folder.
Add
Connection
Enter the connection you want.
2. Replace the logo. This is not available in the background. It is defined in the package file.
Locate ages/english/zcen/header. php and find the constant modification of header_logo_image.
Alternatively, replace the logo.gif file/registrdes/templates/zcen/images/logo.gif in the template.
3. navigation bar (this background is designed)
Style adjustment # navezpagestop
Backend Parameter Adjustment: 0 1 2
Ezpage settings in the background
4. Modify the category name of the Home Page
Open/templates/ages/English. php
Find: Define ("box_heading_categories", "categories ")
Change to: Define ("box_heading_categories", "select you game ");
Master'
D: \ WEB \ zencart \ includes \ Templates \ classic \ CSS \ stylesheet.css
Entire page Organization
D: \ WEB \ zencart \ includes \ Templates \ template_default \ common \ tpl_main_page.php
Width of the left and right columns of the webpage Source code : Dynamically call width: ">,
You can change column width/in background-configuration-layout/
Column width-left boxes
Product category name categories changed: box_heading_categories,
"D: \ WEB \ zencart \ des \ ages \ English. php" (): define ('box _ heading_categories ', 'categories ');
Spooer name change: Define ('box _ heading_banner_box ', 'domainsors ')
Default template. The left Spooner corresponds to 'box _ heading_banner_box 'and the upper right spooer corresponds to 'box _ heading_banner_box_all'
The lower right spooer corresponds to box_heading_banner_box2
Processing on the left sidebar: only the supported des \ Templates \ template_default \ sideboxes \ tpl_categories.php files are retained. Add
Image Link
Processing of the right sidebar:
1. Set the background to retain who's onlie (sideboxes/whos_online.php ),
Find and replace the corresponding tpl_box_default_right.php
2. Add the content of the left column and change tpl_box_default_right.php:
Central modification:
\ Shortdes \ Templates \ template_default \ Templates \ tpl_index_default.php
Remove the top description:
Remove welcome information:
Remove the top navigation bar:
\ Shortdes \ Templates \ template_default \ common \ tpl_main_page.php
Trail (bread_crumbs_separator);?>
Modify the template top:
\ Zencart \ includes \ Templates \ template_default \ common

\ Tpl_header.php
Add Link
/**
* Prepares and displays header output
*
*/
If (customers_approval_authorization = 1 & customers_authorization_header_off = 'true' and ($ _ session ['mers MERs _ authorization']! = 0 or

$ _ Session ['customer _ id'] = ")){
$ Flag_disable_header = true;
}
Require ($ template-> get_template_dir ('tpl _ header. php', dir_ws _
Template, $ current_page_base, 'common'). '/tpl_header.php');?>
Slave
Pull out and put it in front of it for full screen navigation
Modify the search button on the top:
\ Shortdes \ Templates \ template_default \ common \ tpl_header.php:
Automatically generate navigation bar:
\ Shortdes \ Templates \ template_default \ Templates \
Tpl_modules_categories_tabs.php
Change it Code Empty and add the navigation code again:
/**
* Module template-categories_tabs
*
* Template stub used to display categories-Tabs output
*
* @ Package templatesystem
* @ Copyright Copyright 2003-2005 zencart Development Team
* @ Copyright portions Copyright 2003 oscommerce
* @ License http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @ Version $ ID: tpl_modules_categories_tabs.php 3395 21: 13: 00Z ajeh $
*/
Include (dir_ws_modules. zen_get_module_directory (filename_categories_tabs ));
?>
'1' & sizeof ($ links_list) >=1) {?>
Background:
\ Zencart \ includes \ Templates \ template_default \ common
\ Tpl_header.php
Modify the navigation bar at the bottom:
\ Shortdes \ Templates \ template_default \ common \ tpl_main_page.php

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.