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

TOPIC:

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

  • BTB300
  • BTB300's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Posts: 415
  • Thank you received: 132
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

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

Last edit: by BTB300.

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

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

If not, wich link are you talking about.
In the grid, it is fixed.
Coding is now a piece of cake

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

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

  • BTB300
  • BTB300's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Posts: 415
  • Thank you received: 132
Yes in the grid
Thankyou Again :)

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

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

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

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

  • BTB300
  • BTB300's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Posts: 415
  • Thank you received: 132
Thanks for the tip,
i am still working out where things are defined in the new version
and your assistance is very much appreciated

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

  • Page:
  • 1
Time to create page: 0.083 seconds
Je suis vraiment impressionné par la puissance de COOK et encore plus admiratif de ton travail. A ce jour je crois que c'est ce que j'ai vu de plus abouti dans le domaine de la conception d'extension pour Joomla!
felichon (Forum)  

Get Started