Buy Cheap Software - Discount Software
pimpMyJoomla Board
Welcome, Guest
Please Login or Register.
Lost Password?
Report using Forme Frontend List (1 viewing)
_GEN_GOTOBOTTOM Post Reply

TOPIC: Report using Forme Frontend List

#628
maverick (User)
Fresh Boarder
Posts: 4
graphgraph
Report using Forme Frontend List 2007/05/22 14:02 Karma: 0  
Hello,

I need some help... I made a form whit 4 or 5 fields e need to show them, like the demo form on this site, on a webpage.

How can I make an HTML table so that, when a user submits the form, the results show automaticaly on the webpage?


Reguards,
Luís
  The topic has been locked.
#638
alex (Admin)
Admin
Posts: 301
graph
Re:Report using Forme Frontend List 2007/05/23 01:11 Karma: 8  
Lets talk this from the begining. Assuming you created a new form(lets say index.php?option=com_forme&fid=1), so ID is 1.

Add a menu item to that form link. Then, publish the module and make sure it's on the Form Menu item too.

Edit the module, and at the field Form Id: type 1. This should make your results visible. Let me know.
  The topic has been locked.
#648
maverick (User)
Fresh Boarder
Posts: 4
graphgraph
Re:Report using Forme Frontend List 2007/05/23 12:39 Karma: 0  
Hello Alex,

Thanks for you reply.

I'm able to do all those things except a few details!

First... I'm not able to show the frontend list in the same page as the form.
Second... How can I format the table (HTML???) so it shows the headers and results from form and lines arround the table???


Reguards,
Luis

PS: sorry... my english it's not the best!
  The topic has been locked.
#717
maverick (User)
Fresh Boarder
Posts: 4
graphgraph
Re:Report using Forme Frontend List 2007/05/24 23:48 Karma: 0  
Please... can anyone help me??

Reguards,
Luis
  The topic has been locked.
#724
alex (Admin)
Admin
Posts: 301
graph
Re:Report using Forme Frontend List 2007/05/25 00:48 Karma: 8  
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=37

I 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.
  The topic has been locked.
#765
maverick (User)
Fresh Boarder
Posts: 4
graphgraph
Re:Report using Forme Frontend List 2007/05/26 00:22 Karma: 0  
Hello,

That really solved my problem!!
Thanks!

Two more questions... I'm still unable to display the table under the form because the form it's in a position I don't know which. It doesnt appear in the option "Preview - Inline whit position". It's my "main text area".

Alson... how can I remove "<< Start < Prev 1 Next > End >>
Results 1 - 1 of 1" ???


Reguards,
Luis
  The topic has been locked.
#823
medy (User)
Junior Boarder
Posts: 5
graphgraph
Re:Report using Forme Frontend List 2007/06/05 10:44 Karma: 0  
Alson... how can I remove "<< Start < Prev 1 Next > End >>
Results 1 - 1 of 1" ???


I'm interested in that too. Any solutions (hacks) to this request?

Is it possible to make module layout (html) to display content with white text (that would hide the results display) and then display rows with black text?
Would that be possible by inserting custom code in forme_list_module?
  The topic has been locked.
_GEN_GOTOTOP Post Reply
© Copyright 2007 Best of Joomla, Powered by FireBoardget the latest posts directly to your desktop