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

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started