Jump to content


martind

Member Since 08 Sep 2011
Offline Last Active Mar 10 2013 04:02 PM
-----

Topics I've Started

if(!isset($page )) ?

11 October 2012 - 05:52 AM

why does an if statement like this not work as expected...
if($input->urlSegment2 OR !isset($page))
... i try to execute different php-code in my head.inc for direct page calls (if this ist the right term, www.domain.tld/entry/page-name/ where template "entry" uses the $page array) and such that make use of urlSegments with infos for $pages->find in a different template. What i`m doing wrong?

remove entry from pagesfield via api

08 October 2012 - 11:49 AM

hi,

can anyone give me a tip how to remove an entry from a multi-pages field via api?