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.074 seconds

Just wanted to congratulate you on the J-Cook website / web development tool. In a couple of visits I've had a play around with Cook and have to say I think it is fantastic.  I've played with a number of component builders in the past and yours is certainly looking like the best so far. I'd also like to help you spread the word - I'm really surprised more people aren't excited about this tool. Good luck with the project.
Dean

Get Started