Different styles for archives and permalink
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
Different styles for archives and permalink
How complicated would it be to make the archives pages and pages showing single entries different from the opening page?
I am used to a weblog where all the blogroll etc. was only on the front, and not on the back.
I see that the headers are different (I want to change the subheader to lowercase, which I have already done once but I lost it when I updated the bulletproof template).
The problem is this: I use Google Adsense, and I get a lot of ads for translation companies that I don't actually support. I leave them there, but if I have my blogroll throughout, I get exactly the same ads everywhere. Whereas I am used to getting quite a variety for varied topics.
Of course, there's a lot to be said for having all the sidebars throughout, but I'd like to change the Adsense results.
Margaret
I am used to a weblog where all the blogroll etc. was only on the front, and not on the back.
I see that the headers are different (I want to change the subheader to lowercase, which I have already done once but I lost it when I updated the bulletproof template).
The problem is this: I use Google Adsense, and I get a lot of ads for translation companies that I don't actually support. I leave them there, but if I have my blogroll throughout, I get exactly the same ads everywhere. Whereas I am used to getting quite a variety for varied topics.
Of course, there's a lot to be said for having all the sidebars throughout, but I'd like to change the Adsense results.
Margaret
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Check out the show/hide sidebars plugin. You can specify which sidebars to display for different categories. I have never used it, but if I understand correctly, you could have different adsense html nuggest each fetching different ad content targeted to that particular category.
Again - I have never tried it, but you might want to see if it resolves at least a portion of your request.
Again - I have never tried it, but you might want to see if it resolves at least a portion of your request.
=Don=
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
No, that wouldn't do what I want. I have some entries on quite irrelevant topics, such as zeppelins, German food, or poetry, and when one of these was viewed alone on the page, the Adsense ads would follow it. They might come into the category 'trivia', but there is no zeppelin category.
I am assuming it would be too much effort to change the layout of the other pages, so probably the best approach would be to simply remove the whole blogroll and put it on a static page.
The other thing I want to do is to reverse the sequence of blog name and entry header on the click-through pages. In the bulletproof version I'm using, the word TRANSBLAWG is in huge uppercase and the subheader in smaller uppercase. I know I can change that smaller uppercase to lowercase, although it needs a lot of reloading to make sure the umlauts are there. But on the other pages, the header is in the giant uppercase and the word TRANSBLAWG in smaller uppercase. My headers are usually English and German and can be very long, so they look weird in giant script. In this case I would have the word Transblawg first in larger uppercase, and I'd have to be sure I kept it clickable to revert to the home page, and the entry header in the smaller font (lowercase I hope).
I'm assuming this is doable by me when I get round to it?
TIA
Margaret
I am assuming it would be too much effort to change the layout of the other pages, so probably the best approach would be to simply remove the whole blogroll and put it on a static page.
The other thing I want to do is to reverse the sequence of blog name and entry header on the click-through pages. In the bulletproof version I'm using, the word TRANSBLAWG is in huge uppercase and the subheader in smaller uppercase. I know I can change that smaller uppercase to lowercase, although it needs a lot of reloading to make sure the umlauts are there. But on the other pages, the header is in the giant uppercase and the word TRANSBLAWG in smaller uppercase. My headers are usually English and German and can be very long, so they look weird in giant script. In this case I would have the word Transblawg first in larger uppercase, and I'd have to be sure I kept it clickable to revert to the home page, and the entry header in the smaller font (lowercase I hope).
I'm assuming this is doable by me when I get round to it?
TIA
Margaret
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Perhaps I am not understanding your intent. Do you only want things like your adsense and blogroll ONLY on the start page, and not on ANY single entry page?Zirbelholz wrote:No, that wouldn't do what I want. I have some entries on quite irrelevant topics, such as zeppelins, German food, or poetry, and when one of these was viewed alone on the page, the Adsense ads would follow it. They might come into the category 'trivia', but there is no zeppelin category.
I am assuming it would be too much effort to change the layout of the other pages, so probably the best approach would be to simply remove the whole blogroll and put it on a static page.
Changing the size or case of the banner links is quite simple. Changing what they actually display is not quite as simple. s9y determines what that the text should actually be. On your start page, the blog name is on top, and the blog description is on bottom. On detailed entry pages, the top line is the entry title, and the bottom line is your blog name.Zirbelholz wrote:The other thing I want to do is to reverse the sequence of blog name and entry header on the click-through pages. In the bulletproof version I'm using, the word TRANSBLAWG is in huge uppercase and the subheader in smaller uppercase. I know I can change that smaller uppercase to lowercase, although it needs a lot of reloading to make sure the umlauts are there. But on the other pages, the header is in the giant uppercase and the word TRANSBLAWG in smaller uppercase. My headers are usually English and German and can be very long, so they look weird in giant script. In this case I would have the word Transblawg first in larger uppercase, and I'd have to be sure I kept it clickable to revert to the home page, and the entry header in the smaller font (lowercase I hope).
I'm assuming this is doable by me when I get round to it?
TIA
Margaret
The info is changing, but it is being changed before the index.tpl file loads. The first line is created by the smarty variable $head_title, and the second line is $head_subtitle. So, before the index.tpl file is loaded, each of these values have been generated. So, on your start page, $head_title is equal to your blog title.... but on a single entry page, $head_title is equal to the entry title and $head_subtitle gets set to your blog title. I can think of a way to always make the first line equal to the blog title, but cannot think of a way to change the second line (subtitle) in the manner you want. Perhaps Garvin or someone more aware of the available smarty variables can provide insight.
=Don=
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
1. I want ads everywhere, but I do not want them always to base themselves on law and translation, which they will if they 'see' my blogroll. In the old MT blog, there would be a page with one entry on it and no blogroll, calendar etc. I used the kind of text ads that produce a list of text links. I like the way they were always different for every entry. - I realize I can change the topic of ads through Google, but I don't want to do that, in particular I don't want to ban all the legal translation ads because I suspect that's what people click on the most!
2. Thank you. I will take that in gradually. My main desire is that the subheading shouldn't be in giant letters. If it is easier to leave it before the blog title, that is not so bad. It sounds as if I can do that.
Margaret
2. Thank you. I will take that in gradually. My main desire is that the subheading shouldn't be in giant letters. If it is easier to leave it before the blog title, that is not so bad. It sounds as if I can do that.
Margaret
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
I'm afraid I just do not have that much experience with ads... maybe Carl will chime in here as he has quite a bit more experience with them than I.
Part 2 is simple. You are using bulletproof with the blue colorset. In the stylesheet blue_style.css, look for the following:
#serendipity_banner h1 is the first line, and h2 is the second line. You can adjust those font properties to whatever you prefer.
Part 2 is simple. You are using bulletproof with the blue colorset. In the stylesheet blue_style.css, look for the following:
Code: Select all
#serendipity_banner h1 {
font-weight: bold;
font-size: 140%;
text-transform: uppercase;
letter-spacing: .3em;
font-size: 180%;
padding: 0.25em;
}
#serendipity_banner h2 {
font-weight: normal;
font-size: 100%;
text-transform: uppercase;
letter-spacing: .3em;
font-size: 130%;
padding: 0.25em;
}=Don=
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
you can also change the apperance of the single entry detail page by editing your index.tpl template and checking the "$is_single_entry" variable. If it is true, you are viewing a single entry, and can for example hide any sidebar creation (by putting an Smarty IF-Check around the function where sidebars are emitted).
HTH,
Garvin
you can also change the apperance of the single entry detail page by editing your index.tpl template and checking the "$is_single_entry" variable. If it is true, you are viewing a single entry, and can for example hide any sidebar creation (by putting an Smarty IF-Check around the function where sidebars are emitted).
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/
-
carl_galloway
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
Sorry guys, missed this thread and Don's call.
Margaret have you tried using the adsense begin and end tags?
<!-- google_ad_section_start -->
<!-- google_ad_section_end -->
Simply throw them into your entries.tpl at the beginning and end of the file, although if you want more accurate results, shove the end tag just above the page footer (next previous links)
Margaret have you tried using the adsense begin and end tags?
<!-- google_ad_section_start -->
<!-- google_ad_section_end -->
Simply throw them into your entries.tpl at the beginning and end of the file, although if you want more accurate results, shove the end tag just above the page footer (next previous links)
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
Carl,
I haven't looked at the entries.tpl file properly yet, so I don't understand what you're saying. I have some ads in a html nugget. Are you saying that if I put them in the entries.tpl, they could be persuaded not to read the sidebars? Or what is the different effect if they go in the entries.tpl?
This is a different topic, but yesterday I put, as I thought, graphics links to several amazon.de dictionaries in an extended entry and they did not appear at all. I removed them and replaced them with text links. I do have an amazon plugin that works, but I wanted a picture link in an entry. I wondered if this was an html problem. Not important, though. I searched through the forum but I always get the impression that each problem is different.
Margaret
I haven't looked at the entries.tpl file properly yet, so I don't understand what you're saying. I have some ads in a html nugget. Are you saying that if I put them in the entries.tpl, they could be persuaded not to read the sidebars? Or what is the different effect if they go in the entries.tpl?
This is a different topic, but yesterday I put, as I thought, graphics links to several amazon.de dictionaries in an extended entry and they did not appear at all. I removed them and replaced them with text links. I do have an amazon plugin that works, but I wanted a picture link in an entry. I wondered if this was an html problem. Not important, though. I searched through the forum but I always get the impression that each problem is different.
Margaret
-
carl_galloway
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
-
Zirbelholz
- Regular
- Posts: 200
- Joined: Sun Oct 07, 2007 2:19 pm
Carl,
I have put these Adsense tags in. I didn't understand 'next previous links':
>>Simply throw them into your entries.tpl at the beginning and end of the file, although if you want more accurate results, shove the end tag just above the page footer (next previous links)<<
so I put them before this:
<div class='serendipity_pageFooter' style="text-align: center">
I assume it makes no difference.
Regards
Margaret
I have put these Adsense tags in. I didn't understand 'next previous links':
>>Simply throw them into your entries.tpl at the beginning and end of the file, although if you want more accurate results, shove the end tag just above the page footer (next previous links)<<
so I put them before this:
<div class='serendipity_pageFooter' style="text-align: center">
I assume it makes no difference.
Regards
Margaret