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
  • Offline
  • 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
  • Offline
  • 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
  • Offline
  • 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.064 seconds

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started