[solved] Add SEF slug to custom detail url

aijosh

Member
Hello,

I have a list that is associated with a page but I want the detail view to be associated with another page so I created a custom detail url

index.php?option=com_fabrik&view=details&formid=30&rowid={table___id}&Itemid=111

The issue I'm having is I cant figure out a way to add the sef slug

-Username

to the link.

I tried hardcoding the url
page/details/{formid}/{rowid}-{table___username}

Doesn't work. I get a strange looking url.

PS: {rowid} is always null for me no matter where I use it. I dont know what happened to the {rowid} of my website. Its painful to work with. I usually pick the rowid from the current page's url which sometimes doesn't work correctly or is not possible (so I have to do a database call) and is not scalable.
 
So I kept tinkering around and ended up solving this

index.php?option=com_fabrik&view=details&formid=30&rowid={table___id}-{table___username}&Itemid=111

Didn't try this out initially cos I assumed the rowid would end up being incorrect since there is a string in it but I guess I was wrong.

PS: my {rowid} placeholder still doesn't work
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top