Skip to main content

Past Partnership coach Costs Springman

Submitted by Benthomson on Wed, 12/06/2017 - 15:29
Forums

Expert soccer: Past Partnership coach Costs Springman joins Detroit Dinosaurs | Expert Football | tulsaworld When you have achieved this point, you have to actually benefit might know about produce and browse us all a whole lot. An advanced subscriber, merely log in pertaining to endless access. If you're a nonsubscriber, you are restricted throughout the amount of tales look for every Four weeks. To get a quite short time, were offering a new $3.89 30 days electronic registration pertaining to limitless electronic digital gain access to.

Young lady inside medical center after

Submitted by Benthomson on Wed, 12/06/2017 - 15:28
Forums

Young lady inside medical center after getting arranged simply by hockey from American Ground : Yahoo Reports (The actual Athletics Xchange) * A little daughter girl was moved to healthcare facility soon after getting hit by way of a foul soccer ball over softball bat of third baseman Todd Frazier within the sixth inning with the New York Yankees' residence online game contrary to the Mn Twins babies upon Wednesday morning.The girl, who was resting around the third-base series, had been dealt with by simply medics from American Ground before being taken up medical center because gamers -- w

Clear view after save a node

Submitted by acharris03 on Wed, 07/05/2017 - 03:58
Forums

Hi,

I need to clear the display of a view after updating a node but it did not work in _hook_node_update.  I have tried in _hook_node_presave:

function module_node_presave($node) {
  if (($node->type == 'article') || ($node->type == 'gallery') || ($node->type == 'video')) {
   $view = views_get_view('news');
   $view->set_display('display_1');
   $cache = $view->display_handler->get_plugin('cache');
   $cache->cache_flush();
  }
}

But it does not work either. Does anyone know how to do it? Thanks!

Displaying the username of the user who created the node in the node template file

Submitted by poonkuzhali on Fri, 02/24/2017 - 14:43
Forums

I created file node--my_content_type.tpl.php, where I'd like to print the username as string. I tried the following code, but unfortunately it doesn't work. How can I do it?

<?php 
  print $name;
?> 

 

not able to display the real name of the users

Submitted by pownraj on Fri, 02/24/2017 - 14:39
Forums

First of all, I am not a techie and have picked the codes mentioned below from various sources. I have added two new fields to the user profile - 'firstname' and 'surname'. I am using a custom theme and on one of the places (on a node), I need to display the real name (making some code changes) instead of the username.

I am replacing the existing code -

<h3><?php print $node->name ?></h3>

With this -

Subscribe to Drupal 7