chris.paschen
Chris Paschen
I have a calc element that generates a link to another list based upon the values in the current list; however, the link seems to have a syntax issue (at least that's what it looks like).
Here's what I've got:
In the front-end, the link is being displayed like this (when you put cursor over the link):
However, the actual link/url is:
And clicking on the link results in a lists page with no results.
The 'cmd_yma__component' field is a databasejoin element storing the ID but displaying the name.
There are entries in the list (in the raw database/table) with a 'cmd_yma__component' value of 3, but they are not appearing.
I've tried a number of different 'variations' on the url, including things like this:
This resulted in a full list of EVERY entry - no filtering.
I'm guessing that there is just some problem with my syntax here, but after trying at least a couple dozen variations I can't think of any alternatives (I even tried using encoded char for the '[' and ']' - i.e. %5Bvalue%5D - but that didn't change anything).
Anyone have ANY ideas how to get this to work?
NOTE: I'm using the latest github version as of 2/10/15 on Joomla 3.3.6
Here's what I've got:
PHP:
$typename = 'type name';
$typeid = 3;
$typeInsert = '<a href="http://cmdnet.org/index.php?option=com_fabrik&view=list&listid=63&cmd_yma___component[value][]='. $typeid . '&ItemID=2068">' . $typename . '</a>';
return $typeInsert
In the front-end, the link is being displayed like this (when you put cursor over the link):
Code:
http://cmdnet.org/index.php?option=com_fabrik&view=list&listid=63&cmd_yma___component[value]=3&ItemID=2068
Code:
http://cmdnet.org/index.php?option=com_fabrik&view=list&listid=63&cmd_yma___component%5Bvalue%5D%5B%5D=3&ItemID=2068
And clicking on the link results in a lists page with no results.
The 'cmd_yma__component' field is a databasejoin element storing the ID but displaying the name.
There are entries in the list (in the raw database/table) with a 'cmd_yma__component' value of 3, but they are not appearing.
I've tried a number of different 'variations' on the url, including things like this:
PHP:
$typeInsert = '<a href="http://cmdnet.org/index.php?option=com_fabrik&view=list&listid=63&resetfilters=1&cmd_yma___component[value]='. $typeid . '">' . $typename . '</a>';
I'm guessing that there is just some problem with my syntax here, but after trying at least a couple dozen variations I can't think of any alternatives (I even tried using encoded char for the '[' and ']' - i.e. %5Bvalue%5D - but that didn't change anything).
Anyone have ANY ideas how to get this to work?
NOTE: I'm using the latest github version as of 2/10/15 on Joomla 3.3.6