Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] new label system no longer working for me

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

  • MorganL
  • MorganL's Avatar
  • Offline
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
  • Karma: 15
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
The administrator has disabled public write access.

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

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
I already stated that in another post, we're waiting for admin answer.
The administrator has disabled public write access.

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

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
Anything new on this ?
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
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
The administrator has disabled public write access.

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

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
Thanks, will test it tonight
The administrator has disabled public write access.

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

  • VeCrea
  • VeCrea's Avatar
  • Offline
  • Platinum Member
  • Absolute JCook fan
  • Posts: 473
  • Thank you received: 100
  • Karma: 30
Works for me... thanks
The administrator has disabled public write access.
Time to create page: 0.070 seconds

Get Started