Jump to content

WillyC

Members
  • Posts

    343
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by WillyC

  1. 1) You can set some fields that load only when you access them. that what.it do already .only autoload field.join w page 2) You can set "$config->dbCache = true" for caching the queries. that.what it do already two .you no need two set it 3) I think the search is the major problem concerning the memory consumption because by default the PW need to search in every field and so in every DB table. But i made a module that store all the keywords extracted from those fields in only one, doing so PW search in only ONE table without any JOIN. pw already have.this it called fieldtypecache
  2. it.does supports full duplex prism connection now ? or no ?
  3. WillyC

    Hanna Code

    needs to sholud have.type hintings, debuger and code.completion two
  4. $pages->get("template=accounts, created<=-1 day");
  5. /* not looka.so nice on pages name.setting tab i changes js.file from this */ var $langField = $(".Inputfield").has(".LanguageSupport"); /* to this. */ var $langField = $(".Inputfield:not(.InputfieldPageName)").has(".LanguageSupport"); uses daveleper.branch i do
  6. unique is page.feldtype most fieldtype tell what input.they use .not you
  7. what .is pw 1.9 ? seens version 1.9 never.have i 2.0 first ver no ?
  8. u need.to upgraded yer processwires ver 2.3
  9. WillyC

    .htaccess

    what.i use this is good it does.work top {not buttock}, of htaccess u will.put it . enjoy <IfModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 seconds" ExpiresByType image/x-icon "access plus 1 year" ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType text/css "access plus 1 month" ExpiresByType text/javascript "access plus 1 month" ExpiresByType application/octet-stream "access plus 1 month" ExpiresByType application/x-javascript "access plus 1 month" </IfModule> <IfModule mod_headers.c> <FilesMatch "\\.(ico|jpe?g|png|gif|swf|woff)$"> Header set Cache-Control "max-age=31536000, public" </FilesMatch> <FilesMatch "\\.(css)$"> Header set Cache-Control "max-age=2692000, public" </FilesMatch> <FilesMatch "\\.(js)$"> Header set Cache-Control "max-age=2692000, private" </FilesMatch> <FilesMatch "\.(js|css|xml|gz)$"> Header append Vary: Accept-Encoding </FilesMatch> Header unset ETag Header append Cache-Control "public" </IfModule> <IfModule mod_deflate.c> AddOutputFilter DEFLATE js css AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html </IfModule>
  10. hana.pirana gallery, u type : [[gallery tag=pirana]] ,,gallery,, hana code : $fotos=isset($tag)? $page->images->findTag($tag): $page->images; if(count($fotos)) { foreach($fotos as $foto) print "<img src=$foto->url>"; } else { print "<img src=/buttocks/fotos/bottolusk.jpg>"; } have.this right do i mr.ryan ? [[gallery float="right" summary="Colorful photo gallery of Piranhas in action" width="400"]] [[image id=789 caption="Adorable Piranhas flocking around my legs"]] [[image id=123 caption="Piranhas attacking my legs"]] [[image id=456 caption="What was left of my legs after the attack"]] [[/gallery]] mind.play.dkk u good ​
  11. u.need add slash after URL like /social/test/ no /social/test ! so it no 301 redirect convertng post to.get
  12. u try edit /index.php file comment.out this line ini_set("session.save_path", rtrim($config->paths->sessions, '/')); so like: // ini_set("session.save_path", rtrim($config->paths->sessions, '/')); fixed ?
  13. /site/config.php u set $config->prependTemplateFile = '_init.php'; editamos /site/templates/_init.php: <?php if($user->isGuest()) die('go away.now');
  14. by.per hour web developmant 14,692.50 jmd or $150 usd or 3.5 oz kb
  15. book ams.i writng also good for all in.deph and comperhansive.topkicks for.it begnner and.master pw user
  16. echo wireRelativeTimeStr($page->date_field);
  17. what.pass reset procedoure u use ? do it say.invalid logon ? or it say nothing ? u.have ftp axcess to seirver ?
  18. look in /site/modules/ you will. missing.a. feldtype or.inputfeld module u are
  19. mr.somo no.can i load image managers in modules managers ?
  20. massage and error for admin no ? use them like this u can two $pages->error('bad man'); $session->message('hi'); wire('pages')->error('bad bad.man'); wire('session')->message('hiho'); work.for any api vrable it does
  21. pargraph stripper.textformattster u set run after.markdown
  22. this another language.swatch work wit any num.languagees new localUrl func echo "<ul>"; foreach($languages as $language) { $class="$language"=="$user->language" ? "active" : ""; $url=$page->localUrl($language); echo "<li class=\"$class\"><a href=\"$url\">$language->title</a></li>"; } echo "</ul>"
  23. importnant say mom to step in nother mans shoes get purspectives so i make new avoters for you so u can shares purspectivos togther can u work for briter futurre brothers.you are now
×
×
  • Create New...