Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Simple question -looking up item 17 Nov 2018 17:53 #15625

  • Ferm
  • Ferm's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 39
  • Thank you received: 6
Apologies if this is a simple question:

I want to send someone a url so that they can edit an item in a table (view) so something like /index.php/?option=com_xyz&view=abc&layout=def&id=10

However, I want to identify the record using another field instead of "id". Can I specify another key instead "id" without forking and coding it? It looks to me is if id is hard coded in orm but I may well have missed it.

Thanks for your help!

Please Log in or Create an account to join the conversation.

Simple question -looking up item 26 Nov 2018 18:06 #15627

Hello.

For me, it is not possible to send a link without the id of your item. rewriting the address does only change the url into the browser. you always need the id of your element to access the page.
the better solution for me is to create a redirect page like this :
window.location.replace("index.php/?option=com_xyz&view=abc&layout=def&id=10");

the joomla SEO setting can hide the url of your item

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.166 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started