Use finish publishing date as the used date?

Free responsive Joomla 2.5 and 3.x module to present your content with easy and intuitive way.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Thu Jan 30, 2014 8:09 pm
I am putting together a website for a theatre, so we are using nsp to show the upcoming events - as the items finish publishing on the date of the event is it possible to adjust the 'Used date" dropdown within the NSP module control panel to include the date that the article is to finish publishing?

Or would this need to be a paid alteration?

Thanks in advance.

Laus.
User avatar
Senior Boarder

GK User
Sat Feb 01, 2014 10:10 am
Hello,

I guess that you are using standard joomla articles - if yes - please open file modules/mod_news_pro_gk4/gk_classes/gk.source.joomla.php and change line:

Code: Select all
content.created AS date,


to:

Code: Select all
content.publish_down AS date,


it should helps :)
User avatar
Administrator

GK User
Mon Feb 03, 2014 11:07 am
You guys are amazing - thank you!

Just as a note to others, if you want to do this on NSP GK5 as I did just also, change the same details in modules/mod_news_pro_gk5/data_sources/com_content/model.php
User avatar
Senior Boarder


cron