Jump to content

processwirefan

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by processwirefan

  1. I have read

    http://processwire.com/talk/topic/2880-commercial-modules-and-licenses/

    but still have question about creating modules that will be located in

    site/modules
    wire/modules 

    and there is a sample module

    site/modules/Helloworld.module
    

    with the following class declaration

    class Helloworld extends WireData implements Module {

    it extends WireData class and implements the Module interface. So it's not exactly API, in this case, does this module automatically inherit GPL v2 license from ProcessWire? Or can I use my own license (MIT, Commercial, etc.)? What's your stance on this?

    I am thinking about creating commercial apps using Laravel 4 framework, but ProcessWire can be a great candidate as a framework for certain apps to speed up the development process.

    Thank you.

  2. Hi, I am new to ProcessWire too, but have experience with PHP programming and using other CMSes. First of all, there is no separation between

    php+mysql vs php+processwire

    Because it's PHP + ProcessWire + MySQL. PHP is a server side script programming language what ProcessWire is based on. To save data, it requires a database server and MySQL is the default one (but there others like Postgresql, MS SQL, Oracle, even file db like SQLite). ProcessWire is just one of the many content management system on the market.

    The strength of ProcessWire is that it's easily themeable with any pre-made web templates, maybe that's why I couldn't find any frontend themes from the module directory

    http://modules.processwire.com/

    By contrast, you can find tons of pre-made themes for WordPress, Joomla, Drupal, Concrete 5, etc. So it is required to have some HTML, CSS and PHP basic knowledge to handle the template files in ProcessWire. 

    • Like 3
  3. Hi, I am totally new to ProcessWire and really love it! Specially due to the following reasons:

    • Uses raw PHP for template engine, no Smarty (too heavy) or Twig (I like twig) by default, so no extra learning curve.
    • Easily themeable similar to Modx (but kinda complicated with slow Admin Panel) or Kirby CMS (similar to Stacey CMS but commercial), unlike other CMS like WordPress that impose you with predefined structure.
    • Flexible custom fields (in WordPress it was still kinda painful to use with Advanced Custom Fields plugin, having developed several themes and plugins).
    • Backend admin panel is simple and clean, no learning curve.

    Thank you Ryan for creating this wonderful CMS! This was the dream CMS I was looking for and regretting for not have found this gem earlier.

    I am trying create a standard one page website with different sections, for example, similar to:

    http://tiltingpoint.com

    and would like create it with the following page and subpage (section) structure in ProcessWire:

    Home (main page)
    - Intro section (intro text with a background image, title not necessary)
    - About section (title and text)
    - Team section ( display 3 column layout with 3 staff images and text intro below)
    - Clients section (will display 5 client logo images)
    - Gallery section (gallery with 3 row x 3 column images that fires lightbox)
    - Contact form section (a contact form with company address)
     

    And here is what I am trying to do:

    1. Each section (subpage) will have different custom fields from the others, it's not going to have standard Title and Textarea fields.
      UPDATE: This is default ProcessWire feature
    2. Each section will use it's own template file, so a user just have to enter the required information (text and image), without any HTML structure because it will be predefined inside the template file. I see that the following API command can be used: 
      pages->get("/about/press/")->children();
      

      but it doesn't seem it will load the default template files assigned to them. Or do I have to manually check the assigned template file and insert them into the code?

       
    3. The order of section display should be easily reordered by the user if possible (trying to prevent editing the Home template file directly).
      UPDATE: Reordering is possible: http://processwire.com/videos/using-the-image-thumbnail-plugin/
    4. The section (subpage) shouldn't be directly accessible by URL, should return 404 not found instead. Looks like setting status to unpublished will work, is this the only option?
       

    I am trying to avoid creating all the fields for Home page alone without subpages, because it can be overwhelming to enter all the information at once from a single input page. After searching the forum, the closest thread I've found was:

    http://processwire.com/talk/topic/4843-pages-vs-repeater/

    But I think it still doesn't address the problems I am trying to solve above (I might be wrong). Wondering what's the best way to approach this problem? Should I Include all the section templates from the main Home template (does it even make sense) or is it possible to pull this off from ProcessWire admin panel somehow?

    Thank you!

    David

    --------------------

    UPDATE: Looks like the only things left to be solved are 2. and 4. Any tips?

×
×
  • Create New...