-
Posts
440 -
Joined
-
Last visited
-
Days Won
2
Everything posted by zoeck
-
Repeater/table fields with pre-defined default fields
zoeck replied to a-ok's topic in General Support
I think i have similar problem... Theres a standard list with items: User1 / Description1 User2 / Descriptopn2 ... Looks like a nice application for a repeater but normally, i have ~18 Users and i just want to add a new description on a new page: - Create a new page with the "userplan" template - Repeater ("employeerepeater") with fields "username", "description" - automatically create 5 repeater items with pre filled "username" fields, description fields are empty Is it possible with repeaters? -
Processwire isn't a "one click ready cms"... and i think when somebody understands the template system etc. - then it shouldnt be a problem to add a locale to a php file (or the config file - when it's not a multi language system) i think the first part for you, is to learn the php basics - if you know them, its easier to work with processwire... and after 1-2 tutorials (in english ) - you know how to use processwire (okay, the basics ) There are some very important pages: http://processwire.com/api/ref/ http://cheatsheet.processwire.com/ http://processwire.com/api/
-
You can have a look at this tutorial (in german), it shows the pw basics: https://code.tutsplus.com/de/articles/4-reasons-to-choose-processwire-as-your-next-cms--cms-25062 ( Grüße aus Oberfranken )
-
Now on 323
-
Okay thats really nice thanks greetings from Bamberg
-
At this Time, im creating our new Intranet Site ans im Looking for a LDAP/AD Integration... is there‘s a Module for that or is it a „internal Module“ just for your Intranet ? (oh, this thread is from 2015 )
-
Page Reference: Customer -> Location - Selection in template
zoeck replied to zoeck's topic in General Support
works like a charm, thank you -
Page Reference: Customer -> Location - Selection in template
zoeck posted a topic in General Support
Hello, i have one question. I created some templates to manage customers: - customerlist (Parent) -- customer (Child of customerlist)) --- customerlocation (Child of customer) This is working without problems, i can create multiple locations for the customers and also multple custumers... But now i have another Template "projects": - first i have to choose the customer, - then the location (there should be only the locations of the customer) But how can i create this? I know, theres a module for this: But i think this is too much to select the customer location (i just need it for this single field ) I hope somebody can help me Best Regards zoeck -
Linking directly between templates and field edit screens from pages
zoeck replied to Vigilante's topic in Wishlist & Roadmap
Its not exactly what you are looking for, but do you know the „Tracy Debugger“ Module from adrian? with this Module you can See all fields with names on the page (And many many other things) i think its a must have for processwire developers -
And if you have no user for this website, just use bugmenot http://bugmenot.com/view/packtpub.com
- 5 replies
-
- php design patterns
- design patterns
-
(and 3 more)
Tagged with:
-
That's another report from 2015
-
Because it's a very very nice system First time i heard about processwire was in a german print magazine... (Summer 2017 ) "c't special Webdesign": https://shop.heise.de/katalog/c-t-special-webdesign
-
You don't want to do this. You are overwriting $page which is a native ProcessWire variable. Same goes for $pages, $template, etc. You want to use different variable names (in general) I think this is not good when you use the $page Variable here... But why you dont use "$mypage" for example? you only have to use "$mypage" instead of "$page" inside of your Template...
-
i think you are looking for this: if( $page->id == 1 ) { $yourpage = $pages->get("id=".$sanitizer->int($page->pageselect->id)); echo $yourpage->title; } It's a bad idea to replace/overwrite the existing "$page" variable like in your code! Info: $sanitizer->int This is only for security reasons i'm not sure if we need it here... but it works https://processwire.com/api/variables/sanitizer/
-
Is the "page2use4homepage" field a repeater field? can you show us a screenshot of the repeater configuration (and template config)? That doesn't make sense, because a repeater has "no values", only the fields inside of the repeater
-
When you check it with "isit.pw", it says its not pw: http://isit.pw/?url=http%3A%2F%2Fwp10757029.server-he.de%2Fkonfigurator%2Fpublic%2Findex.php%2Fkonfigurator%2Fkonfiguration
-
Hehe sure but i think it‘s good for Processwire but the 5th Place was already before my post here...
-
And here are the official results ~4,7% for Processwire (33,9% of the „Other“ results) 4th Place https://www.drweb.de/diese-cms-nutzen-leserinnen-dr-web-magazins-alltag/ (German)
-
Theres a conflict Its to separate different values of the selector... https://processwire.com/api/selectors/#values
-
Getting tab label in different languages on frontend fails
zoeck replied to Juergen's topic in API & Templates
Okay, same problem here with the FieldsetTabOpen Field... I just checked it with the default "content" tab of the template... /edit: okay, now i get the Label $tablabel = $page->fields->tab1->getLabel($user->language->id); -
Getting tab label in different languages on frontend fails
zoeck replied to Juergen's topic in API & Templates
Oh, okay When i use "$user->language->id" inside of the "getTabLabel", theres an error (tracy )... You can use it without "->id": $tablabel = $page->template->getTabLabel('tab1', $user->language); i checked it, and it works -
Getting tab label in different languages on frontend fails
zoeck replied to Juergen's topic in API & Templates
i think theres a missing comma $tablabel = $page->template->getTabLabel('tab1', $user->language->id); -
Posting to a php folder without creating a page
zoeck replied to nickngqs's topic in General Support
Why not post to the page that contains the form? Then just check if the user posted the form, and send the data to the database... -
To add 3 url-link field to same template
zoeck replied to franciccio-ITALIANO's topic in Getting Started
Install the "Repeater" Module Create a new Field: Type - Repeater Change "Repeater item visibility in editor" to "Items always open" In this Field, Add one field (your url field) in the details tab and change the value of "minimum/maximum number of items" to 3 Add the repeater field to your template Now you have 3 identical fields in one template... this is the "free" version without the ProFields Module -
To add 3 url-link field to same template
zoeck replied to franciccio-ITALIANO's topic in Getting Started
Oh, i checked it, and it's also possible to set the repeater to "min. and max. 3 Values"... then it looks like this: And the config: