After some testing with other templates I think I'm finally stuck with bulletproof. Anyway I have found some minor optical "oddities", while using the diverse options related to the entry-footer.
The "problem"
Let me explain, what I'm talking about ...
... if you make use of the option "Show author in the entry footer" and set that to No, the entry footer will look something like this:
Entry with no category assigned wrote:at 17:25
As you can see, the term Posted is missing in both cases.Entry with category ... wrote:in Some Category at 17:15
Another "issue" arises, if you set all of the following three options to No
- Show author in the entry footer
- Show categories in the entry footer
- Show timestamp in the entry footer
While I must admit, that at least some of these issues are rather "artificial", I said to myself ... let's try to make it even bullet-proofer
The solution
I have no idea, whether my changes will ever make their way into the bullet-proof template, but I thought I'd share my changes anyway.
First of all, we'll have to add a lang-CONSTANT ...
... remember you'll have to translate the new term to your local language!
OPEN
- lang/serendipity_lang_YOUR_LANG.inc.php
- lang/UTF-8/serendipity_lang_YOUR_LANG.inc.php
Code: Select all
@define('POSTED_BY', 'Posted by');
Code: Select all
@define('POSTED', 'Posted');
As there is quite a bunch of changes to make to that file, I decided to offer them as the "tweaked" file and a DIFF to easily see the changes made
Here are my files: I am not sure, whether my "heavy" {IFs} will have any effect on the performance, but I have tested this locally and at least i couldn't find any errors.
Hope this can be useful for anyone else than me
Cheers,
Manfred.