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

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started