Jump to content

Search the Community

Showing results for tags 'Flourish'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. I would like to know how to integrate Flourish with PW. I have read Flourish module thread and related post as well but it doesn't tell anything more than as below: then in your code: // in templates $modules->get('LibFlourish'); // in modules $this->modules->get('LibFlourish'); // anywhere else wire('modules')->get('LibFlourish'); I am creating user registration and membership portal where I want to work with my own table structure which I created for membership project. I want to know how to use Flourish with PW to submit forms with Flourish validations. Do I have to create PW template first and then add into PW Template area using PW Admin panel and then create a page to use them? If so then how do the form submit (post action) work. I am confused. I follow same as I mentioned to create user registration page but none of the validation is working as expected. Also, I have to add post-action-template.php to PW in order to work but still not working. I am trying to build web application with Flourish with PW. I can do it without PW but then website style and look and feel, I need to maintain separately which I do not want it. If any one can give some example how can I do it that would be much appreciated.
  2. I've been asked how to integrate Will Bond's Flourish library with ProcessWire so I thought I'd post the code I use. I downloaded the Flourish classes (not the whole flourish project) and put them into /site/.flourish. I then pasted the following into the top of my head.inc file. function flourish_loader( $class_name ) { // Customize this to your root Flourish directory $flourish_root = wire('config')->paths->root . 'site/.flourish/'; $file = $flourish_root . $class_name . '.php'; if (file_exists($file)) { include $file; } } spl_autoload_register( 'flourish_loader', true ); After that, you should be able to use flourish classes anywhere in your templates. NB, if you do download the whole flourish project into .flourish, then read Alan's post on how to adapt the above to your layout.
×
×
  • Create New...