This forum is for assistance with theme development.

php code for flickr

hi all,

here is some code i hacked together to make it possible to show flickr images on http://www.varnelis.net

flickr's javascript badge left me wanting and i could never figure out the flickr modules... but i found a site ( http://prwdot.org/archives/002468.html ) that had a php routine using the magpierss routines (see below...these could be interesting!) ready to go, even if it wasn't for drupal.

i made some changes since I wanted my images to be of a specific size. you can go in and play with either the given flickr sizes (see http://digitalphotography.weblogsinc.com/entry/1234000650052735/) for the proper codes. i've set the image width to 300 in the line that contains the preg_replace code and eliminated any height constraint.

no warranties on this, i'm a php hack, not a coder. and if anybody has any better ideas for cleaning up the img

the code works equally well in a block and in a page (e. g. http://www.varnelis.net/flickr)

fatal error after uploading phptemplate

After uploading phptemplate to the themes/engines directory I get the following error:

Fatal error: Call to undefined function: system_listing() in /home/.ingham/adrianamonica/adrianamonica.us/drupal/themes/engines/phptemplate/phptemplate.engine on line 14

I have also uploaded some phptemplate themes to my themes directory and they do not show up.
(I can only see the themes administer area before uploading phptemplate)

want to redefine the variable $links

Hi there,

Brand-new user, PHP newbie. I'm using an installation of Drupal shared with a number of others & must make any design changes via my own specialized theme within my own site folder.

Theming non-node content

Quick question for y'all:

It's relatively simple to draw a nice box around node content using a Drupal theme engine, i.e. creating a custom node.tpl.php file if using PHPTemplate. But how do I draw such a box around non-node content, such as the registration form? There doesn't seem to be a default template for non-node content that I can create and modify.

Thanks.

Spread Firefox Theme

I am trying to customize my spread firefox theme. I usually have good luck looking at code and learning it . But I have tried everything and I can not seem to fix my navigation block bug. I want the all the boxs to all be the same size. The top part is one size and the middle is another. I want both to be the same size. My site is http://technstuff.com/ if you want to see the problem. I love drupal but the themes are sometimes a pain for someone just starting to learn how to code websites.

Pages

Subscribe with RSS Subscribe to RSS - Theme development