Jump to content

dhruba

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by dhruba

  1. I hv change the module............and it works ............ It needs three steps Line No: Add this 90 $this->set('publish', false); 110 else if($key == 'publish' && $value) { if($value!=0&&$value!=1) throw new WireException('$page->publish value should be true or false'); $this->publish = $value; } 210 if(!$this->publish) $this->contact->status = Page::statusUnpublished; and in your code just add $form->publish = true; and done.
  2. Thanks I did this but I want it to be dynamic. Is there any way to change the module to set this dynamically. Like............... $form->publish = true/false
  3. I did this but I got error......... $form = $modules->get('FormTemplateProcessor'); $form->template = $templates->get('reply'); // required $form->parent = $page; // optional, saves form as page $form->removeStatus(Page::statusUnpublished); //on this line I got error echo $form->render();
  4. Awesome module ***** 5 star. Is there any way to make pages published by default. THANKS
  5. Hi Can anybody explain me how role and permission work. How to create custom permission for a custom role and how it works. Thanks
  6. Hi, Is there any standard way to call some PHP function inside a page. Like I have created a spacial page that can access by member (has permission for this page). I have three button to create edit and delete page (pages only have one title field) so I don't want to make three pages for this. Is ajax is better? THANKS
  7. Thanks I am also confuse how to link to pages like I have a template / page authors (separate from users) and another templates / page for topics and replies and I want to track no of topics / replies by authors and and when I delete a author I want delete all topics / replies post by that author. Thanks.
  8. Hi Is it better to have a separate field for thumbnails pictures / profile pics of users.
  9. Hi I want give a spacial permission to guest to add a specific page without entering in the admin panel. THANKS
  10. Hi I want to use PW very efficiently, Like its best practices for global editable header/footer and creating CRUD application. Is every thing in PW are pages like users, permissions, roles etc? What are the concept behind this? For every group of fields should I need a template with a physical file?How to create complex custom permission like user can reply to post but cannot post a topic THANKS.
  11. Thanks diogo I got some idea to solve my problem. you are right PW is a nice and powerful framework. I am new to PW but I m loving it because of it suitable for developer, designer and end client. In PW's database, all fields are tables that's little bit confusing but very flexible as far as I understand the workflow of PW. DaveP you are right but for that the forum should have great registration process to control false registration. I need some good spam control technique to secure my forum and less maintenance time.
  12. Thanks kongondo; I have already read above articles. But I m not satisfied with the tutorial available on this site. Their must be some good video tutorial with voice. Otherwise I like the concept behind the processwire but I m not able to understand totally. Is there any concept of foreign key. Like if user is deleted all post and replies are deleted automatically THANKS.
  13. Hi I m new to processwire and I found it very interesting and powerful. I want to make a forum with great admin power and great spam control system. I want a 1) custom admin for end client 2) login/resister with captcha, activate using email verification and restrict registration using regular expression on username and email. 3) members can post topic but it will unpublished until moderator publish it. 4) has sections - category - topics/replays. 5) admin can delete/block multiple users and it will delete their topics. Any advice/guidance/feedback would be greatly appreciated THANKS.
×
×
  • Create New...