Jump to content

Robert Zelník

Members
  • Posts

    77
  • Joined

  • Last visited

Everything posted by Robert Zelník

  1. I would like to create a site with multiple sections. Each section will have it's own subdomain. The section/subdomain will represent the first level of menu tree on a single ProcessWire installation. The webhosting is configured to map all subdomain requests to the same directory. Is there any way to configure ProcessWire or mod_rewrite to map the subdomain name as the first level of the menu tree?
  2. Oh, sorry, you are right, I meant page data.
  3. What about versioning of a particular templates or fields? Is it possible to set a template to store it's content changes? Edit: In the meantime I found a mention in another thread that it is coming soon. http://processwire.com/talk/index.php/topic,770.msg5921.html#msg5921
  4. My first ProcessWire-powered web site (in Slovak language): http://www.restauraciabemba.sk/ The design isn't mine, it's a rewritten static HTML / partially PHP-hardcoded web site. Thank you, guys, for your help and support.
  5. I would like to paginate comments created by Comments module. I tried this: http://processwire.com/api/modules/markup-pager-nav/ Determine what template(s) you want to use pagination with. Go to Admin > Setup > Templates > [Your Template] > Advanced, and check the box for: Allow Page Numbers. Save. I didn't find the checkbox. I assume it's because the comments are not pages. Am I right? Is there any other way to paginate the comments?
  6. How can I change the order of comment list in the Comments module to show newest comments first and the older comments at the bottom?
  7. I would like to create a radio button field. I know how to create a single checkbox: Add New Field, Type: Checkbox. This works well, but how can I create radio buttons or a selectbox with multiple options to choose? I don't see this options in the fieldtype dropdown menu, although I have Radio Buttons, Select and Select Multiple inputfields activated.
  8. Btw, template vs template file is confusing also for me. Check this: http://processwire.com/api/templates/ <-- URL Template Files <-- Title These template files are located in this directory: /site/templates/. <-- files location It is obvious for me to think templates as files for rendering the web site layout (View in MVC model). Wouldn't it be better to let the name "template" for template files and rename the current "templates" to "page structure", "page configuration" or something like that?
  9. I also find similar error messages while searching the phrase "template".
  10. My suggestions for default template name: simple-page, basic-page, static-page...
  11. I am from a Drupal world, but I understand that the term 'node' is confusing, so I understand the use of the term 'page' instead. Anyway, there is another confusion for me now: How can we differentiate between a general 'page' (aka Drupal's node) and a particular page type also called a 'page' (one of the default templates used in a new installation)?
  12. Ok, reported here: https://github.com/ryancramerdesign/P21/issues/18
  13. When I unset the Parent of selectable page(s), the nested topics worked as expected.
  14. I have a list of articles and a hierarchical tree of topics. In the "article" template I have added the "topics" field to link the topics. I would like to allow linking multiple topics from the whole tree. The "Dereference in API as" is set to "Multiple pages (PageArray)". My question is: which input field type should I choose in this case? SelectMultiple and AsmSelect allow to choose from the root topics only PageListSelectMultiple allows to choose from the whole tree, but it stores the root level only. When I choose from the nested level, this choice is ignored during saving. Is this a bug or a feature? (I use 2.1devel version of ProcessWire.)
  15. I agree, video tutorials are great but difficult to create. There is much information in this forum that is useful but not so easy to find. I would suggest to create some wiki section on this site to allow users to collect and sort these tutorials and howtos in a reader-friendly structure. The advantage of wiki over video is that it could be created and maintained in a participatory manner.
  16. Btw, Ryan, there is a helpful video on this topic in your youtube stream - , but I didn't find it in a list of videos on your website. Could you please add it there, preferably with a code you mentioned in the video? Thanks.
  17. Here is my two cents for blank(er) install profile. I would suggest to make som cleanup on id (AUTO_INCREMENT) value in "pages" table. 5765+ is just too high for fresh new installation.
  18. Sometimes the simple tree hierarchy isn't enough. Some more complex hierarchies could have multiple parents per child. For example we can have a category "wooden toys", which belongs to both "wooden products" and "toys by material". Or we can have multiple category trees (nodes by topic, nodes by media type), etc.
  19. I have checked the default settings. All folders are inaccessible and unreadable by default and all files are read-only. This is default setting in Ubuntu, since Apache has it's own user to access the files and I copy the files as a standard user, so I used to change the permissions manually.
  20. Here is the output of error.log using freshly unzipped ProcessWire 2.0, where just the main ProcessWire directory was set to read+write, the subdirectories were left untouched (non-readable for Apache by default): [Thu Jul 28 17:05:00 2011] [error] [client 127.0.0.1] PHP Warning: require(/var/www/demo/processwire/pw20/wire/core/ProcessWire.php): failed to open stream: Permission denied in /var/www/demo/processwire/pw20/index.php on line 57 [Thu Jul 28 17:05:00 2011] [error] [client 127.0.0.1] PHP Fatal error: require(): Failed opening required '/var/www/demo/processwire/pw20/wire/core/ProcessWire.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/demo/processwire/pw20/index.php on line 57
×
×
  • Create New...