[drupal-devel] Re: CS site questions: content uploading and your theme

Chris Messina chris.messina at gmail.com
Fri Apr 1 17:35:09 UTC 2005

[cc'ing Drupal-dev on this, in case anyone wants to do collapsible
input fitlers]

Ah, I missed the question about the collapsible input filters! I can
take that one. I was answering your question w/r/t content uploading.

So I had to do some finagling with my template.tpl.php file and then
add some JavaScript. It's actually pretty easy to do -- and degrades
quite well (turn off JS, and it looks the same as it used to).

I've attached the necessarily files to make this happen. You'll need
to paste the contents of filtertips.tpl.php into your PHPTemplate
theme's template.tpl.php. Then you need to put the toggle.js into 
my_theme_name/scripts/ subdirectory. Finally, add the toggle.html
snippet after the body tag in page.tpl.php.

That's it. Let me know how it works for you!


On Apr 1, 2005 9:01 AM, Jason wojo <jasonwhat at gmail.com> wrote:
> Thanks, are you referring to the theming question or content uploading?
>  Jason
> On Apr 1, 2005 8:59 AM, Chris Messina <chris.messina at gmail.com> wrote:
> > This is a question for Ankur, who's out sick. Try to ping him again next
> week.
> > 
> > Chris
> > 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filtertips.zip
Type: application/zip
Size: 2343 bytes
Desc: not available
Url : http://drupal3.drupal.org/pipermail/development/attachments/20050401/afbd0510/filtertips.zip

More information about the drupal-devel mailing list