Jump to content

rareyush

Members
  • Posts

    73
  • Joined

  • Last visited

Everything posted by rareyush

  1. I am using module "FormTemplateProcessor" to get data in a pages but they all are unpublished and when I am trying to display them with relevent pages it not working page1 p1 p2 p3 page2 (FormTemplateProcessor) up1 (unpublished page and have p1 id on field knows as "ID") up2 (unpublished page and have p3 id on field knows as "ID") up3 (unpublished page and have p2 id on field knows as "ID") now here up1, ip2, up3 can be created by p1, p2 or p3 and I am saving respectively I'm saving their id in field which is being used by up1,up2,up3, etc template. now I want to show the data from unpublished pages which belongs to p1, p2 and p3 respectively anyone has experienced this or knows something which can help me out ?
  2. none of them is working in my case I am actually looking for something like an appointment booking calendar with multiple time slots during each day, where availability can also be specified. Also the availability can be specified by the service provider, not necessarily the super admin, and can be selected and booked by users with an online payment. Thanks for your help and support.
  3. is it possible to get time as well in this?
  4. I am using this module is there anyway to add time field as well in this module ? http://modules.processwire.com/modules/fieldtype-events/
  5. Has anyone any experience making a dynamic hours booking calendar: person visits site and can see a calendar with available hours marked as taken and others as free person clicks number of hour and is allowed to fill a form to book the timing like: 6:17pm - 10:67-pm Any comments most appreciated,
  6. this error Error: Uncaught Error: Call to a member function render() on null in C:\wamp64\www\mbs\site\templates\book-now.php:13
  7. nope not working code is here <?php namespace ProcessWire; $form = $modules->get('FormTemplateProcessor');$form->template = $templates->get('book-now'); // required $form->requiredFields = array('title', 'email', 'number','body'); //$form->email = 'your@email.com'; // optional, sends form as email $form->parent = $page('template=book-now'); // optional, saves form as page $form->render(); // draw form or process submitted form ?> <?php echo $form->render(); ?> here is the error
  8. <?php namespace ProcessWire; $form = $modules->get('FormTemplateProcessor');$form->template = $templates->get('book-now'); // required $form->requiredFields = array('title', 'email', 'number','body'); //$form->email = 'your@email.com'; // optional, sends form as email $form->parent = $page('template=book-now'); // optional, saves form as page //$form->render(); // draw form or process submitted form ?> <?php echo $form->render(); ?> using this to for a contact on new processwire version 3 and I am receiving this error Error: Uncaught Error: Call to undefined method stdClass::render() in C:\wamp64\www\mbs\site\templates\book-now.php:9 tried following but none of them works render(array('name','email','body',)) wireRender() Render() wire() anyone ?
  9. is there any way to get contact form queries without any session
  10. yeah either some tables got missing or same error, nvm it has no solution except one which is to use linux system installing virtualbox and it should work in there
  11. I tried but it didn't work nope no help from there either
  12. yeah online I am using centos server and fro machine I am using windows and I tried different char set, old db system options but nothing seems to be working these are the option I have in phpmyadmin on my server
  13. nobody has used google cloud platform here???
  14. i am receiving and error whenever I try to run my processwire on localhost, sql code -- -- Table structure for table `field_fieldset_meta_end` -- CREATE TABLE `field_fieldset_meta_end` ( `pages_id` int(10) UNSIGNED NOT NULL, `data` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `field_fieldset_meta_END` -- CREATE TABLE `field_fieldset_meta_END` ( `pages_id` int(10) UNSIGNED NOT NULL, `data` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; anyone ? whenever I make a new database and upload it there, database get imported without errors.
  15. it's fixed I mistakenly selected this in files tab in services template still anyone knows how to show subcate pages using services???
  16. subcate template code <?php namespace ProcessWire; $ser=""; $title= $page->title; $services = $page->get('services'); $brief= $page->brief; if($page->services) { foreach($page->services as $p) { $ser.= "<br><p>{$p->title}</p>"; } } echo " <div style='margin-top: 100px;'> $title <br> $ser </div> "; ?>
  17. I added a field type 'page reference' using checkboxes knows as services. now i want to display the pages according to service. I can display all services list but when i click on any services then I can see whole code of site any idea where i am wrong ? main cate1 subcate1 subcate2 cate2 subcate1 subcate2 services first-service second services these services is being used as a page reference in subcate1, subcate2 templates. and in the navbar when i click on services and then when i click on any of the following service then i can see whole source code of my site.
×
×
  • Create New...