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

TOPIC:

[FIXED] new label system no longer working for me 22 Nov 2012 23:36 #5625

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
Tested the new labelkey system earlier and it worked fine. Downloaded a new version of my projet since and now it does not seem to work any more

I am altering
<field name="coroner"
				label="MOLExxx_FIELD_CORONER"
				alias="_coroner_name"
				filter="INT"
				listKey="id"
				labelKey="surname"
				type="ckcombo"
				nullLabel="MOLExxx_JSEARCH_SELECT_CORONER"/>

in the XML form file to
<field name="coroner"
				label="MOLExxx_FIELD_CORONER"
				alias="_coroner_name"
				filter="INT"
				listKey="id"
				labelKey="<%title%> <%surname%>, <%firstname%>"
				type="ckcombo"
				nullLabel="MOLExxx_JSEARCH_SELECT_CORONER"/>

and I am getting

Fatal error: Call to a member function getFieldsets() on a non-object in /home/content/86/8981786/html/_websites/xxx.info/administrator/components/com_xxxfuneral/views/funeralitem/tmpl/funeralitem_basicdetails.php on line 22

I have tried with just <%surname%> as an experiment and get exactly the same error
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

Re: new <% %> label system no longer working for me 23 Nov 2012 05:33 #5626

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
I already stated that in another post, we're waiting for admin answer.

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

Re: new <% %> label system no longer working for me 26 Nov 2012 16:52 #5644

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
Anything new on this ?

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

Re: new <% %> label system no longer working for me 28 Nov 2012 13:20 #5672

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

'<%' and '%>' are not possible in XML form. It wasn't a good choice to use these chars.

So I decided to change the patterns.
use { } instead. (Much better)

<% %> are still handled for the moment in JDom.

In your example
labelKey="{title} {surname}, {firstname}"
Coding is now a piece of cake

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

Re: new <% %> label system no longer working for me 28 Nov 2012 13:49 #5679

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
Thanks, will test it tonight

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

Re: new <% %> label system no longer working for me 28 Nov 2012 22:22 #5688

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
Works for me... thanks

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

  • Page:
  • 1
Time to create page: 0.089 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