http://fooexperience.com/
This is a site i actually did last year, thought i would share my one and only processwire site.
Unfortunately im stuck using other tools at work where processwire would be a better fit!
basically i have an include that is in every page but a block in the include i don't want showing up in say 2 pages
if ($page->id !== 1001 || $page->id !== 1011){
echo"block";
}
Now this is not working for both but will for one. why? is my php syntax wrong?
oh yeah just one more thing is it possible to simply put .
!$page->page_name
page_name being the actual name of a page just like how i can point to the field name
Hi i am just trying to get to grips with processwire so i apologise for the newbie question.
Can i do this to prevent output from specified pages because its not working, i assume im doing it wrong.
if(!$page->id == 10){
echo "blah blah blah";
}