[TYPO3-shop] tt_products 2.7.0 not displaying
Franz Holzinger
franz at ttproducts.de
Fri Jan 28 12:14:24 CET 2011
Le 13/01/2011 00:49, sean a écrit :
> Hi,
>
> I've been around in circles trying to find the problem, but can't see
> why I have no products displaying. I have created one test category and
> one test product, and am just trying to get basic products to display;
> no colours or articles, nothing fancy.
>
> I've tried .. well, lots of stuff.
>
> Hoping that someone can suggest where to continue looking to get this
> fixed.
>
> Although no products display, the header assigned in the plugin
> 'General' tab is shown, and viewing the plugin through the Typoscript
> Object Browser' on the store page I'm seeing what (I think) I ought to see.
>
> Before I write any more I'll paste in an error that I receive when
> accessing the page with the store plugin on it:
>
> Core: Error handler (FE): PHP Warning: Parameter 2 to
> tx_ttproducts_pi1_base::main() expected to be a reference, value given
> in
> /usr/local/www/TYPO3_4-4.svn/typo3/sysext/cms/tslib/class.tslib_content.php
> line 6731
Change file pi1/class.tx_ttproducts_pi1_base.php:
-
function main($content,&$conf) {
==>
+
function main($content,$conf) {
> For my setup I'm using typo3 4.4.6, tt_products 2.7.0
>
> I have a standard page with the plugin added and configured as
> 'Products: list', startingpoint points to the sysfolder that contains my
> product and category records. I'm unclear on the 'Required parameters'
> list, so I've tried that with both nothing and with items from the list.
>
> I have the current Table Library (table) and Static Methods for
> Extensions installed.
>
> Using a sample template, products_template.tmpl, and I've included 'Shop
> System Old Style' in the extension template on the store page.
>
> The product's 'In Stock (pcs)' field has a quantity of 10.
>
> Source from store page:
> <!-- CONTENT ELEMENT, uid:2/list [begin] -->
>
> <div id="c2" class="csc-default" >
> <!-- Header: [begin] -->
> <div class="csc-header csc-header-n2"><h1>store header</h1></div>
> <!-- Header: [end] -->
>
> <!-- Plugin inserted: [begin] -->
>
> <!-- Plugin inserted: [end] -->
> </div>
> <!-- CONTENT ELEMENT, uid:2/list [end] -->
>
> Any thoughts? And if I'm not missing something silly, any clues on
> debugging the problem?
>
There is no tt_products plugin output visible in the FE. So you did not
include the file 'tt_products CSS styled' under 'Static from Extensions'
in the template module.
- Franz
More information about the TYPO3-project-tt-products
mailing list