AShop V User's Guide Page 21

  • Download
  • Add to my manuals
  • Print
  • Page
    / 309
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 20
Installation & Setup 21
AShop Software © Copyright 2002 - 2010
?>
The name of each category is a link that should lead to a page that shows the products that belong to
the category, the $catalog parameter determines which page the links lead to.
To create a custom list of categories you can use the layout parameter to get the full category tree as
an unordered list:
<?php
// Show categories...
$layout = "2";
$catalog = "index.php";
include "includes/categories.inc.php";
?>
The default value of the layout parameter is "1", which gives you the standard categories list in a table.
Using mode "2" will, for example, let you create vertical or horizontal drop down lists, using CSS.
You can limit the listing to just one category and its subcategories by using the cattree parameter. It
must be set to the category ID of the top category, for example:
<?php
// Show categories...
$cattree = "1";
$catalog = "index.php";
include "includes/categories.inc.php";
?>
Which will show category 1 with all its subcategories.
You can also exclude certain categories from the listing by using the exclude parameter, set to a pipe
separated list of category IDs to exclude, for example:
<?php
// Show categories...
$exclude = "1|2";
$catalog = "index.php";
include "includes/categories.inc.php";
?>
Which will skip categories 1 and 2 from the list.
Language Selection Module
This module will display a drop down list of all available languages.
<?php
// Show language selection...
$redirect="index.php";
include "includes/language.inc.php";
?>
It only takes one parameter: redirect, which should be set to the page that will be shown after the
customer selects a language. If you skip this parameter or leave it blank, the redirect URL configured for
Page view 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 308 309

Comments to this Manuals

Vikijrd 04 Jan 2024 | 13:14:20

urenrjrjkvnm

Evakut 07 Jan 2024 | 16:14:48

Med

BryanBag 08 Apr 2024 | 00:32:20

Hello! Crazy discounts, hurry up! We are Drop Dead Studio and our goal is to help companies achieve impressive sales results through automated marketing. I. We sell fresh databases for GSA Search Engine Ranker. • The databases are updated monthly through 24/7 parsing and by connecting purchased databases from other sources. • You have the option to purchase a one-time fresh database or pay for a lifetime subscription for updates. ATTENTION! 40% discount only until 04/10/2024! When ap