AndZyk
Members-
Posts
678 -
Joined
-
Days Won
10
Everything posted by AndZyk
-
New install, can't access pages other than Home, can browse subdirs
AndZyk replied to codevark's topic in Getting Started
I had the experience, that on one server I needed to set all permissions in the "site/assets/file"-folder to 777 in order to keep my ProcessWire install running. Although I highly wound't recommend it, because you would make your site vulnerable. A good server set-up wouldn't need such workarounds. But I am no expert in permissions as well. -
New install, can't access pages other than Home, can browse subdirs
AndZyk replied to codevark's topic in Getting Started
Welcome codevark, uncommenting line 124 in the .htaccess-File, for setting the RewriteBase to "/", as stated in the thread you posted didn't solve the problem? Usually this is the problem when a new ProcessWire install is hosted in a subdirectory. Regards, Andreas -
Welcome Claudio, may I ask, why you post a WordPress-website with an bought theme in this board? Besides that, I wish you good luck with your company. Greetings, Andreas
-
Thank you, I didn't knew about this module. I just tried it out and it seems to work fine with my rendered output from the PageTable-Field.
-
Exactly, that is what I wrote on my first post.
-
My loop looks like this: <?php foreach($child->content as $element) { echo $element->render(); } ?> I don't quite understand your code, because you are not using the page object. Could you please explain why? I have never seen such variables in the context of ProcessWire. But I don't think that has anything to do with the module, so let's just wait, if the authors respond.
-
May I ask, how do you output your content? Because if you simply echo the content it works as expected, but if you render the content the e-mail-adresses don't get de-obfuscated.
-
Is there a workaround for this behaviour? I like this module and have used it on serveral websites. But now that I'm using the PageTable-field to render my content, this module doesn't obfuscate e-mail-adresses anymore. If someone has an idea to fix this, would make me really happy.
-
Really nice and clean skin. It is definitly lighter then the default default skin. One small note: There is an quotation mark missing in the module instructions. I think most of the ProcessWire-Users figure this out by themself, but maybe you could fix it with your next update. CKEDITOR.editorConfig = function( config ) { config.skin = lightwire,/site/modules/EditorSkinLightwire/skins/lightwire/"; };
-
Hi sambadave, as far as I know you don't have to upload the file again. You could go into the files folder and delete only the generated versions of the images. For example if there is an image "image.jpg" and it has generated versions like "image-600x400.jpg" and so on, you can search all images with "-600x400" delete them and after reloading the site, ProcessWire generates new versions of this image. You can try it out, but be carefull not to delete the original. Maybe make a backup before and be aware, that generating a lot of images could lead to a timeout when reloading the page, so you have to reload the page several times. Regards, Andreas
-
I am happy you like the website. I can't take credit for the design, because that was made by an co-worker, but I will let him know. The long scrolling after clicking the last reference is indeed a little obstacle. When I developed the site I didn't expect that there would be so many references. That is one of the disadvantages of a single page design. It seems like the caching is already doing its job, because I didn't switch the server yet. But 2,4 seconds loading time is already an improvement.
-
Thank you all for the great advices. I really have to dig deeper into the caching topic. I didn't knew what easy options the core of ProcessWire has to offer for caching. @felix: I now have enabled the twig cache, thanks to you. Do you know if it is smart to combine the twig cache and the template caching? Or should I only use one of those? At the moment I have twig cache enabled and set an hour long caching time for the "Home"-template.
-
Thank you for the advice. I have to learn more about caching html responses. So far I only cached javascripts and stylesheets through the .htaccess-File. I have now uploaded the site on our own hosting service, because the long loading time bothered me, and on this hoster the website loads in 1,3 seconds according to Google Page Speed Insights. On the server the website is currently hosted on it loads in 4,6 seconds. But the loading time seems to be higher sometimes. I had previously a loading time of 20 seconds. So it seems definitly to be a problem with the hoster. I will try to get in contact and ask for a solution. I'll keep you updated if the sites performance has improved.
-
You are right. I tried all I could to speed up the performance. I already use browser caching and lazy loading, but sadly the server environment the website is hosted on isn't the best.
-
Hello ProcessWire-Community, I would like to share with you an website I made with ProcessWire for the agency designconcepts, for which I am currently working for. The website is for the interior decoration company von Bergh and is a single page. Although it has very much content to offer through some flexible sections. On top of the website is an classic image slider, which changes the parallax background of the site, depending on which image currently is displayed. The news section is an accordion element inside an tab element, so that it could have multiple news pages. The reference section is an isotope element, which can be sorted and the active reference is loaded with AJAX into an stage container. The company section and footer are tab elements, but the footer is hidden on page load and expands by clicking on the navigation. Further is the website translated into two languages, responsive, optimized for better performance (for example through LazyLoad and Responsive Images). At last here is a short list of modules I used: Template Twig Replace Images with cropping MinifyHTML Trashman Schedule Pages I really hope you enjoy this website and maybe I will post some more, because I am a great fan of the ProcessWire CMS. Best regards, Andreas
-
Hey everyone it's me again, so yesterday I found a solution for my problem with implementing a search- and front-end-login-function into my twig templates. Neither did I had to use the Template Data Providers-Module nor an extra PHP-Template just for the function. I just simply translated the two exisitng functions barely into the Twig-syntax. It wasn't that difficult after all, I was just confused on friday, when I posted this entry. If someone is interested in my code, I can post it here for everyone. Just ask and I'll do it. My functions aren't perfect yet, for example I currenty don't use the whitelist or sanitizing, but they work and that's a start for me. So for any questions on this topic I'm still available. Have a nice day. Greetings, Andreas
-
Hello owizm, thank you for your fast response and your warm welcome. I see that you are german too, so I don't have concerns that we don't understand each other. I also thought to myself that I shouldn't implement more complex functions into the Twig templates. But I didn't knew about the Template Data Providers-Module, so thank you for that tipp. I'm gonna try this module now and report if I had success with it. My alternatives would be to call the PHP-function in an separate file and then redirect and output my results to the template file. The last thing would be to get rid of the Template Twig Replace-Module and use PHP for the hole template again, but I like twig and find it very comfortable to output fields. I'll keep you updated and have a nice day. Greetings, Andreas
-
Dear ProcessWire-Community, first of all I want to apologize for my weak english. I'm german and will try my best, but I hope you can forgive me if I missspell something or can't explain it in the right way. Further I want to point out, that in the last few weeks I've become a big fan of the ProcessWire CMS. The free structure with no useless functions and the great community made this CMS to one of my favourite CMSs. And that's the reason why I would like to ask for your help. I'm developing right now an medium-sized website and for this website I'm using the Template Twig Replace-Module. This module is great for saving lots of PHP-syntax, but is also very strict when you code wrong. For this website I want to implement an search and front-end-login-function and even though there are great tutorials for those functions available in PHP, I don't know how to translate those functions into the Twig-syntax. For the front-end-login-function I would like to try out this script. And for the search-function I would like to use the function from the search.php-template file, which is available when you first download ProcessWire. Now here is my question: Would somebody of you like to help me translate those functions into the Twig-Syntax or could someone explain to me how to use PHP-functions within the Template Twig Replace-Module. I know this is a lot to ask for and that this is a ProcessWire-forum and not a Twig-forum, but you would help me a lot. Sincerely, Andreas