In order to show the form in the same page as the results (like in our Demo here:
http://www.pimpmyjoomla.com/forme/index.php?option=com_forme&fid=1&Itemid=37I did the following:
1. In my joomla template, i set up this code:
| Code: |
<?php mosMainbody();
if(mosCountModules('user1')) {
mosLoadModules('user1', -2);
} ?>
|
This ensures me that if a module is published in user1, it is being displayed under the body.
2. I added a new menu item that points to my form link
3. I installed mos_forme_list, and configured it to be in the user1 position, and to be visible on my Form Menu item(created at #2)
4. In the mos_forme_list params, i added Form ID #: 1 (my form #)
5. In the mos_forme_list params, i changed
| Code: |
<table width="100%">{formdata}</table>
|
to
| Code: |
<table width="100%" style="border:1px solid black;">
<tr><th>Fullname</th><th>Company</th><th>Company URL</th></tr>
{formdata}
</table>
|
That's it.
Let me know if you were able to do it.