Entry modification per category & date format
Posted: Sat Jul 27, 2013 1:20 pm
At this moment I'm modifying a template to suit my needs. I was wondering about several things.
1. Is it possible to create separate entries.tpl files for separate categories so that I can adjust the posting behavior a little bit for different categories? If not, is it possible to specify it per category in the single entries.tpl file somehow/somewhere?
2. Is it possible to display only the entry body on the main page, but the full article, entry & extended body, on a category page? I couldn't find any config options for this anywhere.
3. How do I change the date format? I've tried several things, but they don't seem to stick. I've made a change in the lang/serendipity_lang_en.inc.php and the date format constant looks like this:
This Should display the date as "Saturday 27-07-2013" if I'm not mistaken but it still displays the date as "Saturday, July 27. 2013"
I've added the same line to the lang_en.inc.php file in the template dir just to make sure I covered everything. Language of my blog is set to english, so it should be working. Am i missing something here?
Thanks in advance for your answers
1. Is it possible to create separate entries.tpl files for separate categories so that I can adjust the posting behavior a little bit for different categories? If not, is it possible to specify it per category in the single entries.tpl file somehow/somewhere?
2. Is it possible to display only the entry body on the main page, but the full article, entry & extended body, on a category page? I couldn't find any config options for this anywhere.
3. How do I change the date format? I've tried several things, but they don't seem to stick. I've made a change in the lang/serendipity_lang_en.inc.php and the date format constant looks like this:
Code: Select all
@define('DATE_FORMAT_ENTRY', '%A %d-%m-%Y');
I've added the same line to the lang_en.inc.php file in the template dir just to make sure I covered everything. Language of my blog is set to english, so it should be working. Am i missing something here?
Thanks in advance for your answers