-
Posts
10,912 -
Joined
-
Last visited
-
Days Won
349
Everything posted by adrian
-
Glad it works for you now! PW should be adding a number to the end of the name to avoid conflicts. When you say this doesn't work for you, is it with all names, or only with names with cyrillic characters in them? BatchChildEditor uses a custom naming method if the Overwrite Names option is checked in the module config, but if adding or overwriting, it uses the built-in method. What happens if you use the Add option and create to child pages with the same title - does the number get appended to the second child's page name?
-
Github issue opened: https://github.com/ryancramerdesign/ProcessWire/issues/520
-
Hey Joss, Not sure, but I just tested here on 2.4.4 and it's working fine, so I don't think it is a general problem. What's your JS showing? Any errors there? EDIT: Probably not likely, but any chance this might be the issue: https://processwire.com/talk/topic/6017-image-drag-drop-not-working-for-me-24/?p=58914
-
Sorry Jonathan - I have played with some of these tools a bit in the past, but never really figured out which were best so I can't really offer any advice. I guess ideally I'd like to see options for lossless and lossy. It's strange I have always thought of PNG as a lossless format, but I know that things have changed on that front.
-
This theme requires PW 2.4 because of the new "theme as a module" system.
-
Hanna Code & Page numbers (possible bug)?
adrian replied to GuruMeditation's topic in General Support
Could be totally off here, but have you tried start=0 in the selector in your hanna code? -
Hey Wanze, Just a small thing Could you please have the chart color config setting also control the color of the bar graphs throughout the module, rather than just the jQPlot charts? Thanks.
-
Hi jacmaes, I have tracked down the issue. It is definitely a bug that should be reported to Ryan on Github. There are newly added checks for module permissions around line#457 of Modules.php (https://github.com/ryancramerdesign/ProcessWire/commit/2c0762d1f346a3f01171b4f65fa97242f17fd916#diff-995c5c9ce48d4bff459f52363c6e190eR457) The module that is blocking your access is actually ProcessPageSearch, which required page-edit permissions, which of course a guest user doesn't have. If you temporarily remove the permission check, or change the ProcessPageSearch permissions to page-view, it works again (obviously this is not the appropriate solution . Once that hack is in place though, there is one other new bug: {"errors":["Field 'it' is not allowed in queries"]} This can be fixed easily by adding this line to ServicePages.module inside the loop starting at line#174 foreach($k as $name) { if($name=="it") continue; //add this line Let us know if you want us to submit an issue of Github, or if you have taken care of it.
-
Wow horst - just WOW! Once again, thanks for the amazingly detailed testing and for making the results available for all of us to see in such a well formatted and documented way!
-
Hi Kae, Welcome to the forums! The default PW profile and the Zurb Foundation profiles that are available all come with a search box, search template, search page and associated search.php file. Have you tried using these? Or do you need something more customized? Well Kongondo just beat me to it
-
Hilarious
-
It's not that I don't like the hamburger menu icon, but these days I associate it with a mobile menu, rather than a sidebar toggle.
-
Thanks Nikola, Just playing around with this now - very nice It's great to have another 2.4 ready theme. I think it's time all the others listed in the modules directory get tagged as <=2.3 A few small things I have noticed. Scroll to top button closes the left sidebar I am not sure that the hamburger icon is the most obvious way of toggling that sidebar - maybe an arrow over at the top left of the page would be more obvious Your Pages menu item is not showing the new Tree and Find dropdown options (just made available in 2.4.4) With Lister (Page and User), there is an issue with the pagination buttons overlapping the selector string box With Kongondo's blog module the white text on the grey background doesn't work for the tabs very well. Not sure if this is something you should tweak, or he should tweak Thanks again for sharing! EDIT: Here is the change that is required to make the Pages dropdown work for 2.4.4: https://github.com/ryancramerdesign/ProcessWire/commit/0d6d11207e40bd605efc1f7e958c031845a05214#diff-543b5b46d33bea6194fe304104d022c6L208
-
Sporadic errors like this that can't be reproduced consistently suggest it is a problem with your host. It is certainly not an issue with PW or it would happen every time you clicked on the same link. Ask your host to investigate, and if they can't fix it, change hosts. Here are a couple of discussions about the exact same problem that others have had with hostinger: http://forum.youhosting.com/topic6929-client-website-automatically-redirecting-to-hostingerinerror404.html http://www.000webhost.com/forum/customer-assistance/32262-error-404-redirect.html A little reading around about hostinger in general suggests that they are super cheap and unfortunately you get what you pay for You don't need a premium service, but in general it is a good idea to avoid the bargain guys!
-
ok, clicking around things, I do randomly end up getting redirected to: http://www.hostinger.co.uk/? Is that what you mean by getting a 404? It seems completely random to me though - sometimes the page loads fine, and the next time it goes to that address. I think this might be a question for your host. This is not a real 404 error - it's a weird redirect that I am sure is because of a problem with hostinger. This generates a real 404 on your site: http://www.superguiabrasil.com.br/guia/dghjk
-
I can login and access the admin panel just fine - what exactly are we looking for?
-
A Forgot Password feature is available, but is not activated by default. I would recommend at this point installing a fresh copy of PW, but if you want it is possible to reset your password using one of these options: https://processwire.com/talk/topic/1736-forgot-backend-password-how-do-you-reset/?p=16133 https://processwire.com/talk/topic/490-how-to-reset-your-password-how-to-enable-the-forgot-password-function/
-
Those details don't seem to be right - I get a "Login Failed" But the main pages of your site seem to be working fine: eg: http://www.superguiabrasil.com.br/guia/templates/
-
Hey Jonathan, Thanks for this. I have just done some initial testing and it's working fine. I haven't yet done any comparisons with GD or Imagick to see if it is any better size/quality wise, but you sound convinced, so I am looking forward to analyzing more. One thing I did notice is that the ".jo" files will be left behind after deletion of the initially uploaded file. It is easy to extend Pageimage::isVariation to handle these. Horst did it with the PIM module and I did it with ImageRasterizer. EDIT - any thoughts in incorporating http://optipng.sourceforge.net/ (or similar) as well for PNGs?
-
Thanks again for this! Just a couple of quick things. I am getting this notice: Notice: Use of undefined constant ENT_HTML5 - assumed 'ENT_HTML5' in /Users/ajones/Sites/pwtest/site/modules/ProcessDiagnostics/ProcessDiagnostics.module on line 301 Also, I'd like to add my support to horst's suggestion of a batch table optimize button, because as it is, it just ends up being much quicker to fire up PHPMyAdmin to optimize all at once. EDIT: Sorry, looks like that notice is only there on < PHP 5.4 - my testing server is still only running 5.3, even though my live sites are 5.4 or 5.5
-
Sounds like the google maps js file is not being loaded. You should see something like this in your page source: <script type='text/javascript' src='https://maps.googleapis.com/maps/api/js?sensor=false'></script> Not sure why things would have changed though after your PW upgrade and server migration.
-
You need to change your: != "" to: !== "" EDIT: It's a PHP zero empty thing Google "php empty zero" or something else along those lines.
-
I have no need for the German language pack , but I am always so impressed about how quickly you are on these updates. I am sure lots of users are super appreciative!
-
This is really rough, but I have tested it and it does work $p = $pages->get("/test/"); $rf = "repeater_test"; //repeater field name $ptf = "pagetabletest"; //pagetable field name $ptt = "basic-page"; //pagetable template name foreach($p->$rf as $r){ $npt = new Page(); $npt->of(false); $npt->template = $ptt; $npt->parent = $p; foreach($r->fields as $f){ $npt->$f = $r->$f; } $npt->save(); $p->of(false); $p->$ptf->add($npt); $p->save(); } The key thing is that for this to work as is, the repeater field must include a title field, because this is used to generate the names of the child pages for the pagetable entries. You could of course manually add a title field in the loop when creating the $npt page. EDIT: You can ignore the need for a title by making the title hidden and not required in the context of the pagetable template and setting a value for the automatic page name format when setting up the pagetable field. For this to work, the pagetable field must be already set up and ready to go. If I had more time today, I would have enhanced this a little more regarding the title/name issue, but hopefully it should get you going.
- 3 replies
-
- 12