Jump to content

BobbyG66

Members
  • Posts

    1
  • Joined

  • Last visited

BobbyG66's Achievements

Starter

Starter (1/6)

0

Reputation

  1. I came up with a workaround for this. Let me know your thoughts I have an event page set up with a body field to be used for info before the event. (Body_PRE_Event). In the admin pages I created another field (Body_PRE_Event_DEFAULT). I populated this with default text. I then created this php code to see if the event field was filled out, if not, it uses the default field. <?php if ($page->Body_PRE_Event){ echo "{$page->Body_PRE_Event}"; } else{ echo $pages->get("/site-content/event_page_defaults/")->Body_PRE_Event_DEFAULT; } ?> It seems to work well, only issue is that the default info does not appear when creating the event. Which is fine, as long as the editor knows default info will replace it. Thanks BG66
×
×
  • Create New...