What can I say? Gossip City 2 (English/German blog entry) was kind of a conflict. The looks are too good to let it pass, but the code is mediocre at best. I decided to port it anway
YL
Ported: Gossip City 2
Well, let's just say if you're a code purist, somebody who cherishes semantic HTML ... there's a good chance you might need some kind of bag if you take a look at the code. It's not exactly beautiful, but does the job.judebert wrote:Nice looking template, there! What's up with the code being mediocre?
YL
The easiest way would be to add an additional sidebar. You would have, say, "left", "right", "hidden", and "bottom" in the plugin configuration, and you could assign the sidebar plugins to your liking.davecjr wrote:Is there a way to work with the right side section to maybe make a sidebar plugin display in it or change the Advertising label and maybe the width?
Unfortunately, this is something I have never done in a template, so it may need some time to implement
A quick fix to use the empty space (if you don't use GoogleAds in the left-right sidebar) would be to edit the style.css like this:
Code: Select all
/* Side Right Left +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.SRL { width: 390px; float: left; padding: 0px;}
/* Side Right Right +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
.SRR { width: 0px; float: right; padding: 0px;}
YL
Now I've used this for a few days for my wife's elementary class and she likes the way it turned out. The CSS hacks you mention are more than I want to screw it up! The 'Advertising' area works great for something like 'Student of the Week' so the plugin idea I asked about isn't necessary at all. If I could just change the word 'Advertising' to like 'Student of the Week', I'd tell my wife that she is out of change requests! I am probably missing something easy here but I have looked through all the .tpl and .css files and can't find the word 'Advertising' anywhere. Can someone point me in the right direction?
Thanks again for the template.
Thanks again for the template.
So go ahead and tell your wife she's out of change requests!davecjr wrote:If I could just change the word 'Advertising' to like 'Student of the Week', I'd tell my wife that she is out of change requests!
This word is actually a variable set in the lang_*.inc.php files. Open both lang_en.inc.php and UTF-8/lang_en.inc.php in your favourite text editor and change:
Code: Select all
@define('GC_ADSPACE', 'Advertising');
Code: Select all
@define('GC_ADSPACE', 'Student of the Week');
If you don't have a favourite text editor, I recomment notepad++ under Windows, TextMate under MacOS, and if you don't have a favourite text editor under Linux, you're not a real Linux user
YL
YL, are you married? :lol:yellowled wrote:So go ahead and tell your wife she's out of change requests! :-)davecjr wrote:If I could just change the word 'Advertising' to like 'Student of the Week', I'd tell my wife that she is out of change requests!
I'd wind up with nothing for dinner, because I'm out of meal tickets.
Why, of course I'm notjudebert wrote:YL, are you married?yellowled wrote:So go ahead and tell your wife she's out of change requests!
Well, my girlfriend is kind of a vegetarian, so meal tickets have a whole new meaning for mejudebert wrote:I'd wind up with nothing for dinner, because I'm out of meal tickets.
YL