Page 1 of 1

Reflection Theme Available

Posted: Fri Jan 06, 2006 12:46 am
by carl_galloway
Hi all,

I've finished another theme, available from my site.

This one is interesting because of the many small innovations. Check out the menu on this one as well, css only with hidden tabs. I've also fully integrated the archives page into this theme, who would've thought it could look so good.

Finally, in an effort to help other theme designers, I have fully commented the stylesheet. This theme was a lot of fun to play with, and is complete. Feel free to use it, swap it with your friends, edit it, etc.

One last request, if anyone does want to use this theme, please, leave the credits in place, its a small thing to ask.

Cheers
Carl

Posted: Fri Jan 06, 2006 5:19 am
by davecjr
I switched to Reflections tonight to try the little inovations you mentioned which did seem pretty cool but got this error.

Fatal error: Smarty error: [in file:/hsphere/local/home/dcockrel/thecockrells.com/blog/templates/reflection/sidebar.tpl line 3]: syntax error: unrecognized tag: ³° Ø€÷¼00‹ù¶ÿ††WÞÐFË?1‹‘ÇcY¶åVkÔRK$›d³*+ñ¼¯sŽ‘U$ûA‘­îžÅ‹DVdÄ?›‘_|÷œs¿s¢ð­·Þ‚Wí³h in /hsphere/local/home/dcockrel/thecockrells.com/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1088

I refreshed the page and got a different error and part of the theme but not much. I certainly didn't know what the above error meant! I switched to the softenedcells for now. Thanks for all the themes work. I love switching to all the latest you are working on but just can't leave it at one! i wish I had your knowledge on themese so I could do my very own that is totally different!

try this

Posted: Fri Jan 06, 2006 6:11 am
by carl_galloway
Hi Dave,

I'm pretty happy with css/html, but now and again I get stuck with smarty, please accept my apologies. I think I need to change the sidebar.tpl

At the moment it is this,

Code: Select all

{foreach from=$plugindata item=item}
    <div class="serendipitySideBarItem container_{$item.class}">
        <div class="serendipitySideBarTitle {$item.class}">{$item.title}</div>
        <div class="serendipitySideBarContent">{$item.content}</div>
    </div>
{/foreach}
And I think it might need to be changed to this,

Code: Select all

{if $is_raw_mode}
<div id="serendipity{$pluginside}SideBar">
{/if}
{foreach from=$plugindata item=item}
    <div class="serendipitySideBarItem container_{$item.class}">
        {if $item.title != ""}<div class="serendipitySideBarTitle {$item.class}">{$item.title}</div>{/if}
        <div class="serendipitySideBarContent">{$item.content}</div>
    </div>
{/foreach}
{if $is_raw_mode}
</div>
{/if}
Would you mind doing me a favour and open your sidebar.tpl, delete everything and replace it with the above? Maybe one of the developer guys could explain the difference between those two files. If this fixes the problem I'll repackage the zipfile.

Re: try this

Posted: Fri Jan 06, 2006 9:51 am
by garvinhicking
HiCarl!

I think davecjr just uploaded a garbaged file with invalid bainary data.

Carl, how would you like to geta SF.Net account and use CVS tocommit and maintain your themes for the serendipity CVS repository?

Bestregards,
Garvin

Posted: Fri Jan 06, 2006 1:16 pm
by judebert
Agree with Garvin; looks like a bad upload.

The difference is that the second one wraps everything in "serendipity[Left]SideBar" in "raw mode", and won't output an empty title div. Nothing that would cause weird characters to show up in the output.

Code: Select all

{if $is_raw_mode}
{* Start the raw div *}
<div id="serendipity{$pluginside}SideBar">
{/if}
{foreach from=$plugindata item=item}
    <div class="serendipitySideBarItem container_{$item.class}">
        {* Don't output a title div if it's empty *}
        {if $item.title != ""}<div class="serendipitySideBarTitle {$item.class}">{$item.title}</div>{/if}
        <div class="serendipitySideBarContent">{$item.content}</div>
    </div>
{/foreach}
{if $is_raw_mode}
{* End the raw div *}
</div>
{/if}
In fact, this is the kind of thing that can happen when you FTP files in binary mode from a big-endian to a little-endian machine (or vice versa).

Posted: Fri Jan 06, 2006 5:57 pm
by carl_galloway
Hi guys,

ok good to know that my theme isn't causing any problems.

Dave, does what judebert say help. I think he means that when you use your ftp program to upload the theme you need to go into your program settings and set the mode for file transfer. I use filezilla, and I have the option of uploading as plain text (ascii) or binary, or letting filezilla automatically determine the correct format.

Garvin, um, I went to sf.net (soureforge) and I've registered, so now I wait until they send me the email to complete the registration. That was easy, do I need to use a special cvs program, or do I just overwrite stuff that is on the sf server, how does this work? Is there a tutorial somewhere you'd recommend?

Cheers
Carl

Posted: Fri Jan 06, 2006 6:28 pm
by carl_galloway
Garvin,

I've completed the registration at sf.net, my username is carl_galloway.

Looking through their first page of docs it seems I need cvs software, and possibly ssh software. Help! I'm using windows xp home, can anyone suggest a program to use that will let me do what Garvin has suggested, ie be able to maintain my own themes on cvs?

Cheers
Carl

CVS

Posted: Fri Jan 06, 2006 8:56 pm
by JWalker
You may try TortoiseCVS from http://www.tortoisecvs.org/. I did not use it, but if it as good as TortoiseSVN is (which is for SubVersion) I think you will enjoy with it.

Another front-end is WinCVS (http://www.wincvs.org/). However, it needs command-line client; you find it at http://www.cvsnt.org. Ssh is part of cvsnt. You must generate public/private keys to be able to commit to SF. I did this with puTTYgen.exe. You may download it from http://www.chiark.greenend.org.uk/~sgta ... nload.html.

Posted: Sat Jan 07, 2006 4:38 am
by davecjr
Thanks for the help folks! I use filezilla also but had always used auto. I played around with the settings and got it to work. I guess I had just always had it set to auto and never noticed a real problem. I uploaded them all in ascii and the preview.png of the theme in the admin area still didn't show up and I uploaded the preview.png by itself in binary and it all worked. I guess auto isn't always safe!

Thanks again for the help guys!

Posted: Sat Jan 07, 2006 5:33 pm
by carl_galloway
JWalker, thank you, I'm checking it out now, and maybe their logo will swing it for me, I like pretty things. :)

davejr, glad its working, thanks for sticking with it, and I think you are not alone with this problem so sorting it out in this forum might help other users as well.

Garvin, got your email, thank you, it'll probably take me a few days to digest all this stuff. The working year is starting again and some of my clients require a lot of support to realise their passion, so if it isn't too much trouble, would you be able to make reflection available to spartacus this time?

Cheers
Carl

Posted: Sat Jan 07, 2006 6:52 pm
by garvinhicking
Carl: Of course, no problem atall. I just committed it. Take the time you need with your clients; if you have questions about CVS, just ask me. But I use the commandline client, and not a GUI, so I can only help you with CVS basics:=

Thanks & Regards,
Garvin

Posted: Sat Jan 07, 2006 10:33 pm
by judebert
Command line client? Wuss. I yodel the appropriate sounds into my phone to emulate a 9600 baud modem. :lol:

Posted: Sat Jan 07, 2006 10:54 pm
by garvinhicking
Wow, I always thought it were just a legend that people could whistle the appropriate frequencies.

But now I know it for real, I feel humbled!

... ;-)