This is a update-topic for http://board.s9y.org/viewtopic.php?t=9561 <---- this page.
I just want to change 4 things. Can someone help me with at least one of these problems?
1. How to change this text?
2. How to change this text?
3. How to create a header with background image?
4. I want first 16 and then april. (16 April: TITLE)
Use this screenshot for the numbers:
http://img177.imageshack.us/img177/7443/4thingseu8.png
Update: Change text
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: Update: Change text
In the future - I suggest you simply add to the thread you already started so that others might benefit from the Q&A.holysjit wrote:This is a update-topic for http://board.s9y.org/viewtopic.php?t=9561 <---- this page.
It depends on the template - which one are you using? If your template does not set the value of these links in the admin panel, they are most likely hard coded in your template's index.tpl file.1. How to change this text?
I do not use that plugin, so I am not sure, and it looks like you have tried to find the source of this text in your other thread. Need to pass on this one - hopefully someone else has an answer.2. How to change this text?
A background image for the categories title?????3. How to create a header with background image?
Several possibilities here. Your screenshot looks like it might be one of the Andreas derivitives. If so, using Andreas08 as an example, the place to change that is in entries.tpl, specifically: {$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY_ANDREAS}. So we can see that the author created a variable (DATE_FORMAT_ENTRY_ANDREAS) to hold the date format (although, they did not have to). In the corresponding language file, I found the variable defined here: @define('DATE_FORMAT_ENTRY_ANDREAS', '%b %e:');. Interpretation of that is : %b - abbreviated month name according to the current locale, followed by a space, followed by %e - day of the month as a decimal number, a single digit is preceded by a space (range 1 to 31). You can simply swith the order of %b and %e if that is all you want to change. If you want to change more than that, here is a complete list of the available date format codes: http://smarty.php.net/manual/en/languag ... format.php4. I want first 16 and then april. (16 April: TITLE)
Also - those codes could have been provided directly to the entries.tpl, rather than defining them in a separate language file (ie {$entry.timestamp|@formatTime:"%e %b"}
If your site is live anywhere, it is often helpful to post a URL so people can see it in action.
=Don=
Thanks for the reply. Yes, I used Andreas08.
www.thejokers.nl is my website.
Your date-switch-thing didn't work.
@define('DATE_FORMAT_ENTRY', '%A, %e %B %Y');
@define('DATE_FORMAT_SHORT', '%d-%m-%Y %H:%M');
I switched them and it didn't work!?
www.thejokers.nl is my website.
Your date-switch-thing didn't work.
@define('DATE_FORMAT_ENTRY', '%A, %e %B %Y');
@define('DATE_FORMAT_SHORT', '%d-%m-%Y %H:%M');
I switched them and it didn't work!?
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
You are making these changes to the language file WITHIN the template folder, correct? The default variable name for andreas08 seems to be DATE_FORMAT_ENTRY_ANDREAS unless you changed it - not DATE_FORMAT_ENTRY or DATE_FORMAT_SHORT - those look more like variables in the global language file.holysjit wrote:Thanks for the reply. Yes, I used Andreas08.
www.thejokers.nl is my website.
Your date-switch-thing didn't work.
@define('DATE_FORMAT_ENTRY', '%A, %e %B %Y');
@define('DATE_FORMAT_SHORT', '%d-%m-%Y %H:%M');
I switched them and it didn't work!?
=Don=