-
Posts
2,321 -
Joined
-
Last visited
-
Days Won
44
Everything posted by tpr
-
That bothered me too so I looked into the code and it seems the prefix is hardcoded, see MarkupPagerNav.module: if(!$pageNumUrlPrefix) $pageNumUrlPrefix = 'page';
- 1 reply
-
- page numbers
- pagination
-
(and 1 more)
Tagged with:
-
For example, set your links like this: kindheit/?order=1 kindheit/?order=2 and then set the order in your template file with $sanitizer->name($input->get->order)
-
You should put "==" here I guess: if ($seg2 = 1) elseif ($seg2 = 2) And what is your goal here? $input->post(urlSegment2 = 1)
-
Which fieldtype should i use for Bootstrap Lists?
tpr replied to GeraldSchmidt's topic in Getting Started
Perhaps an inline CKEditor with in a Repeater could also do the job. I see you have a mix of text and links in your list items. -
This complicates things a lot. Imagine that autocomplete fields, field dependencies, images etc would need to be taken into account.
-
Just tried a few similar jQuery plugin (including Freewall) to substitute the Uikit dynamic grid on a site but finally I went back to Uikit. It is very basic but easy to use.
-
I think it could be easily done with JavaScript (module). At least until the "body" field is the only target.
-
With great power comes great responsivity Perhaps the risk could be minified adding some kind of confirmation, or requiring a checkbox to overwrite existing content.
-
Indeed, thanks! I usually don't want to go shorter but this is an exception
-
Another way is {$page->fields->yourField->icon}
-
Lost Work -- Auto Log Out misery: help me understand what happened?
tpr replied to Metadope's topic in General Support
Though not a safe workaround but I usually hit ctrl+A followed by ctrl+C before hitting Submit. This of course works only for textareas, not multi-field forms. Here is a recommended topic for you: https://processwire.com/talk/topic/1818-ajax-save-google-docs-save/ -
Using "show this field only if", no values are stored!
tpr replied to horst's topic in General Support
Try using this instead of "fua_fe_item_antwort.name=fua-form-slider" fua_fe_item_antwort=1023 Seems to work here but don't ask me why (trial and error) -
Using "show this field only if", no values are stored!
tpr replied to horst's topic in General Support
Played with your siteprofile but I couldn't spot anything. I can confirm that the issue exists. If I remove the ShowOnlyIf condition then the min-max-step values are saved properly. Putting back ShowOnlyIf and re-saving the page doesn't remove previous min-max-step values, so it seems that saving the page completely ignores these fields. POST parameters contains all the values though. -
Image "Description" (alt tag) text only appearing when logged in
tpr replied to Christophe's topic in API & Templates
I thought it was multilanguage site (comment #6) but anyway, glad you sorted this out. -
Image "Description" (alt tag) text only appearing when logged in
tpr replied to Christophe's topic in API & Templates
Have you set the description field for all languages? What is the default language for Guest users? (Admin - Access - Users - Guest) -
Anyway, I liked it
-
Nice and happy! Same feelings here
-
Sounds like the field has a text formatter applied or the CKEditor configuration does not allow html tags. Check the "Details" and "Input" tabs of the field.
-
Thanks, it really did! Could have thought about the $fields variable myself This is a great way to add icons using the admin, without any additional stuff.
-
Is it possible to retrieve the icon of a field set in the admin? Eg. setting a "phone" icon to a "Phone" field in the admin, and then use this icon (name) in the templates?
-
Image "Description" (alt tag) text only appearing when logged in
tpr replied to Christophe's topic in API & Templates
Yep, false positive I guess it's something with the default language then. -
Image "Description" (alt tag) text only appearing when logged in
tpr replied to Christophe's topic in API & Templates
Perhaps you have php short tags disabled? Try using "<?php echo $logo->url; ?>" instead of "<?=$logo->url?>" (and everywhere else). -
According to this, FineUploader also supports client-side resizing: http://docs.fineuploader.com/branch/master/features/scaling.html I haven't tested this feature but I used Fine Uploader itself in the past and worked well. It can work without jQuery (vanilla JS) Browser compability:
-
Another guy in trouble with search pagination
tpr replied to heldercervantes's topic in General Support
I would try declaring $selector at the top ($selector = ""), plus playing with the "getVars" parameter of the renderPager (for $q). -
Another guy in trouble with search pagination
tpr replied to heldercervantes's topic in General Support
Have you tried getting the matches in one go? eg: $matches = $pages->find("template=page-ads" . $selector);