Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Following a link on a checked out item - 500 ERROR

[FIXED] Following a link on a checked out item - 500 ERROR 30 Sep 2012 07:15 #4144

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 415
  • Thank you received: 132
  • Karma: 47
following a link (URL) on a checked out item
- gives a error 500 - an error has occured

It needs to stay on the same page and give error message
OR
for the error 500 we need something like
"access denied - this item has been checked out by $user->username"

SUGGESTIONS:
- a url link on a checked out item perhaps needs a css class of fly so that the details are visable but not clickable
- maybe a checked out item could be "greyed out" an alternate background colour to define checked out items

Thanks in advance
Last Edit: 30 Sep 2012 07:29 by BTB300.
The administrator has disabled public write access.

Re: Following a link on a checked out item - 500 ERROR 03 Oct 2012 13:08 #4231

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed I think.

If not, wich link are you talking about.
In the grid, it is fixed.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Following a link on a checked out item - 500 ERROR 03 Oct 2012 14:41 #4247

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 415
  • Thank you received: 132
  • Karma: 47
Yes in the grid
Thankyou Again :)
The administrator has disabled public write access.

Re: Following a link on a checked out item - 500 ERROR 03 Oct 2012 15:01 #4249

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
A little tip in the grid :
$row->params->get('tag-checkedout');

Will tell you if the item is checked out.

This is defined in populateState() from classes/jmodel.list.php
Coding is now a piece of cake
The administrator has disabled public write access.

Re: Following a link on a checked out item - 500 ERROR 03 Oct 2012 15:18 #4250

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 415
  • Thank you received: 132
  • Karma: 47
Thanks for the tip,
i am still working out where things are defined in the new version
and your assistance is very much appreciated
The administrator has disabled public write access.
Time to create page: 0.056 seconds

Get Started