dom34
Newbie
Offline
Posts: 12
|
 |
« on: December 28, 2009, 11:49:35 am » |
|
Hi, On my site, I've created a menu for registered users which redirects to a form facileform. When I'm logged like an administrator, and I click on the link, No problem : form, and all menus appears normally. But, when I click on this link with a registered only login, form appears normally, but the menus for special logins (administrators, managers, ..) appear (Same problem with the sample form 'pizzashop').
In the form which appears there is a query list. In this query list, I include this in one of the fields value : <?php global $id; $date2 = explode('-',$value); $annee = $date2[0]; $mois = $date2[1]; $jour = $date2[2]; return '<a href="index.php?option=com_facileforms&ff_name=inscription_plongees&ff_page=1&ff_param_id='.$id.'">'.$jour.'/'.$mois.'/'.$annee.'</a>'; ?>
When I click on the link with an administrator login : no problem. Form appears normally. But when I'm logged like a registered only, this message appears : Sorry, You don't authorize in tis area, or something like this (french translating).
I don't know how to solve this problem.
Thank's for your help
Joomla 1.0.11 FacileForm 1.4.7
|
|
|
|
« Last Edit: December 28, 2009, 11:58:47 am by dom34 »
|
Logged
|
|
|
|
|
fvds
|
 |
« Reply #1 on: December 28, 2009, 03:20:51 pm » |
|
Looks like the Itemid bug in Joomla. Can be "solved" by adding &Itemid=-1 in your URL...
|
|
|
|
|
Logged
|
|
|
|
dom34
Newbie
Offline
Posts: 12
|
 |
« Reply #2 on: December 30, 2009, 10:25:35 pm » |
|
Right, if I add &itemid=-1 in my url, it works well. Thank you for your help. I didn't know this bug.
But the first problem is not solved :
When a registered user only click on the menu which redirects on the facileform component (with the name of the target form), the form appears normally, but all the menus appears (including menus reserved for special users). Same problem with the sample form 'pizzashop'.
Have you an Idea ?
|
|
|
|
« Last Edit: December 31, 2009, 11:24:20 am by dom34 »
|
Logged
|
|
|
|
|
boldee
|
 |
« Reply #3 on: December 31, 2009, 02:51:28 pm » |
|
I have had this problem also, I solved it by placing my facile form within static content.
|
|
|
|
|
Logged
|
|
|
|
dom34
Newbie
Offline
Posts: 12
|
 |
« Reply #4 on: January 03, 2010, 12:41:03 pm » |
|
Do you mean, you placed a link to the facile form in a static content (not really what I want to do), or you created a static content link in a menu with the facile form as the target ? If second solution, how is it possible ?
Thank's
|
|
|
|
|
Logged
|
|
|
|
|
boldee
|
 |
« Reply #5 on: January 03, 2010, 07:52:26 pm » |
|
Call the Facile Form using the ff mambot within a joomla static content, in effect its just like using an Iframe see here for details.
|
|
|
|
|
Logged
|
|
|
|
dom34
Newbie
Offline
Posts: 12
|
 |
« Reply #6 on: January 03, 2010, 10:33:03 pm » |
|
Ok, Thank you. It works now for my first form which is included within a static content, using Facileform mambot. But in this form I have a query list, and each line of my list contents a link :
<?php global $id; $date2 = explode('-',$value); $annee = $date2[0]; $mois = $date2[1]; $jour = $date2[2]; return '<a href="index.php?option=com_facileforms&ff_name=inscription_plongees&ff_page=1&ff_param_id='.$id.'">'.$jour.'/'.$mois.'/'.$annee.'</a>'; ?>
And when I click on this link, the next form appears with a duplication of all the menus in the center of my page, and I can't read the right part of my form. How can I only display the form without all the menus, and other modules ?
Thank's for your help.
|
|
|
|
|
Logged
|
|
|
|
|
boldee
|
 |
« Reply #7 on: January 04, 2010, 02:56:29 pm » |
|
Change "index.php?" in yor link to "index2.php?" that will fix it.
hth
|
|
|
|
|
Logged
|
|
|
|
dom34
Newbie
Offline
Posts: 12
|
 |
« Reply #8 on: January 12, 2010, 09:02:49 pm » |
|
With index2.php width is ok. But height is not Ok. The form is to high, and partially displayed.
Is there a solution ?
Thank's for all
|
|
|
|
|
Logged
|
|
|
|
|
boldee
|
 |
« Reply #9 on: January 13, 2010, 04:29:03 pm » |
|
If you have your form height set as max or auto it can somtimes cause problems so if you have your form height set like this try using a fixed form height instead.
hth
|
|
|
|
|
Logged
|
|
|
|
dom34
Newbie
Offline
Posts: 12
|
 |
« Reply #10 on: January 15, 2010, 05:10:36 pm » |
|
Thank you.
My height was automax. I tried using a fixed from height (fixed 1200 px), but it's the same.
|
|
|
|
|
Logged
|
|
|
|
|
boldee
|
 |
« Reply #11 on: January 15, 2010, 06:17:29 pm » |
|
Thats odd, if you want me to take a look on your site so I can see for myself that would be good.
|
|
|
|
|
Logged
|
|
|
|
dom34
Newbie
Offline
Posts: 12
|
 |
« Reply #12 on: January 15, 2010, 07:13:16 pm » |
|
Ok.
To display the menu you must be a registered user. Some confidential informations are displayed on the site and only readable from the registered users. Could you transmit me an email address to send you the url, the login / password, and how to display the form ?
Thank's
|
|
|
|
« Last Edit: January 16, 2010, 10:54:07 am by dom34 »
|
Logged
|
|
|
|
|
boldee
|
 |
« Reply #13 on: January 16, 2010, 01:45:13 pm » |
|
Ill pm you some info.
|
|
|
|
|
Logged
|
|
|
|
|
boldee
|
 |
« Reply #14 on: January 18, 2010, 01:18:42 pm » |
|
Ive had a look at your form in the frontend and Im not sure why its doing that, it could be a template issue I guess, to be sure I need to have a look at the form in the backend of your site.
|
|
|
|
|
Logged
|
|
|
|
|