Hi Guys,
I created a content type called projects.. In this i added a extra field image uploading, using cck fields. Then i created a custom node type called node-projects.tpl.php for theming the content. Here when i used <?php echo $content; ?> Everything get printing including images.. But i want to print everything separately. How i can get the value only for cck fields???
Try this, It will print all
Try this, It will print all the elements of $content in array
<?php print drupal_render($content); ?>
Regards
Faruq Shaik
http://faruq1256.blogspot.com
Hello Mayilarun, Try this
Hello Mayilarun,
Try this Solution,
Use below step,its helpful for your requirement
foreach ($nodes as $i => $node) {
..
$vars['my_variable_name'] .= $node->field_banner_url[0]['value'];
...
}
Drupal Web Developers,Drupal Web Development Company,Drupal website services,Drupal Web Development
Drupal Development, Drupal Web Service
Linux Foundation may use web
Linux Foundation may use web beacons from time to time. Such web beacons may be provided pmp exam by Linux Foundation’s third party advertising companies to help manage and optimize Linux Foundation’s online advertising. A web beacon is a string of code that provides a method for delivering a graphic image on a web praxis exam page or in an email message for the purpose of transferring data, or determining how many times a specific web page has been viewed. Web beacons enable Linux Foundation to recognize a browser’s cookie when a browser visits a Site, and to learn which banner ads bring users to each Site. For example, when a user visits a web page, the code for the page may include instructions to go to another server to gather a single pixel graphic image. Web beacons psat are not placed on a user’s computer, and users remain anonymous. To opt out of targeted advertising delivered by Linux Foundation, or third party advertisers, users can opt to use freely available ad blocking software, to prevent ads from displaying in their browser. The Linux Foundation does not promote or recommend any type ptcb test of ad blocking software, nor guarantees that any of the Site services will remain fully functional if the user utilizes such software.