This forum is for assistance with theme development.

Themes based on photoshop designs

Hello, I have a question as a relatively new Drupal user (and enthusiast). Like many, I learned web design from making a "camera ready" mock-up in photoshop and then slicing it up and rebuilding the slices in a program like GoLive.... I still love the visual flexibility this gives me to come up with any "look" that I want.

Image as node - How to remove the "thumbnail" and "original" links beneith the image

Hi
I want to upload images as nodes. But how do I make sure users cant change the size of the picture displayed (displayed as preview) by using the links to thumbnail and orginal size beneith the image. These links show up by default just right to the "add new comment".

I have looked under administer, but cant find anything to remove it here.

Can anybody guide me...Thanks

Regards Jakob

Image as node - How to remove the "thumbnail" and "original" links beneith the image

Hi
I want to upload images as nodes. But how do I make sure users cant change the size of the picture displayed (displayed as preview) by using the links to thumbnail and orginal size beneith the image. These links show up by default just right to the "add new comment".

I have looked under administer, but cant find anything to remove it here.

Can anybody guide me...Thanks

Regards Jakob

Multiple Themes in One Site

Let me preface this by saying I've searched drupal.org for this question/answer, and maybe I missed it, but I've not seen what I need out there.

We are building a new site about college sports, and one of the requirements is that we have different themes based on the team. In other words, if someone is reading a story about Auburn football, we want the theme to be built around Auburn's colors and mascot. If you know college sports fans, you know how big a deal this is, and how important it is to get Auburn's theme instead of Alabama's on that page.

Now, I've looked around for ways to do this, and the things I've seen are close to what we need, but not quite. Instead of individual files of auburn-page.tpl.php, alabama-page.tpl.php, etc, we'd like to make complete themes, because we already have some, it will be easier on the designers, and it makes things more customizable and compartmentalized. I've tried this with existing drupal themes and code based on what I've found here, creating a theme called "master" that will call other themes based on a taxonomy value viz:

<?php

/**
* This snippet loads up a different page-termname.tpl.php layout
* file based on the taxonomy term of the node.
*
* For use in a page.tpl.php file.
*
* This works with Drupal 4.7
*/

if ($is_front) {
include('../bluemarine/page.tpl.php');
return;
}

Solved : How to have the primary links displayed as simple links in place of having them in an enumerated list

I asked this in http://drupal.org/node/106718

The solution is quite simple actually :

In the file includes/themes.inc I have copied the function theme_links { .... } to a new function theme_linksa.

In this function, i have commented out the lines :

Wrapping .node with additional div tags?

I was just wondering where I would modify to add additional div tags before and after the .node div tag.

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Theme development