-
Posts
2,922 -
Joined
-
Last visited
-
Days Won
18
Everything posted by szabesz
-
Strange Browser Cache issue with Safari IOS
szabesz replied to FrancisChung's topic in General Support
Hm, PW have support for this only in Pagefile: https://processwire.com/api/ref/pagefile/ -> see: URL property I wonder why only for Pagefile. -
[SOLVED] Extremely slow to open / save one template type in admin
szabesz replied to prestoav's topic in General Support
Also, with @adrian's Tracy Debugger module, you can try this to identify possible modules causing the issues: https://processwire.com/blog/posts/introducing-tracy-debugger/#module-disabler-panel Also there is a tool which might help tracing down problematic hooks: Event Interceptor Panel -
Examples of large sites, particularly government, desperately needed
szabesz replied to Margie's topic in Getting Started
Probably the best person to ask BTW, should you manage to assemble a good list, please do not forget to post it here. -
Examples of large sites, particularly government, desperately needed
szabesz replied to Margie's topic in Getting Started
Hi @Margie We have a somewhat similar thread running, have you seen it? The first two usecases in my post are good ones I think. Also there is a category: https://processwire.com/about/sites/categories/government/ Ryan's "own" site is a good example regarding complexity, features and speed but of course it is "off topic" otherwise. -
I would also like to point out what @abdus also did in his example: I try to avoid expressions like these: <?php foreach($page->related_products as $matrix_item) {} foreach ($matrix_item->related_random->children('template=product, sort=random, limit=1') as $prod) {} instead: <?php $related_products = $page->related_products; foreach(related_products as $matrix_item) {} $random_children = $matrix_item->related_random->children('template=product, sort=random, limit=1'); foreach ($random_children as $prod) {} Often easier to read but most importantly one can inject bd($random_children) /Tracy/ or error_log(print_r($random_children,true)); into the code to debug the result sets. BTW, I also use the "style" @abdus presented. PHP is A templating engine itself and that is how a native PHP template looks.
-
File upload error - SQLSTATE[23000]: Integrity constraint violation
szabesz replied to Karl_T's topic in General Support
Hi, Isn't there a typo here? MySQL 5.0.11 is from about 2005. -
Hi, I do not think there are solid statistics to showcase but we have good blog posts you might use to pick the info you can use to persuade clients: https://processwire.com/blog/posts/building-canongate/ https://processwire.com/blog/posts/cms-critic-powered-by-processwire-again-case-study/ https://processwire.com/blog/posts/new-2.8-version-current-projects-and-pw-usage/ https://processwire.com/blog/posts/roadmap-2017/ etc... Also, you can find good case studies here: https://processwire.com/talk/forum/9-showcase/ https://processwire.com/talk/forum/16-case-studies/ https://weekly.pw/ (site of the week) Hope this helps.
-
Developer centric form processor
szabesz replied to Mike Rockett's topic in Module/Plugin Development
How about FormCrafter for ProcessWire? -
[SOLVED] Call to a member function pageName() on null
szabesz replied to ziudeso's topic in General Support
More than a year ago, with the last major Forum update because the current version does not support it anymore -
Echo the searched term with search results (solved)
szabesz replied to ryanC's topic in Getting Started
+1 If you happen to "echo" it with JavaScript (let's say you cannot use PHP to echo it into the search input box because that one has already been rendered) then you can do something like: <?php if ($q) : ?> <script type="text/javascript"> $('#my-search-query-input').val(htmlentities.decode('<?= $q ?>')); </script> <?php endif; ?> where htmlentities.decode is found in https://github.com/bb87/htmlentities $q must be already sanitized of course as @kongondo pointed out, my JS example is about turning htmlentities back into regular characters which does not happen when injecting $q using JS. -
[SOLVED] Extremely slow to open / save one template type in admin
szabesz replied to prestoav's topic in General Support
While the issue of opening an Edit page being very slow can be caused by repeaters, the save operation being very slow cannot. That leads me to suspect that this issue will not be solved by moving fields to an ajax loaded tab, correct me if I'm mistaken. Not free but if you really get stuck, this one can help: https://processwire.com/api/modules/profiler-pro/ especially since Ryan's person-to-person support comes with it as well: https://processwire.com/api/modules/profiler-pro/#here-to-help-you -
I guess there are other PageTable issues in the old repo as well but this one would be a great addition as well:
-
@ryan As far as I can understand PageTable will be updated next week in order to support pages export/import. While you are at it, can you please consider adding a second "Add new" button to top the PageTable? I did it with this JS hack: The actual issue is demonstrated here:
-
Great news, looks nice!
-
It is just a workaround, isn't it?
-
I guess it is normal. IDs "cannot be edited". They get deleted first and afterwards new record is created.
-
Thanks for the quick update! I didn't even had time to blink
-
According to the docs there should be no issue with it: "While we recommend letting the Options Fieldtype assign unique ID numbers for you, you may optionally assign your own. To do this, specify 123=title when adding a new option, where 123 is the ID number you wish to assign and title is the title text for your option." https://processwire.com/api/modules/select-options-fieldtype/#adding-new-options Also in the fieldtype_options table of database, option_id is int(10), so your numbers should work. Maybe a bug?
-
Maybe I did not have the exact same issue, sorry for being misleading. I could "uninstall" the module by clicking on the button in the admin, but after that I deleted the module files too and I got something very similar as explained by @houseofdeadleg. I just did not have time to investigate so I reverted to my backup.
-
Thanks for the quick update! However, I use PHP 5.6.31.
-
Once I tried to uninstall the module and I had the same result as you had. Luckily the module works so I reverted to database backup which I always perform before upgrades and I reinstalled the files. I am also interested in how to solve it even though currently I do not have to....
-
Hi @tpr Has this been reported yet? FileFieldTweaks icons cover the trash icon making it "impossible" (for a client...) to delete. Turning off the options temporarily fixed the delete issue, but the download icon is a good feature, we are missing it...
-
+1 I have products/product (-> parent/children in the tree) and separate categories/sub-categoies/.../category, tags/tag-group/tag, etc. parent/children in the tree and Page references + URLsegments to do the routing. Otherwise one faces the issues @OLSA is facing.
- 7 replies
-
- 1
-
- administration ux
- seo
-
(and 1 more)
Tagged with:
-
WordPress guys have already "invented" the idea of integrating a 3rd party plugin into the core of the next major release. If developers can nominate and vote for the next such plugin/module then it is a very effective way to boost the system with features most people need.