[TYPO3-commerce] Limit countries in pi3
Morten Olesen
mo at idefa.dk
Tue Aug 10 08:53:28 CEST 2010
Hi Michael,
Never heard of that hotlist before but going by the manual
http://typo3.org/extensions/repository/view/static_info_tables/current/info/class.tx_staticinfotables_div.php/
:
plugin.tx_staticinfotables_pi1{
itemsProcFunc_config{
#enable holist
prependHotlist=1
#sort the hotlist
hotlistSort=1
#Number of hotlist entries to show
hotlistLimit=10
#Display only the hot list ( default(0) is to show the host list first
in the dropdown, and then the rest of the results )
hotlistOnly=1
}
}
with the table tx_staticinfotables_hotlist somehow containing your hotlist
Hope it helps
/Morten Olesen
On 2010-08-09 13:57, Michael Janssen wrote:
> Hi,
>
> Morten Olesen schrieb:
>> Deleing from static_info_table is a bad idea since further updates
>> would repopulate the table.
> Yes, you are right. It's quick and dirty.
>
>> Luckily there is an easier way;
>> just replace {$idefaconstants.landeListe} with a comma separated
>> string of ISO3 country codes ( or define the/a similar constant ), and
>> default with the country you want to show as default.
>> You may need to repeat it for "delivery" aswell
> That's a nice way. But on my research i stumbled over the
> hotlist-Feature of the static_info_table. This can be a suitable way and
> no hassle with updates. And i can use the selection in every extension
> on the same installation.
> But i haven't found the right way to use it. There is no manual or such
> things.
>
> Is here somebody with a hint?
>
> Wishes,
>
> Michael
More information about the TYPO3-project-commerce
mailing list