Jump to content

isellsoap

Members
  • Posts

    77
  • Joined

  • Last visited

Community Answers

  1. isellsoap's post in Search with merged PageArrays + pagination = not working was marked as the answer   
    Ha, I did it!
    Instead of 
    $pa = new PageArray(); $value = $pages->find( "title%=$q" ); $pa->import( $pages->find( "template=abc, …|…|…=$value" ) ); $pa->import( $pages->find( "template=abc, title%=$q" ) ); I wrote this
    $pa = $pages->find( "template=abc, bla1.title|bla2.title|bla3.title|…|title%=$q, limit=4" ); I don’t search for the page references but for the titles of the page references with ".title". Works like a charm. 
  2. isellsoap's post in Why does $page->rootParent identify current section? was marked as the answer   
    Hey, thanks for the welcome.
    Now I get it. $page->rootParent by itself outputs an ID and therefor you can check if a page is the current one. Rather trivial, but I really didn’t see it. Thanks.
×
×
  • Create New...