Jump to content

Modify news Prestashop back-office


Recommended Posts

Hi,

yes, you can add to it custom articles with javascript, that you can implement in your module to be executed after page has been loaded in the hook hookDashboardZoneOne or in hook hookDashboardZoneTwo :

 
my_custom_article = '<article><h4><a href="#" class="_blank" onclick="return !window.open(this.href);">MYTITLE</a></h4><span class="dash-news-date text-muted">11/16/2016</span><p>TEXT1<a href="#">Read more</a></p><p></p></article><hr>';
$('.dash_news .dash_news_content').prepend(my_custom_article);
 
Regards, Leo
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...