-
Posts
343 -
Joined
-
Last visited
-
Days Won
10
Community Answers
-
WillyC's post in Search with AND and EXCLUDE (NOT) was marked as the answer
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
-
WillyC's post in stop domain.com/index.php from redirecting to domain.com? was marked as the answer
edit u. index.php file
+ add 2 top on.line afters namespace
$_SERVER['REQUEST_URI']=str_replace('index.php','',$_SERVER['REQUEST_URI']);
when.u no needs index.html no more rember to deletex that ok
-
WillyC's post in Flash messages stays (problem after update to 2.7) was marked as the answer
u cane do $session->removeNotices();
aftr u dipslay.notices
-
WillyC's post in Search for partial words in any position/order was marked as the answer
u uses title 2 time like.this
title%=red, title%=crap
If.u no want crap buts do.want reddish crapapples do this
title%=red, title%=crap, !title~=crap
-
WillyC's post in Moving to different server: SQLSTATE[28000] [1045] Access denied was marked as the answer
u.looks here
/site/config.php
see buttock
whare $config->dbUser
$config->dbPass
-
WillyC's post in pages->find("some_pagefield=$title") doesnt find pages with numeric-only titles? was marked as the answer
project_categories defalt referer to ID
mabe.u meandet
project_categories.title=123
or project_categories.name ?
-
WillyC's post in Can´t install LanguageSupport was marked as the answer
pag have status
feild have flags
$f = $fields->get( 'language_files' ); $f->flags = Field::flagSystemOverride; $f->flags = 0; $fields->delete($f); u see.all fun here https://github.com/ryancramerdesign/ProcessWire/blob/dev/wire/modules/LanguageSupport/LanguageSupportInstall.php#L158
maybe.u just copy+run uninstall func.above ?
---
if u do put in non classy func, $this with wire() will u replace
// ex. replaces this $field = $this->fields->get("language_files"); // w/this $field = wire()->fields->get("language_files"); -
WillyC's post in Hide publish button was marked as the answer
it work for willyc and.mom
if u add.page-publish perm
user need page-publish perm
.to edit alreadey publisheded page
user w/o page-publish only.create
or edit.unpublishedd pages
cd ..
-
WillyC's post in Pages - Sub-category options based on main category selection was marked as the answer
in 2.4 u do
https://processwire.com/talk/topic/4323-field-dependencies/?p=48910
-
WillyC's post in Field Page: use children() was marked as the answer
uses : custom seleactor to find selactable pages >>
``````
parent=page.id, sort=title
``````
or all ins tree below
``````
has_parent=page.id, sort=title
``````
-
WillyC's post in Get the template for FieldtypePage was marked as the answer
feldtypepage only.have tamplate if u.set ones in feild setting
but if u did
-
WillyC's post in Frequent Logout Issues was marked as the answer
whut. u have in /site/assets/logs/errors.txt ?
/site/config.php u set
$config->sessionFingerprint=false ?
what.say it for $config->sessionExpireSeconds ?
u have session.db module install or uses defalt sessionions ?
u look.in <?php phpinfo(); what say.it for
session.cache_expire session.gc_divisor session.gc_maxlifetime session.gc_probability session.save_handler session.referer_check u chealk session dir uses writeable /site/assets/sessions/ ? -
WillyC's post in Do I need the "title" field was marked as the answer
lookkk.in $config->advanced=true; u edit then.tamplate & options too lefsa title.optional