Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


WillyC last won the day on September 8 2020

WillyC had the most liked content!

Community Reputation

772 Excellent

About WillyC

  • Rank
    Sr. Member

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @MSP01 1.. pw cachis any.thing it load, so no.many how times u.cal $page->feld or $page->parent->smoga or $page->feld->bilpa --- it load feld or smoga or bilpa 1 time....... if autojoinin for.feld smoga or bilpa then it load it with th 1 queery that loader page 2) yes 1 sql to loader template=settings page and 1 sql to loader somesetting. ifs somesetting.feld is autojoinin then 1 sql for both. if u.cal eithers template=settings page agains or somesetting agains then alredy loadeded so no xtra sql unless u $pages->uncacheAll() whch clearys it all 3- may be. autojoinin can makes littel small faster but at cost of memry .use autojoinin only for.felds that u accessor on.evry load of $page. title good one to be.autojoinin ......most othrs not;;; body or images and most betters not autojoinin
  2. u.can do on anyee page template like .this if($config->ajax){ // u do.ajax $data=['status'=>'ok', 'massage'=>'hi whirld']; header('content-type: application/json'); echo json_encode($data); exit; }else{ // u.do html }
  3. super user.s required to create fielders y templatos purposefulness of super user this.is with out such purpose is not.super
  4. no argumentas needeed what.u wants is event->return wire()->addHookAfter('Page::render', function (HookEvent $event) { $page = $event->return; });
  5. $page->find()start from $page if $page != home { $page->find( 'parnet=/blog/' ) will.alwayse return NO things } so >>> u.must use $pages->find() noT $page->find() !! OAR u can.uses $pages->get('/blog/')->children( 'limit=3, include=all' ) if usesing $pages say shits bout array it mean yoU write-over it some where >>> u did a $pages = array some.where ! fix that.or u can uses wire( 'pages ')->find(' you.selectoro stuff here '); or functiones api pages()->find( 'selectros in this' ) amen
  6. wire( 'sanitizer')->entities( $u->title ) => $url . $u->id, wire( 'sanitizer')->entities( $u->request_type->title ), wire( 'sanitizer' )->entities( $dog_ref->title ) => $url . $dog_ref->id, wire( 'sanitizer' )->entities( $mailer->name ), ... "<a href=''>Schváliť</a>", // u NO.entitties on this.ones
  7. looks.ikes u w ant $table->setEncodeEntities(false);
  8. u want.to set for.use serveors timezine no client not big prolem if.u set wrong
  9. here.u go echo $pages("parent=/")->implode('<a href={url}>{title}</a> ');
  10. template=airport|city, title|body%=air u donut need.Airport bcoz u got %=air template=airport|city, title|body%=air, title%=USA 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
  11. sorte all.by price ? text=a|b, sort=price sorte.by text thens by price ? text=a|b, sort=text, sort=price
  12. it.not matter donut look.at tables just use.it ? work for me pw store utf8 like idn that need .only ascii
  13. thats.sound like hole diffrnt cms no ? WirePress why sholud pw main stream ? pw is seaworthy.vessel not canooe for stream
  14. 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
  • Create New...