[TYPO3-shop] [Typo3-shop] newItemDays

Franz Holzinger franz at fholzinger.com
Sun Feb 5 22:29:39 CET 2006


Hello Simon,
>>> I am using the new items list, but need to consider the starttime as
>>> a factor as well. I modified LISTNEWITEMS to that effect: $where = '
>>> AND ( starttime >= '.$temptime . ' OR tstamp >= '. $temptime . ')';
>>> Anyway, isn't this more logical than just making new items dependent
>>> on time stamp? I mean, could you modify the next release accordingly?
>>> just thought i'd pass this on...
>>> cheers & thanks for the good work
>>
>>
>> I do not think that someone wants to calculate the time from starttime
>> as well as from timestamp.
>>
>> So I propose to make this configurable via TypoScript to consider
>> either timestamp or starttime.
>>
> Just wondering, will you include this in your next update?
> Also: on further consideration I don't think you need to make it
> configurable via TS. The default should respect the timestamp *or* the
> starttime. The starttime is clear - if my product launches on xx.yy it's
> a new item on xx+1.yy, even if I entered it 3 months ago. Timestamp on
> the other hand is what you get if you enter a product w/o a starttime,
> so IMO I think the default should be an OR on both criteria...

so this seems to be really necessary then. I will change this to your
proposal.


Franz



More information about the TYPO3-project-tt-products mailing list