Welcome, Guest
Username: Password: Remember me

TOPIC: Menu Item - Selecting specific record for view

Menu Item - Selecting specific record for view 01 Jun 2012 01:22 #2456

  • geoffr
  • geoffr's Avatar
  • Offline
  • Senior Member
  • Posts: 68
  • Thank you received: 2
  • Karma: 0
My project is coming together well. Great tool!

I'm having trouble working out the following:

When creating a menu item for viewing a specific record, I see that the "Default" field is displayed in the selection popup. When I assign the selection, the view is attached to the record ID. e.g. &cid=157...

Is there a way to attach the record to another field? In our case the record ID will be changing as we update our data. I would like to use a different field as the key. e.g. &myfield=44

Is this possible?

Thanks,
Geoff
Last Edit: 01 Jun 2012 03:34 by geoffr. Reason: clarified question
The administrator has disabled public write access.

Re: Menu Item - Selecting specific record for view 19 Dec 2012 21:46 #6205

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
  • Karma: 64
Edit the modal_grid.php of the concerned item and change the table header (<th>) and the column (<tr>) references to point at the field you want to display.

That should be it.

Hope it helps,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!
The administrator has disabled public write access.
Time to create page: 0.059 seconds

Get Started