Hello.. I want to allow a Self Registration User to sign in to 2 separate FEU groups, and I have allowed this on the Admin section... and it works.
But I want something more:
Both user group forms share some of the fields, and I am trying to "import" the already complete form fields from Group 1, to be presented on the Group2 Form as values for the input fields (i.e.Name, adress, phonenumber).
How can I do this?
SysInfo
Installed Modules
CMSMailer 5.2.2
CMSPrinting 1.0.5
FileManager 1.4.5
MenuManager 1.8.6
MicroTiny 1.2.9
ModuleManager 1.5.8
News 2.15.1
Search 1.7.12
ThemeManager 1.1.8
CGSimpleSmarty 1.8
CGExtensions 1.46.4
CGSmartImage 1.18
CGJobMgr 1.3.4
FormBuilder 0.8.1.1
GBFilePicker 1.3.3
Gallery 2.0.2
ListIt2 1.4.1
SiteMapMadeSimple 1.2.8
NMS 2.9.5
ListIt2XDefs 1.2
MleCMS 1.11.4
AjaxMadeSimple 0.4.0
Polls 1.1.0
CGCalendar 1.14.7
JQueryTools 1.3.5.1
Products 2.23
FrontEndUsers 1.28
SelfRegistration 1.9
CGUserDirectory 1.4.5
CustomContent 1.10
FormBrowser 0.4.2
[SOLVED]Self Registration Module Add to other group template
-
- Forum Members
- Posts: 13
- Joined: Tue Sep 23, 2014 3:28 pm
[SOLVED]Self Registration Module Add to other group template
Last edited by jpcarvalhinho1 on Mon May 25, 2015 7:51 am, edited 4 times in total.
-
- Forum Members
- Posts: 13
- Joined: Tue Sep 23, 2014 3:28 pm
Re: Self Registration Module - Add to other group template
Edited...
This template should already do the trick but is constructed with input type dependency... I guess it is the old way of doing the construction.
and {$rec->value} or {$rec->val} doesn't return any values, hence the HTML output comes as value=""
{$rec|print_r}
returns for instance for the telemóvel field
stdClass Object ( [marker] => [color] => [required] => [name] => 06_telemovel [type] => 0 [prompt] => Telemóvel [val] => [value] => [fldname] => mcecf3sr_ctl_06_telemovel ) 1
This template should already do the trick but is constructed with input type dependency... I guess it is the old way of doing the construction.

{$rec|print_r}
returns for instance for the telemóvel field
stdClass Object ( [marker] => [color] => [required] => [name] => 06_telemovel [type] => 0 [prompt] => Telemóvel [val] => [value] => [fldname] => mcecf3sr_ctl_06_telemovel ) 1
Last edited by jpcarvalhinho1 on Wed May 20, 2015 5:27 pm, edited 2 times in total.
Re: Self Registration Module - Add to other group template
Did you set which fields which group uses in FEU..?
-
- Forum Members
- Posts: 13
- Joined: Tue Sep 23, 2014 3:28 pm
Re: Self Registration Module - Add to other group template
Yes, and for now they are sharing almost all the fields, as "optional" (just for constrution and testing sake)
THe problem with the date type of field, I can see that the page is invoking a Jscript for a datepicker on the "date" type of field...
THe problem with the date type of field, I can see that the page is invoking a Jscript for a datepicker on the "date" type of field...
THis should replace the text input with a datepicker?$(document).ready(function(){
$('input.datepicker').datepicker();
})
-
- Forum Members
- Posts: 13
- Joined: Tue Sep 23, 2014 3:28 pm
Re: Self Registration Module - Add to other group template
Been looking to the .php files to see if I can create an alternate action.anothergroup.php using action.do_edituser.php for instance as workbase, but can't get it right...
Re: Self Registration Module - Add to other group template
Note that's in this forum it's not allowed to post module modifications/hacks.
-
- Forum Members
- Posts: 13
- Joined: Tue Sep 23, 2014 3:28 pm
Re: Self Registration Module - Add to other group template
GAAAhhhh.. code overload... can someone help? at least verify if it is working?
-
- Forum Members
- Posts: 13
- Joined: Tue Sep 23, 2014 3:28 pm
Re: Self Registration Module - Add to other group template
As per indication on the forge, this is the right behavior for this module, at least for now.