[TYPO3] tt_products: How to set PIDitemDisplay to current page?
Martin Rud
typo3 at explizit.dk
Thu Apr 6 22:17:58 CEST 2006
Hi Jacob,
What about
plugin.tt_products.PIDitemDisplay = 0
or an empty value:
plugin.tt_products.PIDitemDisplay =
Regards, Martin
Jacob Bro Olesen wrote:
> Hi Martin,
>
> Thanks for answering.
>
> I tried emptying the PIDitemDisplay value as you suggest, but the
> result was the resulting link is this: <a
> href="http://{$plugin.tt_products.PIDitemDisplay}">
>
> If not set, plugin.tt_products.PIDitemDisplay deaults to the PID of
> the closest page upwards in the page tree.
>
> It would be ideal if I could just set the PIDitemDisplay to the
> current page. If this is not possible could i then do a workaround
> with som php code changing the value depending on what page is calling
> the template?
>
> Regards // Jacob
>
>
> On 4/6/06, Martin Rud <typo3 at explizit.dk> wrote:
>
>> Hi Jacob,
>>
>> What you are looking for actually _is_ the default setting (at least in
>> my shop...). So I guess that somewhere in your setup you have some TS
>> like this:
>>
>> plugin.tt_products.PIDitemDisplay = xxx
>>
>> which forces the items to be shown there.
>>
>> If you can´t find that code, then try to put this _in the very end_ of
>> your setup:
>>
>> plugin.tt_products.PIDitemDisplay >
>>
>> This "empties" the value.
>>
>> Regards, Martin
>>
>>
>>
>> Jacob Bro Olesen wrote:
>>
>>> Hi,
>>>
>>> I am new to typo3 so bear with me if my question seems silly:
>>>
>>> Is it possible to set the PIDitemDisplay to the current page?
>>>
>>> My setup:
>>> I am configuring a small e-commerce site with the Shop extension
>>> tt_products (2.4.9) and Typo3 3.8.1.
>>>
>>> I don't use categories, but I have different pages displaying
>>> different product lists all using the same template.
>>>
>>> Now this works fine with list views. But Single product views defaults
>>> to a fixed PID ($row["pid"] i guess) that goes in the product url
>>> (###LINK_ITEM###).
>>>
>>> I know I can configure this PID with the PIDitemDisplay option. But I
>>> would really like the single products to be shown on the current
>>> page(es) of the list(s) instead of one generic page, since that would
>>> prevent my menu position from changing in single display.
>>>
>>> Does this make sense? I hope someone can give me a hint it will be
>>> greatly appreciated.
>>>
>>> best regards - Jacob
>>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>
>
>
> --
> Jacob Bro Olesen | <jacob at bro-olesen.dk> | Mob: +45 4087 1516 | Tel:
> +45 8830 9054
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
-------------- next part --------------
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.5/302 - Release Date: 05-04-2006
More information about the TYPO3-english
mailing list