• Fabrik V4.4.1 is now available.

    This version corrects the Admin issue introduced by V4.4. V4.4.1 is available through the Joomla Updater or for download through your My Downloads area of our website.

    Turns out a code change intended for our 5.0dev branch inadvertantly got pushed to the 4.x branch (by me, duh!). The javascript structure in 5.0 will change considerably and part of that change took effect with the inadvertant code change.

    We have reverted the code change and released 4.4.1. V4.4 has been retracted.

    Sorry for any inconvenience.

  • A new version of Full Calendar is now available.

    See the details here

Fixed rowid placeholder

diego_godina

New Member
Hey guys,

Is the {rowid} placeholder still valid for the J4? As soon as I updated this placeholder it stopped working.

Furthermore, are there new rules for using placeholders in modules?
 
I have a list and I want to put a module inside the details. So I created a fabrik list module and put it in a display element to show only in details. About the module configuration, I added some pre filters using the placeholder {rowid} and the format table___name_element
 
Still not sure what you put where.

But
Do you have SEF enabled?
Is it working without SEF?
 
Some routing issue, it seems with SEF on rowid is missing in $_POST or so.

Was it working with SEF on in J!3?
 
I don't know if there's a routing issue or if J!4 has changed here.
Can you try to add in \libraries\fabrik\fabrik\fabrik\Helpers\Worker.php after line 804
Code:
                //J!4 & SEF: $_REQUEST is empty, take also inputVars
                $app = Factory::getApplication();
                $inputVars = $app->getInput()->getArray();
                $inputVars = $f->clean($inputVars,'string');
 
Oops, most important line is missing
Code:
                //J!4 & SEF: $_REQUEST is empty, take also inputVars
                $app = Factory::getApplication();
                $inputVars = $app->getInput()->getArray();
                $inputVars = $f->clean($inputVars,'string');
$searchData = is_null($searchData) ? $inputVars : array_merge($inputVars, $searchData);
 
I was getting ready to report this same issue.

I have a form with footer text as

{fabrik view=list id=2 showfilters=0 show-title=0 t2___t1id=[rowid]}

With SEF enabled, the resulting query did not substitute the rowid placeholder. Query restriction reported as:

WHERE ( `t2`.`t1id` = '{rowid}' ) LIMIT 10

Your suggested change corrected the issue and restriction now substituting:

WHERE ( `t2`.`t1id` = 1 ) LIMIT 10
 
Last edited:

Members online

No members online now.
Back
Top