hi
i am making good progress in my install - started today with fresh dnld/install
i would like to change my calender to display one letter for each day of the week...
where is this done -- ??
also - how can we add meta tags for desc and keywords that would pick up element sof each page load to help in getting good SERP's
we are using the Serendipity Administration Suite
also how do we load new capabilities, plugins
thank you
calender - change mu tu we to m t w - and meta tags
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: calender - change mu tu we to m t w - and meta tags
Hi!
You can edit the template file plugin_calendar.tpl (copy it over from templates/default/ to your own template, if you created any). Inside that file, search for the output of the day name, that's usually:
and change that to:
Regards,
Garvin
You can edit the template file plugin_calendar.tpl (copy it over from templates/default/ to your own template, if you created any). Inside that file, search for the output of the day name, that's usually:
Code: Select all
{$dow.date|@formatTime:"%a":false}
Code: Select all
{$dow.date|@formatTime:"%a":false|truncate:1}
Either you put them into the index.tpl template file, or (better) you use the event plugin "HTML Nugget on Page" where you can put arbitrary HTML code inside the configuration of that plugin and put that to the HEAD section, also via the configuration of the plugin.also - how can we add meta tags for desc and keywords that would pick up element sof each page load to help in getting good SERP's
Through the link "Manage plugins". You can download plugins through http://Spartacus.s9y.org/ - or if you install the Spartacus event plugin, you can install new plugins easily through that admin panel.also how do we load new capabilities, plugins
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: calender - change mu tu we to m t w - and meta tags
Tiny bit of clarification - some templates, such as the new default bulletproof, already have a custom file plugin_calendar.tpl - so be sure to edit that one, and not copy it from the /default/ template folder.
The HTML Meta-Tags plugin can provide site-wide defaults for meta descriptions and keywords and can also be used to provide unique variations for each entry.
The HTML Meta-Tags plugin can provide site-wide defaults for meta descriptions and keywords and can also be used to provide unique variations for each entry.
=Don=
Re: calender - change mu tu we to m t w - and meta tags
ok guys
i am very confused...
i have searched the entire serendipity folder -- and have found nothing that i can seemingly edit to change days of the week in calendar...
as don suggested...
i looked at the file and have found this code where i would expect the days of the week between the advance / previous arrows in the calender...
This data must be stored in db? or some other file??
i am very confused...
i have searched the entire serendipity folder -- and have found nothing that i can seemingly edit to change days of the week in calendar...
as don suggested...
i looked at the file and have found this code where i would expect the days of the week between the advance / previous arrows in the calender...
Code: Select all
<b><a style="white-space: nowrap" href="{$plugin_calendar_head.uri_month}">{$plugin_calendar_head.month_date|formatTime:"%B '%y":false}</a></b>
Re: calender - change mu tu we to m t w - and meta tags
i exported the db - did search for
'We"
this is not called from db...
where are the days of the weeK
thank you
'We"
this is not called from db...
where are the days of the weeK
thank you
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: calender - change mu tu we to m t w - and meta tags
Garvin was not suggesting you modify the text of the weekdays, rather he was suggesting you modify the template file responsible for its output to display only the first letter.
In the bulletproof template, you will find a file named plugin_calendar.tpl. Open this file with a regular text editor. At the end of line 35, you will find this text:
Change truncate:2 to truncate:1. Save the file.
In the bulletproof template, you will find a file named plugin_calendar.tpl. Open this file with a regular text editor. At the end of line 35, you will find this text:
Code: Select all
{$dow.date|@formatTime:"%a":false|@truncate:2:'':true}</th>
=Don=