Hi again,

Looks like I spoke too soon - it's not working. No matter what I do, it keeps 
showing the bottommost code (i.e. fileadmin/6...) only. Code as follows:

page.19 = TEMPLATE
page.19.template = FILE 
page.19.template.file = fileadmin/demo/demo.html       
page.19.workOnSubpart = DOCUMENT 

########### ON-AIR ############################
[hour = 6|7|8]
   page.19.subparts.X=COA_INT
   page.19.subparts.X {
      10 = IMAGE
      10.file.import {
         filelist = fileadmin/1/|jpg,png,gif|ext|r|1
      # end 10
      }
   # end subpart
   }
[hour = 9]
   page.19.subparts.X=COA_INT
   page.19.subparts.X {
      10 = IMAGE
      10.file.import {
         filelist = fileadmin/2/|jpg,png,gif|ext|r|1
      # end 10
      }
   # end subpart
   }
[hour = 10|11]
   page.19.subparts.X=COA_INT
   page.19.subparts.X {
      10 = IMAGE
      10.file.import {
         filelist = fileadmin/3/|jpg,png,gif|ext|r|1
      # end 10
      }
   # end subpart
   }
[hour = 12|13|14|15|16|17]
   page.19.subparts.X=COA_INT
   page.19.subparts.X {
      10 = IMAGE
      10.file.import {
         filelist = fileadmin/4/|jpg,png,gif|ext|r|1
      # end 10
      }
   # end subpart
   }
[hour = 18|19|20|21|22|23] 
   page.19.subparts.X=COA_INT
   page.19.subparts.X {
      10 = IMAGE
      10.file.import {
         filelist = fileadmin/5/|jpg,png,gif|ext|r|1
      # end 10
      }
   # end subpart
   }
[else]
   page.19.subparts.X=COA_INT
   page.19.subparts.X {
      10 = IMAGE
      10.file.import {
         filelist = fileadmin/6/|jpg,png,gif|ext|r|1
      # end 10
      }
   # end subpart
   }
[end]



Help!
-Scott.




________________________________
 From: Scotty C <[email protected]>
To: TYPO3 English <[email protected]> 
Sent: Tuesday, June 25, 2013 3:18:14 PM
Subject: Re: [TYPO3-english] Recurring Content Published by Time
 

Hey Rudy,

That's BRILLIANT! Thank you for tracking that down!

Now, just as fast as you found that for me, the client has a new request ... 
certain days are different than others. 

Luckily, after you got me pointed in the right direction, I found this gem - 
hopefully it helps others:
http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.1.0/view/4/1/


All the best,
-Scott.



________________________________
From: Rudy Gnodde <[email protected]>
To: [email protected] 
Sent: Tuesday, June 25, 2013 2:57:10 AM
Subject: Re: [TYPO3-english] Recurring Content Published by Time


Hello Scott,

Op 25-6-2013 10:33, Scotty C schreef:
> Hi everyone,
>
> I know that my subject line is a mouthful, but I've got a logic question for 
> you. I need to set some content to be published at a certain time - for 
> example, Content A gets published at 9:00AM, Content B at 12:00PM, etc. I 
> have already installed nf_date2datetime but the problem now is that I need 
> this publishing to happen on a recurring basis, i.e. Content A gets published 
> at 9:00AM *every day*, Content B at 12:00PM *every day*, etc. Also, when 
> Content A is visible, no other content is visible and so on for all other 
> content elements.
>
> I know I could do this with PHP and a cron job but I'd like to keep it inside 
> TYPO3 if possible.
>
> Can anybody please provide any insight (and thanks in advance!)?
> -Scott.
>

You should be able to do this with TypoScript conditions. I haven't 
tried this myself, but I have found an example (Example 4): 
http://www.typo3-addict.com/2009/11/typo3-how-to-use-typoscript-conditions/

Regards,

Rudy Gnodde
WIND Internet
http://www.windinternet.nl


_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to