This forum is for assistance with theme development.

second css file

hi,

Is it possible to use 2 css files? cause i have a page-front.tpl and a page.tpl. the page front needs the style.css file but the page.tpl needs another css file.

I have put in the code of page.tpl this line:

but it doesn't choose that css.

How to solve this?

diagram of 4.7 regions layout?

hi is there a picture of the 4.7 regions layout available? I'm trying to show a designer where stuff should go in the design, but they dont have access to the server, so the page.tpl.php variables are not showing up for them ( dreamweaver) .

Solution for Menus + CSS block produces gaps?

Hello,

I am attempting a conversion of an HTML/CSS template I created by using PHPTemplate/Drupal 4.6. A rough example of the site template is: http://www.biblical-hebrew.org/

I have a number of issues, #3 and #4 being the most most important right now (and solving #4 alleviates the need to solve #2 or #3).

1: My current site layout is table based with CSS. I plan to move this to a CSS layout, but for now are there any specific concerns, with Drupal / PHPTemplate, I should have? Everything seems to work in my test run. (Once I figure out my problems below I will begin the process of transitioning to a CSS layout seeing as there are a couple of 2 column theme layouts, similar to what I am doing, available for guidance).

2: How do I prevent the sub-links from indenting?

By sub-links I mean "admin/access control" or "admin/settings/search"

3: I am trying to recreate this look I created for the navigation of my HTML/CSS site: http://www.biblical-hebrew.org/ (the left hand navigation is unordered lists with CSS, basically the same as what Drupal uses).

When you add a block style to the Drupal Navigation/Menus it tends to produce "gaps" between the blocks. The "Primary Links" and "Secondard Links" are fine when this style is applied--only the Navigation and User added Menus produce odd gaps I cannot seem to remove. I have tried a number of different themes and so far no luck.

How do I get the user id of current node owner?

I think this is a theme question. I'm trying to do some work in flexinode and phptemplate and need access to the user id of the current node's author. With this function, a user could be viewing a blog entry by a user, and see related story entries from the same user. I have most of this code, but I just can't figure out how to pull the node owner out of the node. The only variable in php template that shows the owner is $submitted, but this obviously returns much more than the user id.

How to have a different header image on each page?

I am attempting to use the Connections theme on top of the CivicSpace (0.8.3) packaging of Drupal (4.6.4), testing with Firefox (1.5), and as you will be able to tell, this is my first drupal site development.

URL aliases and URL filter

I use URL aliases but now I need a block to display some content depending on a specific url.
And more my site is multilinguale.

Is there a way to find out the real url (without aliases)?

Thanks for help

Pages

Subscribe with RSS Subscribe to RSS - Theme development