Got a few questions about customizing the admin side of Serendipity.
I'd like all entry images to have a 1px border. I understand this should be done with CSS and not the border= tag but I am unsure where/what CSS needs to be added/modified to make this happen.
Secondly, I'd like all new entries to have a snippet of code automatically inserted at the end (google ads or some other ads) but again don't know what needs to be edited to make this happen.
TIA
Rod
A few questions
-
MySchizoBuddy
- Regular
- Posts: 340
- Joined: Sun Jun 12, 2005 5:28 am
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
DortoH, for your adsense blocks you have two opportunities.
First is to edit your entries.tpl template. Search the {$entry.body} location and after that, just add your HTML code for every entry.
The second opportunity is more flexible, but more complex. For this you can use so called "static blocks" for your entries. Use and install the "serendipity_event_includeentry" plugin, which will give you a new admin link item ("Static Blocks" or "Blocks") where you can add (multiple) Adsense blocks. Then when inserting an entry, in the "advanced properties" section you'll be able to append those blocks to your entries. The configuration of the plugin even allows you to insert random blocks every second or third article, it's really flexible to use. Some of its use is documented in a blog entry on blog.s9y.org: http://blog.s9y.org/archives/62-Static- ... vised.html
HTH,
Garvin
First is to edit your entries.tpl template. Search the {$entry.body} location and after that, just add your HTML code for every entry.
The second opportunity is more flexible, but more complex. For this you can use so called "static blocks" for your entries. Use and install the "serendipity_event_includeentry" plugin, which will give you a new admin link item ("Static Blocks" or "Blocks") where you can add (multiple) Adsense blocks. Then when inserting an entry, in the "advanced properties" section you'll be able to append those blocks to your entries. The configuration of the plugin even allows you to insert random blocks every second or third article, it's really flexible to use. Some of its use is documented in a blog entry on blog.s9y.org: http://blog.s9y.org/archives/62-Static- ... vised.html
HTH,
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/
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
