-
Posts
2,318 -
Joined
-
Last visited
-
Days Won
2
Everything posted by pwired
-
Your host is serving php 5.2.17, go into your cpanel and select php 5.4.xx or up.
-
Is a processwire backend compatible/working with caddy ? mysql ?
-
Thumbs up for this parallel
-
Processwire playing Aces in cms land I just noticed that with version 8 Drupal is waking up to decoupled. http://buytaert.net/the-future-of-decoupled-drupal Processwire has been playing it's decoupled front-end Ace since day 1. My opinion is that Processwire has a second decoupled Ace to play that needs more campaign: "everything is a page" To illustrate better what I mean is that my impression is that many processwire beginners pick up it's api and the decoupled front-end way of working but not the potential of "everything is page". An easy explanation for this is of course that many still associate a page with a webpage this established habit simply hinders to pick up the "everything is a page" potential of processwire. I have come across many examples of the "everything is a page" in the forum, here are two I could still recall, but there are many more amazing examples to find: 1. Multiple content areas with pages https://processwire.com/talk/topic/4487-homepage-with-multiple-content-areas/#entry44125 2. Making menus with pages https://processwire.com/talk/topic/11748-menu-building/#entry109226 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - In the Processwire about page (middle of the page) a general reference is made to "everything is a page" http://processwire.com/about/what/ But this general reference never made me pick it up until lately, and I am sure I am not the only one. The more I start working with this concept, the more I find it underestimated as a playing Ace for Processwire in cms land. We should collect all examples in the forum and select the best ones as a source for writing a new special article about the "everything is a page" and how to use it's potential in making your websites with processwire.
-
How to switch profile from "beginner" to "default" without new install?
pwired replied to dlen's topic in Getting Started
Hi, and welcome to Processwire. Using your cpanel filemanager or do it your self with zip over ftp goes many times faster when working online on a host. The intermediate profile with delayed output is the most interesting one to work with. It let's you setup any website with the most efficient structure Starting to learn processwire is best done locally with an apache/mysql stack (lamp,wamp,mamp,etc.) You can use the Site Profile Exporter module for easy switching between your own websites as a profie http://modules.processwire.com/modules/process-export-profile/ -
Yes I have seen a lot in the forum about vagrant, vm's, etc. I guess it's time to try one of those and see how it goes.
-
I am using Uni-Server at the moment for on my (fast) laptop, it has a nice interface but find it also to perform slow. Any faster recommendations ?
-
UK https://processwire.com/talk/topic/1829-hosting-for-pw-sites/
-
Globally access the page tree in the admin theme
pwired replied to gmclelland's topic in Wishlist & Roadmap
The admin theme is already a module. Copy it in your site/modules/ folder and modify it to make it show whatever you want. Then go to your backend and select it as your admin theme. With the Admin Theme Reno (already in the core) from Renobird you can make things even more fancy. -
Hi You are actually using your menu button out of it's functionality. I mean you have it there in the top-left corner at any screen size. Functional use would be that you show your top-navigation at desktop screen size e.g. like this: and then at tablet and smartphone screen sizes you replace the top-navigation menu with the menu button But maybe you intended to use the menu button this way as part of your site style
-
I never saw MS so pushy as with win10 where even windows inside goes facebook style.
-
Use this: http://cheatsheet.processwire.com/pages/built-in-methods-reference/pages-find-selector/
-
Ok I understand I have to use the ProtectedPage module in order to see those configurations. I still wonder though why with the ProtectedMode module only the homepage is viewable. Maybe something on the host.
-
Hi I am using the ProtectedMode module version 0.0.9 but when a client logs in he can only see the homepage. The site has a top navigation bar for many pages but to see other pages the client has to each time relogin through the ProtectedMode login window. I added him to the list of users with a guest role. The same happens when I login as a superuser. I didn't see any settings in the ProtectedMode module to let a client only see the home page or all pages, also I don't see the two parts: a) Protected Pages and b) Protect Entire Site like here in these settings: https://processwire.com/talk/topic/7723-protecteddevelopment-mode/#entry78233 Disabling session challenge and fingerprinting does not make a difference. Any idea ?
-
I understand your point. The information you need for building a module is not documented in one place but spreaded through the forum and sometimes you even have to look in the core to find what you need. However it takes a lot of time and effort to make documentation and even more time to write them in such a way that even beginners can understand them. Comparing with October CMS doesn't say much and neither does Processwire have a community like Drupal contributing to documentation. The history and nature of Processwire is totally different. But maybe there are more sources as you think that could help you making your own module: https://processwire.com/api/modules/ http://wiki.processwire.com/index.php/Module_Creation https://processwire.com/talk/topic/1641-learning-module-development/ https://processwire.com/blog/posts/new-module-configuration-options/ http://modules.processwire.com/modules/process-hello/ Things that are not covered for you in those posts you can always ask here in the forum.
-
PW 3.0.4: Repeaters Revisited + ProFields Matrix
pwired replied to ryan's topic in News & Announcements
I think the latest developments in Processwire is going to make you ask to reconsider the workflow you follow when building a website. For example in my case wireRenderFile() and $layout changed my old workflow into a much better one. Now with the new matrix field I think it will go again to a next level -
Hi, I am just wondering: who is successfully writing articles with text and pictures, only using ckeditor and the body field ? I stopped using ckeditor a long time ago for this because I can never get the position of the text and the images the way it is needed for a layout in a project. Using inline css in ckeditor is not recommended. So, I only use ckeditor for text wich I give in the source of ckeditor a simple div tag with an id: <div id="text">text for article.....</div> Then I use css to do what I need for the text such as position, fontsize, fonttype, color, etc. Same with pictures, not loading in ckeditor but pull directly from the images field and use css to do what I need same as for the text I write in ckeditor. Do you agree with this, or is it somehow still possible to write articles with text and pictures directly in ckeditor ?
-
what is the difference between parent and rootParent ?
pwired replied to adrianmak's topic in General Support
$page->rootParent The parent page closest to the homepage (typically used for identifying a section) https://processwire.com/talk/topic/2911-why-does-page-rootparent-identify-current-section/ https://processwire.com/talk/topic/8326-getting-the-rootparent/ -
Thanks for pointing me to that module, I will give it a try. Another option could be to find a balance between using pages with wireRenderFile() and pages with children to output different areas as the latter is only needed in some pages.
-
By the way your code makes smart use of pagetable and render() never thought about it to have a page accessable like this.
-
Every child page that needs a different look needs it's own template file. If you add those template files to the template files for the parent pages you end up with a lot of template files. I was trying not having to use template files for child pages for the needed html format.
-
Hi, I am using child pages to output different areas for the parent page Here is an example and this works very good: (original idea from Diogo) <section id="area1"> <?php echo $pages->get("/home-areas/home-area1/")->render()?> </section> <section id="area2"> <?php echo $pages->get("/home-areas/home-area2/")->render()?> </section> To view the different areas, the html formatting needs to be done on the template files of the child pages. Would it be possible to use something like wireRenderFile() on child pages so I won't need the template files for the html formatting but instead an external html file in /templates/layouts/ ? Obviously this does not work: echo $pages->get("/home-areas/home-area1/")->wireRenderFile(path/to/html); But maybe another way ?
-
Reading the different opinions in this thread about themes for Processwire. Because Processwire is a decoupled system it would be very easy to deliver an out of the box theme. There would be many ways to do this. One way would be the use of child pages that are stacked on top of each other like layers to build up a webpage. All that needs to be done is to set up a profile where every page has a few child pages. These child pages hold the text and image fields that are used in the (parent) webpage. You just add two more fields: a path to a html layout and a path to it's associated css. You do this for all child pages for as much pages you would have in the website and this would be the theme. Tuning the theme would be as easy as editing each separate html/css for each child. Now let's start selling our themes
-
After some forum digging I found this post about "children as areas" from Diogo: https://processwire.com/talk/topic/4487-homepage-with-multiple-content-areas/ I will give this a try as well.
-
Yes I will go for that option. Just make different pictures for different languages with the text language part of the picture.