This forum is for assistance with theme development.

Image Gallery pager examples

The core content of my website is photos. I'm currently focusing on user interaction with photos and would like to see working examples of users custom pager for image gallery.

I have the image gallery installed but I want to see various pager styles in action.

please post a link to your gallery and your pager code as well.

Thanks in advance

Finding all the $node-> values

Is there a way to find all the $node-> values, or indeed all the variables at all? Some of them are listed on the PHPTemplate pages, but a lot of possibilities seem to be undocumented.

Is there a list anywhere? Apologies if I'm being silly - I've searched everywhere on drupal.org and the net!

template for rss

template for rss

I have my own content type "turbo" (by cck module), views for this content type with rss argument for it.
But I want to make theme for this rss output.

How to make template for my content type rss ?

Noob Question #2: Help me understand the $content variable (and how to control content)

Hello,

To my understanding, $content is a variable of page.tpl.php but I don't understand how to control what content will be shown. I understand the functionality offered within administration to create stories and pages. I understand these are different node types, but I may be missing something.

How can I, for example, show simultaneously a list of teasers for multiple stories and multiple pages? When I throw in the $content variable in my page.tpl.php how can I have more precise control with what nodes I am presenting?

the space under images in FF

hello.
I found a problem when i wrote a theme for both ie and ff that there's always space (much like an line-break) in ff
the codes are like these:

in page.tpl.php

<body>
<table border="1">
<tr>
<td><?php if ($logo) { ?><a href=" <?php print url() ?> " title="Index Page"><img src=" <?php print($logo) ?> " alt="Logo" /></a><?php } ?></td>
</tr>
</table>

when i try these in ie,it show me like this

how to insert a block from template?

I thought this was the way to do it:

$block = module_invoke('relatedlinks', 'block', 'view', 2);
echo theme_block($block);

unfortunately it doesn't do anything for me... I want to display one block from 'relatedlinks' module.

any thougths?

k.

Pages

Subscribe with RSS Subscribe to RSS - Theme development