Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Jeremy K
on
Hi all,

I have another question related to my Schedule.csv that I'm using in my theme. The schedule.csv links to a Ticker Widget and the Sub Widget template is for a row of each race week.


Schedule.csv is simple:


WEEK# TRACK SERIES CAR
1 <Track 1> <Series 1> <Car1>
2 <Track 2> <Series 2> <Car2>
3 <Track 3> <Series 3> <Car3>
...


What I would like to automate is having the row for the current week when displayed in the Ticker have a different background colour, driven by a value in the spreadsheet. So, I'd like to modify schedule.csv so it looks like:


WEEK# TRACK SERIES CAR CURRENT WEEK
1 <Track 1> <Series 1> <Car1>
2 <Track 2> <Series 2> <Car2> YES
3 <Track 3> <Series 3> <Car3>

And for the override background colour for the Sub Widget of the Ticker template to use the logic "if value of Current Week = 'Yes', then use Override background colour of #434343FF.

.. but I'm not a developer, so while I know the logic of what I want to build, I'm not fluent in scripting language to define it.

Any assistance greatly appreciated :)

Thanks!

-Jeremy