This forum is for assistance with theme development.

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.

Smarty Theme question: Is there a tag that uniquely identifies each content page?

I would like a way to uniquely identify each page with a page id or something. The page title isn't good because it can change and because it contains spaces sometimes.

I'd like to do this with page_id being the actual unique identifier of a page or something. Is there a tag like this?

thanks!

also is there some master list of function hooks/tags for smarty somewhere?

Jay

Smarty issue: for some reason the foreach loops for primary/secondary links ignore the <li></li> tags

Does anyone know why this is?

{foreach from=$primary_links item=link}

  • {$link}
  • {foreach}

    So it ignored the li tags--its driving me nuts. What I had to do is put the

  • stuff in the actually link and remove them from the foreach loop.

    Anyone else having this problem?

    Jay

  • Pages

    Subscribe with RSS Subscribe to RSS - Theme development