Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / display dropdown field in details view

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

display dropdown field in details view

  • yaltabest@yandex.ru
  • Topic Author
  • Offline
  • Gold
  • Gold
More
11 years 6 months ago #11414 by yaltabest@yandex.ru
display dropdown field in details view was created by yaltabest@yandex.ru
HI.


This code display dropdown field in list view
echo     $this->field->showFieldValue($content,$this->fields['ad_fz'])

How,to display dropdown field in details view ?
More
11 years 6 months ago #11436 by loic
Replied by loic on topic display dropdown field in details view
Hello,

You can try this :
echo $this->field->showFieldValue($this->content,$this->fields['ad_fz'])

Best regards.
  • yaltabest@yandex.ru
  • Topic Author
  • Offline
  • Gold
  • Gold
More
11 years 5 months ago - 11 years 5 months ago #11840 by yaltabest@yandex.ru
Replied by yaltabest@yandex.ru on topic display dropdown field in details view
Thank you very much

How can I put this dropdown field in the the Title of details page ?


$document->setTitle( JText::_('ADSMANAGER_PAGE_TITLE')." ".JText::_($category->name)." - ".$content->ad_headline);


This code does not work
$document->setTitle( JText::_($content,$this->fields['ad_fz'])." ".JText::_($category->name)." - ".$content->ad_headline);
Last edit: 11 years 5 months ago by yaltabest@yandex.ru.
More
11 years 5 months ago #11845 by loic
Replied by loic on topic display dropdown field in details view
Hello,

And by doing this ?
$document->setTitle( JText::_($content->ad_fz)." ".JText::_($category->name)." - ".$content->ad_headline);

Best regards.
  • yaltabest@yandex.ru
  • Topic Author
  • Offline
  • Gold
  • Gold
More
11 years 5 months ago #11848 by yaltabest@yandex.ru
Replied by yaltabest@yandex.ru on topic display dropdown field in details view
It work only with text fields. But do not work with dropdown field.

Your code shows ID of field (number)
More
11 years 5 months ago #11863 by loic
Replied by loic on topic display dropdown field in details view
Hello,

Okay, this might be a problem then, I'm afraid it can't be possible.

I will still make a test and I come back to you.

Best regards.
Moderators: perry
Time to create page: 0.072 seconds
Powered by Kunena Forum