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

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

Amazing Tool !
And only tool I know that allows complete Scaffolding in terms of component creation. It really saves loads of time (actually much more than that). Simple architecture enables quick and painless changes at any time. Code is clean and consintent. It's just... what's the word... neat! :) Great work! You should definetely try this one!

pi_wo (JED)
         

Get Started