Embedding a CCK attached file (imagecache) into a body text as a float
I'm trying to float the CCK body text around an image, but I just can't get it to work no matter what I try. Here is the current relevant code node.tpl.php:
<?php if ($node->field_vendorpic[0]): ?>
<?php print theme(
'imagefield_image',
$node->field_vendorpic[0],
$node->field_vendorpic[0]["alt"],
$node->field_vendorpic[0]["title"]);
?>
<?php endif; ?>
<?php print $node->content['body']['#value']; ?>
</div>taxonomy_term_page.tpl.php
have tried to implement a taxonomy page similar to what's done in this podcast - http://mustardseedmedia.com/podcast/episode31
unfortunately, my taxonomy_term_page.tpl.php file is not being processed.
did i miss anything? is there any hidden undocumented magic that makes it work?
Cheers !
Read moreIE layout conundrum. ~ Yah, who's ever heard of such a thing? :-(
On http://mocasystems.com/project-gallery
If you select a gallery with a long title like the 2nd row at the end "Hickam Air Force Base Corrosion Control Hangar & Maintenance Facility"
You will see that when the lightbox opens up and shows the title of the gallery, the NAVIGATION or PREV and NEXT image is buried in the middle of the title.
This was also happening in FireFox until I threw a float:left on the container of the navigation. Maybe theres a better way to fix it in FF that will also work on IE?
What's the work around for this one?
THNX!
- DV
44 Marvelous Sites Powerd by Drupal
I happened upon this and wanted to share. The article mentions Drupal still playing second fiddle to WordPress :) but makes note that the designs are inspirational and could sway someone towards Drupal over other CMS's
Here is the article http://flashjourney.com/2009/11/15/44-marvelous-sites-powerd-by-drupal/
Read moreFront End/UI Developer needed
Has anybody interest, prefereably a free lancer, in joining a web project for 2 months ASAP?
- Excellent graphic design
- Heavy knowledge on Drupal theming, e. g. Views, blocks, search, CCK forms etc.
- IE 6 friendly CSS hacks
- Multimedia player skins
Meetings will be conducted weekly in Vienna. If interested contact me nindl_go@hotmail.com or comment here and include links to your reference works.
Read morehar en HTML.css Sida
Tjena..
Har en fin hemsida jag har gjort i Html,css och jag ville använda drupal och kan använda det eller kan hitta runt ialfall.
det jag inte förstår är hur jag gör samma design o css kod i drupal?? finns det ett smart sätt o bara skicka över allt o sen funkar det.
det e bara det jag har problem med just nu..
och tack till alla som svarar.
Read moreI am organizing weekly 2-hours Drupal sessions in West Hollywood, what would be the best topics to cover?
Using views in cck formatters
In my last project I develop module that may be intersted to community.
The problem was that I need to show list of images (imagefield) from nodes (type A) that references to node (type B) in on full node view page in the node body region. Also I was need to show list of nodes (type C) that have same taxonomy as current viewed node.
The decigion was to run view in the formatter code for nodereference field and to pass in this view value of this field as argument.
What do you think about this solution?
CINDUG: Using the menu tree in the theme
I have a site I am working on where I need to change the page banner based on which part of the primary menu tree the page is located in. The company has two divisions, and if the current page is anywhere in the 'division A' menus, I want to use one set of code, and if it's in 'division B' menus, I want to use another set.
I started looking into menu_get_active_trail(), but that doesnt appear to be returning useable data. Maybe I am trying to use it in the wrong context, as part of the page.tpl.php?
Any suggestions or ideas?
Thanks,
Chris
Anyone experiencing caching problems in Drupal 5.19??
I recently upgraded a website to drupal 5.19, and ever since updating, I am forced to run cron.php, and in some cases even clear the cache to see any changes I make to my style sheets, and/or .tpl files.
Also, around style, in firebug my style.css file is showing as 0f2ab7e0...62c1a.css
I am using Firefox 3.5.2 and Firebug 1.4.2
Anyone else experiencing issues like this?
Read more





