• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

show elementname in list intro

venekamp

Member
Hi ,
My question is
What plceholders to use in the contectplugin for an element to identify the rowid?

In the list-intro for my actionlist I want to show the categorie the action is assigned. That is a databasejoin
I used the syntax as given in the content plugin
That works fine when I use a hardcoded rowid:
{fabrik view=element list=149 rowid=34 element=fluve_action___fk_categorie} shows the expected value "Teelttechnieken"
However I want to show the row identified by the unique key: fluve_action___id

According the documentation my idea is that this shoud work:
{fabrik view=element list=149 rowid=[fluve_action___id] element=fluve_action___fk_categorie}
Result is a blanc.
I also tried "rowid=[fluve_action___id_raw]"
What is the right syntax?
 
You really mean LIST intro? You can't use element placeholders there, from which row should the value of [table___element] be taken?
 
Last edited:
Hi Troester,
Hidden Feature discovered?
I was just playing around with the intro to pimp my categorielist and this looks much better then showing the categorie in every row.
This section of my site shows the backgrounds for what I do in my kitchengarden. If this works I will add this to my life website.
Screendump of my list intro with an other example then above:
upload_2022-1-10_10-55-6.png
From my menuitem I show the categories
upload_2022-1-10_11-8-26.png
And clicking on Details (standard Fabrik link) gives:

Shows
upload_2022-1-10_10-56-58.png
 

Attachments

  • upload_2022-1-10_10-45-7.png
    upload_2022-1-10_10-45-7.png
    33.4 KB · Views: 49
Not sure what you mean.
Yes, rowid=34 element=some_element
will show the value of the element of row 34,
but I understood you want the 34 to be "dynamic"

If you are coming via a related data "View" button you'll have the "related data dbjoin value" as a URL parameter, this can be used in the intro of the "child" list (but it will be only set IF you are coming via the button).
listid=your-dbjoin-list rowid=[your-element-in-URL] element=your-dbjoin-list-label

I was just playing around with the intro to pimp my categorielist and this looks much better then showing the categorie in every row
Do you know the list's "Group by" feature?
http://fabrikar.com/forums/index.php?wiki/list-edit/#group-by
 
Last edited:
Troester,
I am aware of the group by, but did not need it so far.
Group by is even a better solution as the tags element also comes to this list and artikel from different categorie could be listed due to the tags.
But ..
Now I see that the numeric value of my fk_categorie is shown and not the label I assigned in the database-join.
I tried
{fluve_flblog_artikel___fk_categorie_raw}
{fluve_flblog_artikel___fk_categorie}

Solved Acces setting was not set to public .

Regards
Klaas
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top