Andreas08 theme released

Skinning and designing Serendipity (CSS, HTML, Smarty)
costa
Regular
Posts: 110
Joined: Wed Feb 08, 2006 5:29 pm
Location: Poland
Contact:

Post by costa »

carl_galloway wrote:I've tried a few other text editors but none seem to give me the basic tools like notepad does. If you or anybody else could recommend a text editor for Windows that automatically saves with UNIX line-breaks I would be appreciative.
under both - linux and windows i'm using this one beuty: jedit. it's java based but works fast. it has everything you ever dreamed of for a good editor and much, much more. and - the best part - it's free. check it out, it might become handy to you. the first impression might be somehow fuzzy but just try to work for a while, use some plugins... you should like it :)
"everything is under control" - kasparov demo
Darryl
Regular
Posts: 12
Joined: Thu Mar 09, 2006 3:43 am

Post by Darryl »

If you or anybody else could recommend a text editor for Windows that automatically saves with UNIX line-breaks I would be appreciative.
I used many different text editors over the years on DOS, Windows, and Linux. For windows I would suggest either UltraEdit or EditPad Pro. Both are feature rich, easy to use, and inexpensive to purchase. Of the two I tend to prefer UltraEdit, but still use EditPad Pro on occassion.
dk70
Regular
Posts: 19
Joined: Sat Aug 13, 2005 9:53 am

Post by dk70 »

There are many free editors. Try TED http://jsimlo.sk/notepad/ Only 118kb and very fast. Think you might like it cause it has a no nonsense Notepad look and feel. Powerful though.

If you want 200 features try PSPad http://www.pspad.com/en/pspad.htm
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post by Col. Kurtz »

I have trouble with the guestbook, it seems to break the theme

see here:

http://www.humppajugend.com/humppa/inde ... age]=guest
Marc
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

Marc, This is why theming Serendipity is so much fun ;)

I didn't test the theme with the guest book but the problem is in the entries.tpl of the theme where I used <h2> for the entry_title and also because I've left out the styles for serendipity_entry.

Sorry about this, I'll install the guestbook on my test server and fix the problem then post the fix for your to download. Should be able to get something organised later today or tomorrow morning my time (24 hours from the timestamp of this reply)
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

Marc, I had a good hard look at the problem, and only part of it is a theme problem. The real issue with the page being destroyed is that the guestbook plugin has a bug.

When there are no messages the php leaves out the </ol></div> for the actual comments. As soon as you add a comment everything works perfectly again. I'm really sorry but I don't know enough php to fix this, so one of the developers will need to be involved.

As for the stylesheet problems, they are minor and I'll email the updated stylesheet to you tomorrow.

Carl
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post by Col. Kurtz »

a-ok. I just added a comment. Fastest fix ever! Could have thought about it myself, but I did it late at night. THX.
Marc
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post by Col. Kurtz »

Its me again. After realizing that I want a multilingual page I want to replace the quicksearch field thats in the header with the language selection. Is this possible?
Marc
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

yup, but you'll need to do some playing around in your stylesheet to make it look right. In your index.tpl replace the search form with this

Code: Select all

{serendipity_showPlugin class="serendipity_plugin_multilingual" side="hidden" negate="null"}
Make sure the multilingual sidebar plugin is set to hidden instead of left or right, then in your stylesheet add
.serendipity_plugin_multilingual {display:none;}

After that it should just be a simple matter of adjusting your spacing to make it sit exactly where you want it.
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post by Col. Kurtz »

thx carl, ill try it tomorrow.
Marc
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post by Col. Kurtz »

I dont get this to work. It also looks quite different in Firefox and IE.

Heres my code:

Code: Select all

<body>
<div id="mainpane" >

<div id="header">
<h1>{$head_title|@default:$blogTitle|truncate:50:" ...":true}</h1>
<h2>{$head_subtitle|@default:$blogDescription}</h2>
</div>
<div id="navigation">
<ul>
<li class="selected"><a href="{$serendipityBaseURL}" accesskey="h">Home/News</a></li>
<li><a href="http://www.humppajugend.com/humppa/index.php?/pages/2006photocontest.html">Contest</a></li>
<li><a href="http://www.humppajugend.com/humppa/index.php?/plugin/faqs/1">FAQ</a></li>
<li><a href="http://www.humppajugend.com/humppa/index.php?serendipity[subpage]=local">Local</a></li>
<li><a href="http://www.humppajugend.com/humppa/index.php?/pages/contactform.html">Contact</a></li>
<li><a href="http://www.humppajugend.com/humppa/index.php?serendipity[subpage]=guest">Guestbook</a></li>
<li><a href="http://www.humppajugend.com/humppa/index.php?/pages/soon.html">Photos</a></li>
<li><a href="http://www.humppajugend.com/humppa/index.php?serendipity[subpage]=links">Links</a></li>
<li> Language: </li>{serendipity_showPlugin class="serendipity_plugin_multilingual" side="hidden" negate="null"}</li>
</div>

<div id="content">
	{$CONTENT}
</div>
     ....

plus what you said is added into the style.css at least this seems to work.

find it here: www.humppajugend.com/humppa
Marc
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

hmm, ok, first thing is you haven't closed the unordered list, you need to add your </ul> at the end but before the final </div for your navigation. You may also need display the divs inline instead of block level, and they may need their margins and paddings reduced to 0.

Do you ever plan to introduce new languages or are you just going to stick to English and German, If so, then you could try removing the sidebar plugin altogether and replace it with a standard html form, so your new navbar would look like this;

Code: Select all

<div id="navigation">
<ul>
<li class="selected"><a href="{$serendipityBaseURL}" accesskey="h">Home/News</a></li>
<li><a href="http://www.humppajugend.com/humppa/index.php?/pages/2006photocontest.html">Contest</a></li>
<li><a href="http://www.humppajugend.com/humppa/index.php?/plugin/faqs/1">FAQ</a></li>
<li><a href="http://www.humppajugend.com/humppa/index.php?serendipity[subpage]=local">Local</a></li>
<li><a href="http://www.humppajugend.com/humppa/index.php?/pages/contactform.html">Contact</a></li>
<li><a href="http://www.humppajugend.com/humppa/index.php?serendipity[subpage]=guest">Guestbook</a></li>
<li><a href="http://www.humppajugend.com/humppa/index.php?/pages/soon.html">Photos</a></li>
<li><a href="http://www.humppajugend.com/humppa/index.php?serendipity[subpage]=links">Links</a></li></ul>
<div class="quicksearch"><form id="language_chooser" action="humppa/index.php?" method="post">Language: <select name="user_language" onchange="document.getElementById('language_chooser').submit();"><option value="en" selected="selected">English</option><option value="de" >German</option></select></form></div>
</div>
Hope that helps,

Carl
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post by Col. Kurtz »

carl_galloway wrote:hmm, ok, first thing is you haven't closed the unordered list, you need to add your </ul> at the end but before the final </div
Well I was just fooling around with the code. Looks like I forgot about that.
Do you ever plan to introduce new languages or are you just going to stick to English and German, If so, then you could try removing the sidebar plugin altogether and replace it with a standard html form, so your new navbar would look like this;
At this point its german and english. It might make sense to add finish as third language, because its all based on a band from Finland. But I dont speak any finish and have to look out for a volunteer to translate the page. This project is just beginning and lets see what might come up next. It wouldnt be too hard to add a third language right? There wont be a fourth one for sure! [/quote]
Hope that helps,

Carl
THANKS A LOT!! Will I ever be able to repay for all this support?
Marc
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post by Col. Kurtz »

hmm new problems:

the blog now shows in german all the time, I cannot change back to english. also the default language seems to be german now, I tried changing it in the configurations menu but this doesnt work! also in my personal preferences it is set to english but still shows only german. (this might not be related to the theme but... this is the right place to ask at this point I guess)
Marc
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post by Col. Kurtz »

using the browsers language is disabled btw.
Marc
Post Reply