The problem with this method is that it doesn't update itself automatically when a new post is published in that particular category, so I'm aiming to replace it with the NewsShowPro module. I've now stripped out the various items of a post in the administration panel of the module and with CSS I can now start styling them.
However, I'm struggling with the date. In the admin panel of the module I've set for the date "%d %b", so it only shows the day and the month when the article was published. What I would like to do is split this up further and have each of them in a seperate div class, so I can style them seperately using CSS.
At the moment it places everthing within <div class="nsp_art">, but what I would like to have is have it place it instead in:
- Code: Select all
<div class="nsp_art">
<div class="date">
<div class="day">%d - day</div>
<div class="month">%b - month</div>
</div>
<div class="content">header, text, author, comments, readmore</div>
</div>
Now, I've looked inside the engine.js file as I assume this is where I need to change things, but given that I'm not a javascript programmer I'm a bit at a loss. Any ideas?