Jump to content

Manaus

Members
  • Posts

    212
  • Joined

  • Last visited

Posts posted by Manaus

  1. Hello,

    I'm trying to hack some code for the FormTemplateProcessor module.

    I have this page structure:

    posts

      post 01

      post 02

      post 03

      post 04

      new post

    I'd like to add the new post as a sibling of 'new' but I get the page always as its child. This is the code I'm using:

    $form = $modules->get('FormTemplateProcessor');
    $form->template = $templates->get('contact-form'); // required
    $form->requiredFields = array('title', 'body');
    $form->email = 'my@email.com'; // optional, sends form as email
    $form->parent = $page; // optional, saves form as page
    echo $form->render(); // draw form or process submitted form
    

    Thanks for any suggestion!

  2. Hello,

    I need to make some site where the admin can assign projects to users (many to many). Users can write to specific areas, but cannot delete their messages (this is done by the admin). All of course should be protected by login and pass, with all the features of password retrieval etc.Can PW do all of this?  If so, can you give some suggestion?

    Thanks!!

  3. Hello there

    I'm newbie so be patient :)

    I need to set up a website for real estate company, whose need is to add a building, and for each building *many* apartments. Each apartment has a ID, features and so on. It this feasible with PW? If so, do you have any suggestion?

    Keep in mind that although each apartment is different, they have pretty much in common, so the problem for the person who's entering data, is to have the task as easy as possible (i.e. replicating the data already entered with a button and so on).

    Thank you very much

×
×
  • Create New...