This forum is for assistance with theme development.

node-blog.tpl.php breaks with comments - ?

Ho there. Using 4.6.5. I imagine this must have come up before, though I can't find anything via search.

I've given my blogs their own theme using blog.tpl.php and node-blog.tpl.php. This works great for a display of blog entries. But it breaks down when comments get involved. Comment actions appear to use a URL which is a regular node, not a blog node - so my theme vanishes. (My blog theme incorporates a changed html structure, so the reversion destroys the layout. If it were purely CSS I could probably have fixed it via extra classes etc.)

How to filter node title through SmartyPants?

I installed SmartyPants module for translating straight quotes to "curly" quotes. I enabled the filter for Filtered HTML input format and it's working correctly for the body text of my flexinode content.

However, the title is displayed without filtering. How can I make Drupal filter it too?

Themeing with AJAX in 4.7 Beta2 (and beyond)

OK, it has probablly been addressed before:

Are there any examples of AJAX in Drupal 4.7 beta2 besides the collapsable fieldsets, which to my understanding is not AJAX? For instance:

• Where can I see autocomplete or progress implemented?
• How would I go about theming some comments additions without refereshing the page? Does anyone know if that possible with the drupal.js files?

Change the way taxonomy lists nodes

Hi,

I used taxonomy on my site, but i want to change the way taxonomy lists the nodes.
What i mean is when someone browses to 'taxonomy/term/', the nodes from that term are displayed in a standard node view (title, teaser, etc..)
However, i would like to display them in the form of a table, to save page space and be able to display some more on 1 page.

How would i manage to do this?
So far i wrote my own modules and showed things the way i wanted, but this is a modification close to the core i think, so i don't know how i would do this...

Kopernix Drupal Theme

Kopernix is a simple modification of the default phptemplate theme (box-grey). (CSS modificaion)

I'happy every time that a website uses my theme :-)

Is a flat and good theme.
You can view and download here

How Do I Add "Back To Top" Link?

How might I add a "Back To Top" link in Drupal? My first stab:

<a name="top"></a>
...
<a href="#top">Back to top</a>

When I hover over the link "Back to top" it displays http://example.org/d/#top no matter what page I am on.

How do I get the name of the current page in Drupal? Has anyone else successfully gotten this to work in Drupal? This seems like an easy question, but did not find anything from my search in the Drupal forums.

Pages

Subscribe with RSS Subscribe to RSS - Theme development