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

TOPIC:

Concat with {tags} 12 Dec 2012 06:22 #6024

Sorry to go on about this but I have tried everything. I can get this to work in the combo, but not in the grid

here is the code
<?php echo JDom::_('html.fly', array(
	'dataKey' => '{forename} {surname}',
        'dataObject' => $row
));
?>

I have rebuilt the project several times but still no success. :huh:

Do I need any other code anywhere else ?

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

Last edit: by dave1167.

Re: Concat with {tags} 15 Dec 2012 16:22 #6135

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
For me it is working.

Are you sure ?
Coding is now a piece of cake

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

Re: Concat with {tags} 16 Dec 2012 14:57 #6152

  • BTB300
  • BTB300's Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 415
  • Thank you received: 132
Hi there,
just a thought but do you have both forename and surname available in the query. That is you have included both in your view / layout?

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

Re: Concat with {tags} 16 Dec 2012 20:18 #6153

  • JoomGuy
  • JoomGuy's Avatar
  • Offline
  • Moderator
  • Moderator
  • Joomla Enthusiast, Lover of Cooking
  • Posts: 1115
  • Thank you received: 195
@BTB300 you might be right so yes, @dave1167, it would be worth checking that you have all of the fields available, however, I don't believe this is your issue as in your other post on the topic, you stated that it was working in the form

@BTB300 & @admin
On second thoughts and just to check, do the {placeholders} actually have to reference existing fields on the respective layout or does it render them automatically through the join?

Thanks,

Gez
Need help with your Cook/Joomla Project? . PM me to find out what I can help with. NO time wasters please!!!

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

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