This forum is for assistance with theme development.

Trying to hide title and author on static pages

Hi,

I'd like to be able to hide the 'title' and 'submitted by' lines on static
pages. To do that I modified the xtemplate.xtmpl file to dynamically remove
the 'title' and 'submitted by' lines on static pages. I tried to do this with
the following script:

<!-- BEGIN: node -->

<div class="node">

<?php

if ($node->type != 'page') {

echo '<div class="title"><a href="' . {link} . '">'
. {title} . '</a></div>';

echo '<span class="author">Submitted by ' . {author} . ' on
' . {date} . '.</span>';

echo '<span class="taxonomy">' . {taxonomy} . '</span>';

}

?>

<div class="content">{content}</div>

<div class="links">&raquo; {links}</div>

</div>

<!-- END: node -->

Problem with this latter approach is that it's not getting processed by the
php engine. My when testing this page forum entry the following output is generated:

Node Title | Site Title :( -- note: same as browser title

submitted by John Doe on dateX }?>:(

Ok, when I view source the entire php block is still present in the page sent
to the browser. That makes me thing that this change isn't being processed by
the php engine. Am I correct, and how do I work around this problem if so?

Page rendering Problem

I have a bit of a problem, and I'd like to think the problem is on my end rather than a software defect. We have an internal web site where we use Drupal. Frequently, users complain (daily) that the page does not load accurately.

The page is arranged thus: mast, left column, body, footer. The left column tends to hog the rest of the page, forcing the body to be only about 100 px wide. I have my users send the source code, and there is nothing amiss.

I would hope the problem is browser relates, or browser compatibility related. I am assuming this is theme related.

Theme Designs

Hi there, we are looking for theme designs for this nice portal, if you like you can join the team of designers at www.thethemes.net and also sell your themes in the shop :)

free or custom designs what ever you can make..

Chameleon

Quick question about the Chameleon theme system that is being developed...

I understand that it allows switching between multiple CSS Stylesheets and HTML templates, but does it also allow Admins to switch between different PHP Logic files?

If for example I create a bit of custom PHP code that adds a feature to a particular Chameleon template, will I be able to distribute it with the CSS and HTML template files? Or does it need to be patched into the core Chameleon PHP file?

New Theme Site for Drupal

Hi guys, we have added Drupal Themes to the site TheThemes We will add more soon, and we hope to start and design on the Drupal themes. :)

Possible Bug in Xtemplate

I realize xtemplate has an admin configurable top menu but I'm curious why it lacks part of the typical "Navigation" menu (i.e. home, forums, my account, etc.) seen in all other themes?

As a (very) new user of drupal, it was frustrating to see a big chunk of the site navigation suddenly disappear when I switched to the xtemplate theme.

If the "Primary" and "Seconday" links in xtemplate were done as PHP rather than HTML the initial installation could use the same method used by other themes to create the missing parts of the Naviagtion menu.

Pages

Subscribe with RSS Subscribe to RSS - Theme development