Return to Snippet

Revision: 44396
at April 18, 2011 18:27 by kfiil


Updated Code
http://www.appnovation.com/drupal-theming-rss-feed-views
http://laryn.kragtbakker.com/blog/drupal-views-cck-rss-theming
http://drupal.org/node/550420

contemplate -> node-blog-rss.tpl.php

<?php
/*
 * Created on Apr 13, 2011
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
$blog = node_load($node->nid);
global $base_url;
?>
<div>
  	<div id="image">
  		<?php 
  			global $base_url;
  			print '<img src="' . $base_url . '/' . $node->field_blog_image[0]['filepath'] . '" alt="' . $blog->title . '" />';
  		?>	
  	</div>
  	<div id="text">
  		<?php print $blog->body; ?>
	</div>
</div>

Revision: 44395
at April 13, 2011 17:29 by kfiil


Updated Code
http://www.appnovation.com/drupal-theming-rss-feed-views
http://laryn.kragtbakker.com/blog/drupal-views-cck-rss-theming

<?php
/*
 * Created on Apr 13, 2011
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
$blog = node_load($node->nid);
global $base_url;
?>
<div>
  	<div id="image">
  		<?php 
  			global $base_url;
  			print '<img src="' . $base_url . '/' . $node->field_blog_image[0]['filepath'] . '" alt="' . $blog->title . '" />';
  		?>	
  	</div>
  	<div id="text">
  		<?php print $blog->body; ?>
	</div>
</div>

Revision: 44394
at April 11, 2011 02:26 by kfiil


Updated Code
http://www.appnovation.com/drupal-theming-rss-feed-views
http://laryn.kragtbakker.com/blog/drupal-views-cck-rss-theming

Revision: 44393
at April 11, 2011 02:19 by kfiil


Initial Code
Drupal, Drupal 6, Theming, Theme

Initial URL


Initial Description
This will build over time, and first be finish when I have all ressources and are satisfied with our corporate rss feed.

Initial Title
Drupal Theming RSS Feed Views

Initial Tags
drupal, theme

Initial Language
PHP