Jump to content

louisstephens

Members
  • Posts

    516
  • Joined

  • Last visited

Community Answers

  1. louisstephens's post in Excluding Pages from bootstrap Menu was marked as the answer   
    I got it working! Thank you Robin so much for the help. Instead of using:
    includeFooter!=1 I used
    !includeFooter=1 and it appears to be working the correct way now. (idea from here)
  2. louisstephens's post in Change stylesheet based On URL was marked as the answer   
    Kongondo, I had a d'oh moment, but I appreciate the quick response. I really felt dumb there ha ha   . I realized I wasn't actually comparing it to anything so I changed it to:
    <?php $styleSwitcher = $pages->get('/url-one/'); $baseURL = $page->url; if($styleSwitcher == $baseURL){ echo "<link rel='stylesheet' href='{$config->urls->templates}css/one.css' />"; } else{ echo "<link rel='stylesheet' href='{$config->urls->templates}css/two.css' />"; } ?> And with that, problem solved. I actually think I understand the find/get for $pages a lot better as well (did a lot more reading).
×
×
  • Create New...