Jump to content

WillyC

Members
  • Posts

    343
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by WillyC

  1. Quote

     

    1) find all Airports (or cities) with the word Airport or air in the title OR in the body text of the pages, also find part of the words like fair or air-condition

     

    template=airport|city, title|body%=air

    u donut need.Airport bcoz u got %=air

    Quote

    2) Filter the results of 1) and find only pages with the word USA inside

    template=airport|city, title|body%=air, title%=USA

    Quote

    3) Filter the results of 2) and show only (exclude) the results with a word like nyc

    template=airport|city, title|body%=air, title%=USA, id!=[title%=nyc]

    or.in pw v3 u can do  
    template=airport|city, title|body%=air, title%=USA, title!%=nyc

  2. i dunno.twig butt i try answer neway

    for.theis port

    echo $twig->render('promocoes/index.twig.html',
            array(
                'promocoes' => $promocoes,
            ));
    where $promocoes comes.from ?
    can u.show code for thats ?
    try remove.this {% if promocoes %} and {% endif %}
    try removes "key," from {% for key, promocao in promocoes %}
     alsos look.u have unclose span tag
      <span> Nº {{promocao.getnumero}} </span <--need close!

    -=-=-edito-=-=-

    nm.

    > <!-- found.it

    • Like 2
  3. poblema priate squeegee the local system

    can u.better shloud poste code samplos ?

    when squegee local.systemos use no.outputs formoatting

    $page->of(false);

    u ca also checks ferst if value than.outputs

    if($page->description){

      print $page->description;}

    else{

      print "descriptions no";}

    with u uses.twig ? i dunno ifsos mabe uses outputs fomatting

    $page->of(true);

    can.check w 

    if($page->of()){/*has foratting*/}else{/*not.does have*/}

    ok ? or : no

  4. $sum=0;

    $start=0;

    $limit=1000;

    do{

      $mypages=wire('pages')->find("start=$start, limit=$limit, $myselector");

      print "processng pages.frm $start<BR>";

      foreach ($mypages as $mypage) $sum += $mypage->amount;

      wire('pages')->uncacheAll();

      $start+=$limit;

    }while($mypages->count());
    • Like 1
  5. out for this. Isn't there another way to upvote for processwire
    without spreading my private data around ?

    i alsos donut like.to spread my.privates a round

    withs tweetster u.can jus make throws away acct to uses.for this stuffs 

    butt fecesbook tweetster and friendsters

    blocked in.my cuntry butt i stil haves myspaces butt no work w produt hunter 

    butt at lest not blocked .i keep try to make work

    • Like 5
  6. I am little afraid of all the hidden meanings of that avatar...

    no.hidden meangins

    i speaks.yur name and.my mom say

    APE PIZZA ?   i says no.u gross .mom say

    APE PISA ?  i says.ok 

    mom say STILL WANTS PIZZA

    i says ok.i put in pizzas

    mom says I DONUT WANT TO SEE BALLS ON MYS PIZZA

    i says ok i cover.balls w pizza

    mom say I WANT SUM grASS W THA PIZZA

    i says ok.and put sum grass

    at avoter buttock

    mom says OK.i says ok

    • Like 3
×
×
  • Create New...