This forum is for assistance with theme development.

Can I modify a module function using a theme?

With a 4.6 installation, is it possible to alter a function in a module using a template.php file in a theme? If so, I really, really need an example--I've been beating my head against a wall for hours now.

I'm trying to change a function in Acidfree, incidentally--it breaks my fixed-width layout, as noted here:

http://drupal.org/node/65123

Thanks for any help.

-Peter

Admin content wraps/clears in IE

In any page of the admin section on IE 6, the main content area clears to the bottom leaving a big blank space and adds blank space on the right hand side. My theme is a fixed width design 725px with two columns. The left column is 200px wide floated left and the main content area is set to width:auto; I checked for various clear: declarations in my CSS and in drupal.css, but didn't see anything that would cause this. Any ideas anyone?

Acidfree tables breaking my layout

Acidfree breaks my fixed-width layout when I click on the "album contents" tab. It looks like the trouble is the table Acidfree generates on those pages--it creates a three-column table with album thumbnail, thumbnail pulldown menu and title/description/path alias cells. The width of this unflexible table kills my tableless layout big-time.

I can't see any way around removing the table in favor of a CSS approach, but I'm having trouble locating in the Acidfree module code where the table is created.

target="_blank" for primary links on reflection template

I succeded in open primary links on a new browser windows (Reflection Theme)

my code on the /var/www/themes/reflection/page.tpl.php file was like this:

Filtered content in node-page?

I have a plain old page node, but its getting filtered or something such that $content omits the first paragraph (which includes an inline image). I'm using a node-page.tpl.php, and $page == 1. I've checked the database and the content I'm expecting is in there. Did I flip a switch somewhere, what could cause this?

Different pages with different teaser lengths

Hi,

I'd love to be able to do the following:

On one page have a listing of all nodes (paged) for a particular taxonomy term - where the nodes are shown in full.
On another page (an archives page) have a listing of all nodes (paged) for that term - where the nodes are shown using medium-length excerpts.
In a block, have a listing of x-recent nodes for that term - where the nodes are shown using a really short excerpt.

1. Is this possible?
2. What's the best way to do this? I have looked at PHP snippets but they haven't been too much help.

Pages

Subscribe with RSS Subscribe to RSS - Theme development