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 / How can i show the publish date in the ads?

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

How can i show the publish date in the ads?

  • joomlamalaga
  • Topic Author
  • Offline
  • User
  • User
More
11 years 2 weeks ago #16161 by joomlamalaga
How can i show the publish date in the ads? was created by joomlamalaga
Hi,

I would like to show the publish date in the ads.

How can i do iy?

Many thanks.

Marco
The following user(s) said Thank You: adarr
More
11 years 2 weeks ago #16196 by loic
Hello,

To do this, you can add those lines of code in the details view:
<?php
    echo $this->content->date_created;
?>

The correct way to cusotm your code is by doing an override of the view you wish to modify.
Here is a guide to do that: www.joomprod.com/support/doc/customizati...c-view-override.html

Best regards.
The following user(s) said Thank You: adarr
  • joomlamalaga
  • Topic Author
  • Offline
  • User
  • User
More
11 years 2 weeks ago #16215 by joomlamalaga
Replied by joomlamalaga on topic How can i show the publish date in the ads?
Hi,

Many thanks for the reply.

Can you tell me in which file i have to add this and in which line?

Then i have to copy this into the html folder into template folder with the same folder as the component, for example if the file i have modified is default.php in the components/com_adsmanager/views/details/tmpl folder i have to put this into the templates/jp-magazine/html/com_adsmanager/views/details folder is it rigth?

Marco
The following user(s) said Thank You: adarr
More
11 years 2 weeks ago #16222 by loic
Hello,

Copy the file components/com_adsmanager/views/details/tmpl/default.php in components/com_adsmanager/views/details/default.php (without the views folder).

Then add the line where you want to display the date :).

Best regards.
The following user(s) said Thank You: adarr
  • joomlamalaga
  • Topic Author
  • Offline
  • User
  • User
More
11 years 2 weeks ago #16240 by joomlamalaga
Replied by joomlamalaga on topic How can i show the publish date in the ads?
Hi,

it doesn't work. www.coema.org/index.php/component/adsman...stas.html?Itemid=387

For sure i am doing something wrong.....

I have read in here www.joomprod.com/support/doc/customizati...c-view-override.html that to do override i have to place the same file modified there.

When you say "Copy the file components/com_adsmanager/views/details/tmpl/default.php in components/com_adsmanager/views/details/default.php (without the views folder)." i don't understand "without the views folder" and you say i have to copy the file in components/com_adsmanager/views/details/default.php but it is not in the templates/jp-magazine/html/com_adsmanager/views/details.....

Sorry but i am a little bit confused.....

MANY THANKS.

Marco
The following user(s) said Thank You: adarr
  • joomlamalaga
  • Topic Author
  • Offline
  • User
  • User
More
11 years 2 weeks ago #16323 by joomlamalaga
Replied by joomlamalaga on topic How can i show the publish date in the ads?
Sorry it is in the list view where i want to put the publish date.

Marco
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.070 seconds
Powered by Kunena Forum