Jump to content

Recommended Posts

Posted

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?!

  • Like 1
  • 2 weeks later...
Posted

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>

  • Like 1
Posted

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 ;)

  • 10 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...