Jump to content

Giovanni

Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Posts posted by Giovanni

  1. my fields are correct, they match the names. It's as if it does not even validate the fields

    $form = $modules->get('FormTemplateProcessor'); 
    $form->template = $templates->get('contact'); // required
    $form->requiredFields = array('form_name','form_email','form_message');
    $form->parent = $page; // optional, saves form as page
    $form->email = 'jerez@giovanniorigins.com'; // optional, sends form as email
    echo $form->render(); // draw form or process submitted form
    
  2. I've got the form to work fine using the form template processor on one website, but i cant seem to get it to work on another website  ???

    When submitting the form, it does not check the validation fields and just returns to the main page(without errors).

    I've tried reinstalling the module but no luck.

    Any suggestions? :)

  3. Has anyone ever encountered this error before?

    Here is the full error message:

    Exception: Table './eyedent_pwcms/field_body' is marked as crashed and should be repaired (in /home/eyedent/public_html/wire/core/Database.php line 72)
    
    #0 /home/eyedent/public_html/wire/core/DatabaseQuery.php(84): Database->query(Object(DatabaseQuerySelect))
    #1 /home/eyedent/public_html/wire/core/Fieldtype.php(421): DatabaseQuery->execute()
    #2 /home/eyedent/public_html/wire/core/Wire.php(267): Fieldtype->___loadPageField(Object(Page), Object(Field))
    #3 /home/eyedent/public_html/wire/core/Wire.php(229): Wire->runHooks(Array, Array)
    #4 /home/eyedent/public_html/wire/core/Page.php(522): Wire->__call('loadPageField', Array)
    #5 /home/eyedent/public_html/wire/core/Page.php(522): FieldtypeTextarea->loadPageField('loadPageField', Array)
    #6 /home/eyedent/public_html/wire/core/Page.php(467): Page->getFieldValue(Object(Page), Object(Field))
    #7 /home/eyedent/public_html/wire/core/Page.php(556): Page->get('body')
    #8 /home/eyedent/public_html/site/templates/abouthost.inc(9): Page->__get('body')
    #9 /home/eyedent/public_htm
    
    This error message was shown because you are logged in as a Superuser. Error has been logged. 
  4. Hi, I'm new to PW and php, but I believe the solution to my question may be similar to this thread. I will appreciate the help.

    1. Is it possible to use child pages as photo albums and link them to the parent page where the first image is displayed as a thumb.

    2. The child pages have the field "album_description", that i would like to display below the thumb.

    3. Then to call lightbox when the album thumb is selected to display the pictures as an album.

×
×
  • Create New...