Error message

You need to log in or create an account to access this page.

This forum is for assistance with theme development.

phpTemplate Theming question

I am trying to switch off the top banner of my photo page for the content type Acidfree. It gets in the way for people with small monitors when they are jumping from picture to picture on this site:
http://www.aguntherphotography.com
I tried putting an if else loop around this part in page.tpl.php, but unfortunately this will have no header on all pages, not just the pages of content type acidfree. What am I doing wrong.

Block theming

Well i don't really understand how to theme individualy the left and right blocks :)
Can someone give me an exemple ?

How do I access layout.css

How do I access the layout.css file? Thanks for your help.

Anyone tweaked Spread Firefox

I really like the look of Spread Firefox and it's perfect for the community site I'm working on (http://kings-heath.info/ - shhh! not public yet.).

However, it's just so buggy. When I try to add a post in Firefox (o, the irony!), I can't actually see half the boxes I need to tick as they're covered by others.

Does anyone know if SF has been improved upon? Or has anyone tweaked it to iron out these problems?

Cheers.

Is this the right approach? (newb question)

Hi,
I am still struggeling with the PHPTemplate System.
What I want:
- Absolute control over generated HTML
- Different HTML-Layout for different parts of my Site
- Display the current story on each "Primary Link" Start page. Links with teasers to older stories.

What I did:
- Trying something with blocks. Could not manage to handle them -> having pages with and pages without blocks is difficult.
- Trying to create Pages which include the Storys. Not very successful -> When directly displaying story nodes, the link to other stories (defined in the pages) are gone.

- And now: Trying to write all code directly in my page.tpl.php, like this:

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
print $language
" lang=" print $language ">

print $head_title
print $styles

print $head /* Needed to avoid Flash of Unstyle Content in IE */


Content (key 0)

$result = db_query_range(db_rewrite_sql("
SELECT n.nid, n.title, n.created, r.body
FROM {node} n 
INNER JOIN {node_revisions} r 
ON n.vid = r.vid 
WHERE n.type = 'story' 
AND n.status = 1 
ORDER BY n.created DESC"), 0, 6);

$node = db_fetch_object($result);
print $node->title;

print $node->body;

while ($node = db_fetch_object($result)) {
print $node->created;

print $node->title;

print $node->body;

Customizing Edit pages

I would like to my administrators not see the Authoring information, options, or user comments boxes on the content edit pages. Is there some way to hide the or customize the page so they don't show up?

Pages

Subscribe with RSS Subscribe to RSS - Theme development