Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 05:38:57 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155544 Posts in 21714 Topics by 7736 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: [TUTORIAL] Job-Listing with mpForm / Members & opfDashboard  (Read 324 times)
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4884



« on: May 02, 2011, 10:46:49 PM »

Hello,

this is a tutorial on how to connect mpForm and Members Modules via the OutputFilter Dashboard to have a job-listing available and running without the need to create a new module for that purpose.

The final result should look like this:


above: your Listing from Members Module
below: your mpForm Form with a auto generated select box of your listing.


Requirements:
1) Module Members
You will need this module installed.
If not familiar with this module yet, you should at least know how to create a members group with some "members" (Items) in it.
2) mpForm Module.
You will need this module installed.
If not familiar with this module yet, you should at least know how to create a form.
3) OutputFilter Dashboard installed.
If not familiar with this Admin-Tool yet, doesn't matter. You will see what to do while going through this tutorial.



TODO

1) Create your Form with the mpForm Module.
Keep it small for the start:
put Name, e-Mail, Text into the form and ensure that the form is working (you can send it and recieve the message via mail)

2) Create a section of type "Members" where ever you want on your WB Site. Probably you want the jobs listed at the same page and above the Form. Thus put a new section of type "Members" above your MPForm section.
3) Create a new Members-Group  "job offers". Remember the group-id of this group. We will need it later. (You can find out the group-id in browsers status bar while moving your mouse over the group link.[see figure #1 in illustration.png]
4) Put some 'members' into that group, give them a name, description etc.
(NOTE: You can style the Output of the Members module via the modules settings page. I won't go into this. You should find out for yourself how to make the output looks like you want it. There is also a Help file contained in the module. Use it for reference.)
5) Check the output in Frontend.

If everything looks OK, go to the next step
6) Go to Admin-Tools/ OutputFilter Dashboard (see requirements) and upload the attatched Plugin
7) Open the Plugin and go to the CODE Block.
Set $members_group_id to the group ID you found in step 3 above.[see figure #2 in illustration.png]

8.) the final step: Go back to the page with your MPForm and add a new field "Job - Offer" (Field Type "SelectBox").
Add "option 1: opfReplace" (Note, that this is important: you need to have only one option with content "opfReplace" in it.
[see figure #3 in illustration.png]


You're done.
Check the output in Frontend.

Plese test it first. When you get it to work, great. If not, let me know and I will try to resolve the problems you have.

Kind Regards,
Stefek


« Last Edit: May 03, 2011, 03:53:23 AM by Stefek » Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!