Feature #18
set pidList with stdWrap from TS
| Status: | Closed | Start: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | General | |||
| Target version: | 2.0.0 |
Description
Hi Mario,
Thank you for the development of the calendar!
I need to set the page ID's for calendar records from a field in a
FlexibleContentElement
over TypoScript (possible by using the stdWrap() parameter "field")
To achieve this functionality in Cal I added the stdWrap() function to
tx_cal_controller.
It would be great if this feature get's included in Calendar.
regards,
Martin
...................................
class tx_cal_controller ~ Line 150
-----------------
$tx_cal_viewcontroller = t3lib_div ::
makeInstanceClassName('tx_cal_viewcontroller');
$this->viewObj = new $tx_cal_viewcontroller ($this->cObj);
// set pidList by Typoscript with stdWrap() - begin :
$pidList = $this->cObj->stdWrap($conf['pidList'],$conf['pidList.']);
if ($pidList == "") {
$pidList = $this->pi_getPidList($this->cObj->conf['pages'],
$this->cObj->confrecursive);
}
$this->cObj->conf['pidList'] = $pidList;
// set pidList by Typoscript with stdWrap() - end :
$unix_time = strtotime($this->cObj->conf['getdate']);
History
Updated by Franz Koch over 4 years ago
- Status changed from Assigned to Closed
- 2 set to fixed
Hey, just noticed that I have moderation rights for the bugtracker - thanks.
This one is finally fixed r1977.