hi guys🙂 im confused on how to get this to work.
i got a form using the redirecting url event where i have this :
url:
http://www.bsc-community.com/index.php
params:
option=com_chronoconnectivity
view=connection
Itemid=205
that url is for a connection but the url is taken from a link i made in joomlas menu´s linking to a connection
but when i press the Submit button it processes the url but gives me a empty page as it not redirecting correctly i cant see the url as cf persist the previous url for the form.
but i know the link works when i press it from the menu. so my question to you lot out there is why is that link not working with the redirect url event ?
the only theory i have is that im missing the connection name in "view" param. which is BSC_generic
so in sense it looks like view=bsc_generic but im not sure. hence i need little help on the matter🙂
hope one can help out.
regards
maddragon151
i got a form using the redirecting url event where i have this :
url:
http://www.bsc-community.com/index.php
params:
option=com_chronoconnectivity
view=connection
Itemid=205
that url is for a connection but the url is taken from a link i made in joomlas menu´s linking to a connection
but when i press the Submit button it processes the url but gives me a empty page as it not redirecting correctly i cant see the url as cf persist the previous url for the form.
but i know the link works when i press it from the menu. so my question to you lot out there is why is that link not working with the redirect url event ?
the only theory i have is that im missing the connection name in "view" param. which is BSC_generic
so in sense it looks like view=bsc_generic but im not sure. hence i need little help on the matter🙂
hope one can help out.
regards
maddragon151
Hi madddragon151,
Please drag a Debugger action into the On Submit event, then submit the form. The debug output should show you the URL that is being created.
At a guess adding a chronoconnection= as well may help.
Bob
Please drag a Debugger action into the On Submit event, then submit the form. The debug output should show you the URL that is being created.
At a guess adding a chronoconnection= as well may help.
Bob
hi Bob thanks for replying i looked at the debug info which you find here under as well :
hm still no go i even tried your suggestion with the extra param as you can see from the debug above it puzzles me that it wont show anything
if you don't mind can you check my url above to see if i put it to getter correct.
cheers
Data Array:
Array
(
[option] => com_chronoforms
[token] => 439c82044a6efa2833af9629775650cd
[chronoform] => BSC_generic_View
[event] => submit
[Itemid] =>
[input_submit_2] => Return
[4441b812854b60dd866c8f1f41cf2c2e] => 1
[redirect_url] => http://www.bsc-community.com/index.php?option=com_chronoconnectivity&view=connection&chronoconnection=BSC_generic&Itemid=205
)
Validation Errors:
Array
(
)
Debug Data
redirect_url
redirect_url_target_url: http://www.bsc-community.com/index.php
Redirect URL: http://www.bsc-community.com/index.php?option=com_chronoconnectivity&view=connection&chronoconnection=BSC_generic&Itemid=205
hm still no go i even tried your suggestion with the extra param as you can see from the debug above it puzzles me that it wont show anything
if you don't mind can you check my url above to see if i put it to getter correct.
cheers
i had another crack at it with no luck where i tried few different combinations of query strings i seen in your guides but with no luck which leads me to the conclusion that you cant directly link to a connection it apparently needs to go through joomlas menu system and link that way that works.
not sure what else i can try im hoping some one has it working some where and perhaps can show me example on how there url is put to getter.
my alternative is to make it all through cf4 as i know direct urls work with forms. which ofc i would like to avoid
well hopefully one around might have an idea🙂
thanks in advance.
not sure what else i can try im hoping some one has it working some where and perhaps can show me example on how there url is put to getter.
my alternative is to make it all through cf4 as i know direct urls work with forms. which ofc i would like to avoid
well hopefully one around might have an idea🙂
thanks in advance.
Hi maddragon151,
This URL seems to work OK
http://www.bsc-community.com/index.php?option=com_chronoconnectivity&chronoconnection=BSC_generic but if I add the ItemID I'm taken to a login page so I assume that the Menu Item is for Registered Users only?
Bob
PS I don't think that view=connection does anything? But I could be wrong.
This URL seems to work OK
http://www.bsc-community.com/index.php?option=com_chronoconnectivity&chronoconnection=BSC_generic but if I add the ItemID I'm taken to a login page so I assume that the Menu Item is for Registered Users only?
Bob
PS I don't think that view=connection does anything? But I could be wrong.
hi bob thanks for you reply yes the section with the system im making is closed of for the public atm so you would get the login there.
i tried the link you post with out the itemid it seams then that the path to take is to remove the itemid query string if you want to link back to it as itemid is only used with joomlas menu system and in this case im not using the menu system to link back but the CF is and its not using the menu system.
so by using the url with out itemid then solves this actually. tho i have to look at the permissions i did not know you could access the url directly as you wrote it.🙂 thanks
tho im bit unsure if link to url like the one you posted is correct way to do it but it works.
thanks again.
i tried the link you post with out the itemid it seams then that the path to take is to remove the itemid query string if you want to link back to it as itemid is only used with joomlas menu system and in this case im not using the menu system to link back but the CF is and its not using the menu system.
so by using the url with out itemid then solves this actually. tho i have to look at the permissions i did not know you could access the url directly as you wrote it.🙂 thanks
tho im bit unsure if link to url like the one you posted is correct way to do it but it works.
thanks again.
I forgot to ask as well. is it possible to use joomlas view groups to sort out the viewing access for the connections and forms or is that only possible by joomlas menu´s and modules ?
atm i connections you can set groups but no view groups as far i can see?.
atm i connections you can set groups but no view groups as far i can see?.
Hi maddragon151,
In ChronoForms there is an Authenticator action that will allow you to limit access to specific User Groups; In ChronoConnectivity there are Permission settings that set permissions for View, Edit, Delete, etc.
Bob
In ChronoForms there is an Authenticator action that will allow you to limit access to specific User Groups; In ChronoConnectivity there are Permission settings that set permissions for View, Edit, Delete, etc.
Bob
cheers think my may formulated that in the wrong way there.
i have been playing around with the user groups for the permissions and view,edit in connections but the thing im after and to find out if bot cc and cf can make use of joomlas view groups instead of the user groups. reason why is that the view group in joomla can consist of number of user groups and with it control who se what that way instead buy individual user groups
hope i explain it better this time🙂 sorry.
i have been playing around with the user groups for the permissions and view,edit in connections but the thing im after and to find out if bot cc and cf can make use of joomlas view groups instead of the user groups. reason why is that the view group in joomla can consist of number of user groups and with it control who se what that way instead buy individual user groups
hope i explain it better this time🙂 sorry.
Hi maddragon151,
Sorry, my ignorance but I've never heard of a Joomla! View Group?
Bob
Sorry, my ignorance but I've never heard of a Joomla! View Group?
Bob
hi bob i can understand that as i just realized that's not what it is called sorry for that
but the correct word is : Access Levels or Viewing Access Levels as they also called under user manager each access level contains a certain number of user groups and all those user groups then get the viewing access level for instance my connection this way i wont have to put all the different user groups into the connection just one for the viewing access.
but the correct word is : Access Levels or Viewing Access Levels as they also called under user manager each access level contains a certain number of user groups and all those user groups then get the viewing access level for instance my connection this way i wont have to put all the different user groups into the connection just one for the viewing access.
Hi maddragon151,
Thank you, I understand now. There's nothing that I know of in ChronoForms (or CC) that uses Access Levels, and I don't know if Max has any plans to add it.
You can add control in ChronoForms using a Custom Code action in the ON Load event. I think that the code for getting a User's Access Levels is something like this:
Bob
Bob
Thank you, I understand now. There's nothing that I know of in ChronoForms (or CC) that uses Access Levels, and I don't know if Max has any plans to add it.
You can add control in ChronoForms using a Custom Code action in the ON Load event. I think that the code for getting a User's Access Levels is something like this:
<?php
$user =& JFactory::getUser();
$user_levels = $user->getAuthorisedViewLevels();
// . . .
So you could then check access with // . . .
$ok_levels = array( 3, 4 );
if ( !in_array($ok_levels, $user_levels) ) {
// do something
}
?>
Bob
Bob
This topic is locked and no more replies can be posted.