.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ==================== EXT: Shop Categories ==================== :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed by: Holzinger Franz :Changed: 2011-02-02T19:20:55 :Classification: mbi_products_categories :Description: forAdmins,forBeginners :Keywords: tt_products, shop category :Author: Franz Holzinger :Email: franz@ttproducts.de :Info 4: :Language: en |img-1| |img-2| EXT: Shop Categories - mbi\_products\_categories .. _EXT-Shop-Categories: EXT: Shop Categories ==================== Extension Key: mbi\_products\_categories Language: en Keywords: tt\_products, shop category Copyright 2005-2010, Franz Holzinger, This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml The content of this document is related to TYPO3 \- a GNU/GPL CMS/Framework available from www.typo3.org .. _Table-of-Contents: Table of Contents ----------------- `EXT: Shop Categories 1 <#1.EXT:%20Shop%20Categories|outline>`_ **`Introduction 3 <#2.1.Introduction|outline>`_** `What does it do? 3 <#2.1.1.What%20does%20it%20do_|outline>`_ `Screenshots 3 <#2.1.2.Screenshots|outline>`_ **`Users manual 4 <#2.2.Users%20manual|outline>`_** `Limit to show only the categories from a page. 4 <#2.2.1.Limit%20to%2 0show%20only%20the%20categories%20from%20a%20page.|outline>`_ **`In the Extension Manager you must activate the checkbox “Use storage page id”: 4 <#2.2.1.0.1.In%20the%20Extension%20Manager%20you%2 0must%20activate%20the%20checkbox%20%E2%80%9CUse%20storage%20page%20id %E2%80%9D:|outline>`_** **`[useStoragePid] 4 <#[useStoragePid]|outline>`_** **`Set this, if you want to use the page ids set in the General Record Storage page of the page properties. 4 <#Set%20this,%20if%20you%20want %20to%20use%20the%20page%20ids%20set%20in%20the%20General%20Record%20S torage%20page%20of%20the%20page%20properties.|outline>`_** **`Then go to the folder where the products are and edit the page properties. Under the options you set “General Record Storage page” to the page where the categories are located. 4 <#2.2.1.0.2.Then%20go%20t o%20the%20folder%20where%20the%20products%20are%20and%20edit%20the%20p age%20properties.%20Under%20the%20options%20you%20set%20%E2%80%9CGener al%20Record%20Storage%20page%E2%80%9D%20to%20the%20page%20where%20the% 20categories%20are%20located.|outline>`_** ` **4** <#2.2.1.0.4.%20|outline>`_ **`Adminstration 5 <#2.3.Adminstration|outline>`_** **`Configuration 6 <#2.4.Configuration|outline>`_** `FAQ 6 <#2.4.1.FAQ|outline>`_ `Reference 6 <#2.4.2.Reference|outline>`_ **`Known problems 7 <#2.5.Known%20problems|outline>`_** **`To-Do list 8 <#2.6.To-Do%20list|outline>`_** **`Changelog 9 <#2.7.Changelog|outline>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ This provides one hierarchical category for each product of tt\_products On `http://ttproducts.de `_ you can get a successor of this extension (sponsor fee), which allows you to assign many categories to each product. Then this product will be listed in product lists besides of a category list for each of the categories which you have assigned to the product. You choose the category in the category list, and then all products will be listed in the products list, if these products have the current category set. .. _Screenshots: Screenshots ^^^^^^^^^^^ .. _Users-manual: Users manual ------------ .. _Limit-to-show-only-the-categories-from-a-page: Limit to show only the categories from a page. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ In the Extension Manager you must activate the checkbox “Use storage page id”: [useStoragePid] Set this, if you want to use the page ids set in the General Record Storage page of the page properties. Then go to the folder where the products are and edit the page properties. Under the options you set“General Record Storage page” to the page where the categories are located. |img-3| .. _Adminstration: Adminstration ------------- You just have to install the extension to be able to have hierarchical category lists from tt\_products and to be able to enter hierarchical categories for each product in the TYPO3 backend. .. _Configuration: Configuration ------------- Example for usage of nsbcat2menu: :: lib.nsbcat2menu = HMENU lib.nsbcat2menu.special = userfunction lib.nsbcat2menu.special.userFunc = tx_nsbcat2menu_pi1->main lib.nsbcat2menu.special.catList=0 lib.nsbcat2menu.special.pidlist=246 lib.nsbcat2menu.special.catTable=tt_products_cat lib.nsbcat2menu.special.parentEntry=parent_category lib.nsbcat2menu.special.extTrigger= tt_products lib.nsbcat2menu.special.varCat=cat lib.nsbcat2menu.special.targetId = 213 lib.nsbcat2menu.special.recSel = 0 #Funktionalität im PHP ausgeschaltet lib.nsbcat2menu.1 = TMENU lib.nsbcat2menu.1 { noBlur = 1 expAll = 0 NO = 1 NO { ATagTitle.field = title ATagParams = id="main-menu" wrapItemAndSub =
  • |
  • |*|
  • |
  • |*|
  • |
  • } ACT < .NO ACT.ATagParams = id="main-menu{elementUid}" class="active" } lib.nsbcat2menu.2 = TMENU lib.nsbcat2menu.2 { wrap= noBlur = 1 expAll = 0 NO = 1 NO { ATagTitle.field = title ATagParams = id="main-menu" wrapItemAndSub =
  • |
  • |*|
  • |
  • |*|
  • |
  • } CUR < .NO CUR.ATagParams = id="main-menu{elementUid}" class="active" } lib.nsbcat2menu.3 = TMENU lib.nsbcat2menu.3 < lib.nsbcat2menu.2 lib.nsbcat2menu.4 = TMENU lib.nsbcat2menu.4 < lib.nsbcat2menu.2 .. _FAQ: FAQ ^^^ .. _Reference: Reference ^^^^^^^^^ .. _Known-problems: Known problems -------------- \- Make sure that tt\_products is installed before mbi\_products\_cate gories!typo3conf/localconf.php:$TYPO3\_CONF\_VARS['EXT']['extList'] = 'sr\_feuser\_register,div2007,patch1822,static\_info\_tables,table,pmk htmlcrop,,taxajax,ajaxgroupsearch,feuserloginsystem,nsb\_cat2menu,tspa rser,tt\_products,mbi\_products\_categories,cc\_debug'; .. _To-Do-list: To-Do list ---------- \- Allow a product to be inside of more than one category (see `http://ttproducts.de `_ ) . .. _Changelog: Changelog --------- - 9 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. |img-2| image:: img-2.png .. :border: 0 .. :height: 21 .. :hspace: 9 .. :id: Grafik2 .. :name: Grafik2 .. :width: 87 .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :height: 128 .. :id: images2 .. :name: images2 .. :width: 669