CPC900 Posted October 5, 2012 Report Posted October 5, 2012 I want to make the Notes: part of the schedule results, show up in red text......where/what would I add for that? I assume I can add it into the "schedule_results.tpl" but I am not getting it to show?! 1 Quote
dimitris Posted October 17, 2012 Report Posted October 17, 2012 inside schedules_briefing.tpl find: <?php # If it's empty, insert some blank lines if($schedule->notes == '') { echo '<br /> <br /> <br />'; } else { echo "{$schedule->notes}"; } ?> and replace it with: <p style="color:#E3170D;"> <?php # If it's empty, insert some blank lines if($schedule->notes == '') { echo '<br /> <br /> <br />'; } else { echo "{$schedule->notes}"; } ?> </p> 1 Quote
CPC900 Posted October 18, 2012 Author Report Posted October 18, 2012 Thanks. Now how would I squeeze the color into: <?php echo ($route->notes=='')?'':'<strong>Notes: </strong>'.html_entity_decode($route->notes).'<br />' ?> in my schedule_results.tpl? Thanks in advance Quote
CPC900 Posted October 20, 2012 Author Report Posted October 20, 2012 Oops, sorry. I tried the same thing, but it did not work. Tried it again and it did. So obviously I typoed something Thanks Dimitris for your help. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.