This forum is for assistance with theme development.

admin settings form is too big

i am working on a pure css template for my drupal site. the theme is relatively thin so when i go to the admin settings page, some of the form fields (the text area boxes) are so wide that they push everything else to the right of it further down the page.

pushbutton>>sidebar: removing logo, line, and "navigation" name

hi all,

i'm a newbie at this stuff, and i found drupal and its pushbutton theme as very friendly tools for people like me :-)

the question that i have is how can i remove logo, line and navigation names from the sidebar block. i've been tinkering with the pushbutton's xtemplate.xtmpl and sytle.css -- but couldn't find, or probably understand, which code that governs it.

can anyone help me please? specific answer or at least point me to the right location/file that governs it? thank you very much!

-will

Customize a flexinode 'admin' form?

Flexinode is awesome. I can't say enough good things about it. That said, one thing that is bothering me is the admin forms. Is there a way to override the node creation form in theme templates?

For example, I have several textfields that only require 3 or 4 characters of input and i would like to group them all on one line, possibly even in a labeled fieldset. It would save screen real estate as well as improve usability for my clients.

Can this be done?

-Zach

creating themed page

Did a search on this forum with no luck,

If you know of the correct search terms to use or place to look at, please let me know....

What I am trying to do is create a themed page....

I did this....print theme('page', $output); and it returned a page with content, but the problem is it return a normal white page. What I want it to show is the themed page, a page with decorations (not sure of the correct term to use here) on the border of the page.

How do I do that?

BlueDrupal

"print $terms?" now obeying url_alias?

When I place:

<?php print $terms?>

in my templates, it displays:

http://www.technologyandchange.com/taxonomy/term/60

not

http://www.technologyandchange.com/Asia

as I have specified in my url alias?

Anyone experience this? Any solutions?

Getting a Flash-based MP3 to work with MP3s and the attachment module.

Not sure where this should go, and I'm a drupal rookie, so no diff/patch or anything fun like that. Appologies if this is the wrong location to post this in. Sorry folks ... I'll get up to speed soon. In the meantime, here is some information about how to get a Flash-based MP3 to work with MP3s and the attachment module.

Download the MP3 Player ...
http://sourceforge.net/projects/emff/
http://www.marcreichelt.de/spezial/musicplayer/#english

at around line 350 (inside function theme_attachments) add the following ... note that object and data are misspelled and will need to be corrected in your code (had to do this to get around the suspicious input check).

  if ($attachment['mimetype'] == 'audio/mp3'){
   $mLink = module_invoke('filemanager', 'url', $attachment['fid']);
   $player  = "<div class=\"player\">\n";
   $player .= '<obbject type="application/x-shockwave-flash" daata="/player.swf?src='.$mLink.'" align="middle" height="18" width="160">';
   $player .= '<param name="movie" value="/player.swf?src='.$mLink.'">';
   $player .= '</object>';    
   $player .= "</div>\n";
  }
 $output .= "</div>\n";        
 

then modify the query inside attachment_load to read ...

<?php
$result = db_query("Select attachment.aid, attachment.title, attachment.description, attachment.fid, attachment.filename, attachment.size, attachment.hidden, `file`.mimetype From attachment Inner Join `file` ON `file`.fid = attachment.fid WHERE nid = %d", $node->nid);

Pages

Subscribe with RSS Subscribe to RSS - Theme development