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?

More
11 years 2 weeks ago #16368 by loic
Hello,

When I said copy the file, it is to custom the existing file without breaking the original one. You are free to rewrite the whole file if you want.

Now for the override, if you wish to override the list, you need to custom the file default_list.php, the original file is here -> components/com_adsmanager/views/list/tmpl/default_list.php
To override this file, create a new file with the same name here -> templates/your_template/html/com_adsmanager/list/
So the path of the override will be templates/your_template/html/com_adsmanager/list/default_list.php

Now, copy the content of the original file in the override, It will be easier to custom if you do that.

Finally, in the override, the publication date is already displayed in the date column, you need to enable the date column and the display of the date in the configuration of AdsManager if you wish to display it here.

If you wish to display the date somewhere else, copy this code in the column from where you wish to display the date:
<?php echo $this->reorderDate($content->date_created); ?>

And I apologies for my last message, I made a mistake in the URL I gave you.

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

I have seen that in the list view the publish date is showed but in th list view in "expanded mode" is not showed.

Can i show the publish date in the expanded list mode?

Many thanks.

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

In that case, the file to override is default_expand.php. You can use the same line I give you in my last message.

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

Many thanks but where is the default_expand.php file?

I don't find it.

Marco
The following user(s) said Thank You: adarr
  • joomlamalaga
  • Topic Author
  • Offline
  • User
  • User
More
11 years 1 week ago #16484 by joomlamalaga
Replied by joomlamalaga on topic How can i show the publish date in the ads?
Hi,

in the components/com_adsmanager/views/list/tmpl folder there is only default.php file

Marco
The following user(s) said Thank You: adarr
More
11 years 1 week ago #16486 by loic
Hello,

Which version of adsmanager are you using ?

Best regards.
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.068 seconds
Powered by Kunena Forum