PDA

View Full Version : New Template: clippy v1.0


tomyeah
05-22-2007, 01:44 AM
http://tomyeah.com/images/clippy_template_small.jpg (http://pixelpost.tomyeah.com/)


--- Template: Clippy v1.0 - for pixelpost v1.6 ---

Description:

This pixelpost theme is based on the Juicy 2.0 wordpress theme by Dandyna (http://dandyland.org/).

The special feature is that it detects portrait and landscape format pictures and aligns the thumbnail

row accordingly. Another feature is the admin plugin. Here you can set some options for theme

customization, which will be extended in further versions. It works without categories and without

paged archives (might be extended in further version). All pictures of the blog will be displayed on

the browse page. This theme works with pictures of any sizes but needs square thumbnails.


Requirements:

o View Counter Addon ( http://www.pixelpost.org/v1/index.php?x=downloads&details=179 )

o Pixelpost v1.6 or later (might work with older versions too)


Installation:

1. Get the View Counter Addon from http://www.pixelpost.org/v1/index.php?x=downloads&details=179

and install the counter.php into the "/addons" folder of your pixelpost.

2. Copy the included "admin_clippy.php" from this "/addons" folder into you "/addons" folder.

3. Copy the folder "/templates/clippy" to your pixelpost "/templates" folder.

4. Go into the admin panel >> options >> template and choose "clippy" as your template

next press the update "update" button.

5. Go into the admin panel >> options >> clippy (top right menu, right next to spam control ...)

Make your choices and click the "update" button.


Tipps:

For best quality thumbnails on the frontpage you should guess the maximum dimensions of your pictures.

For example if your pics are at maximum 600 pixels and you want to display 4 thumbnails on the

frontpage, than you need to set at least 150 x 150 pixel sized thumbnails: 600 % 4 = 150

(admin panel >> options >> thumbnails: crop thumbnails "YES", "set new sizes" 150 x 150, re-generate)

To edit the subtitle just go to all 3 .html files and look for the <h3> tag.


Thats it, have fun. For comments, reviews and suggestions email to clippy (ät) tomyeah (döt) com.


Download: clippy_v1.0.zip (http://tomyeah.com/images/clippy_v1.0.zip) (12KB) (Last Updated: 22.05.2007)

Checked in Firefox 2, Safari, Webkit, Opera 9, IE6, IE7, IE5.2 for mac.

GeoS
05-22-2007, 10:01 PM
Looks like we have another great template :D

luckyfinger
05-23-2007, 08:31 AM
looks great, do you have a link to a working demo ?

tomyeah
05-23-2007, 01:54 PM
no, because i got too many templates by now, setting up another domain for each template is too much work :D id need some template switch addon or so, that would make things easier.

but this template is really easy to setup, takes like 10 seconds, drag and drop 1 folder and one file ...

regards, tom.

jaywilliams
05-23-2007, 02:49 PM
Actually, and addon to switch templates would be the perfect solution!

*me thinks of a pixelpost template repository* ;-)

tomyeah
05-23-2007, 04:19 PM
i already coded it. will be online in a few seconds :D

http://pixelpost.tomyeah.com/

its very quick and dirty but it works.

i just edited one line of the index.php and let it insert a form, ofcourse that breaks all the xhtml rules, but it was only a 5 minutes code :D

hm, its in the php cache now because i used "include()" thats nasty ... now i get the switcher 2 times. somehow i discovered an apache server bug by this ... hope my webhost will fix it soon.

jaywilliams
05-23-2007, 05:25 PM
Make a template tag for the form, and add it to the templates.
That would probably be the best method.

Also make sure you run a RegExp match on any incoming template name.
I'd limit it to [A-Za-z0-9]+
That way people can't do fancy stuff like:
../../secret_folder/

tomyeah
05-23-2007, 06:11 PM
jay, it would be easier if all peoples used the header_template.html :D

but i want a solution where i dont have to edit templates. maybe ill do a parse of the image_template.html and inject my form after the </head>.


ok the code is done now :D works like charm. i dont have to edit any templates. i had to insert 2 lines of code into the index.php, thats all :D

http://pixelpost.tomyeah.com/

its xhtml valid too.

regards, tom.

thr33face
06-25-2007, 10:11 PM
i really love it, so simple and elegant.

buxx
07-28-2007, 12:07 AM
I am missing an categorie selection in the archive page. Is it possible to add this, or how do ia easily add this function myself?
Best would be an hirizontal list of categories instead of the standard dropdown menu you see in other templates. This does not fit in the design of the template.