Hello, <div><br></div><div>Thanks for the advice!</div><div>I am stuck though on how to keep the formatting from Display Suite and only alter the field value. The node in hook_view_node is a structured array with the element &#39;#markup&#39; containing e.g. &quot;&lt;h4&gt;Title&lt;/h4&gt;&quot;. I&#39;d need to just alter the value and not worry about the formatting. Any ideas?</div>
<div><br></div><div>Best,</div><div><br></div><div><br></div><div>Toon<br><br><div class="gmail_quote">On Tue, Oct 2, 2012 at 4:40 AM, Eric Chen <span dir="ltr">&lt;<a href="mailto:eric.chenchao@gmail.com" target="_blank">eric.chenchao@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Have you tried hook_node_load()?<br>
<br>
Cheers, Eric<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Oct 2, 2012 at 11:42 AM, Ms. Nancy Wichmann<br>
&lt;<a href="mailto:nan_wich@bellsouth.net">nan_wich@bellsouth.net</a>&gt; wrote:<br>
&gt; How about hook_node_view_alter()? I&#39;ve never tried it, but I&#39;d really think<br>
&gt; hook_node_view() would be the right place. There are also some field and<br>
&gt; entity hooks that fire before that.<br>
&gt;<br>
&gt;  Nancy<br>
&gt; Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King,<br>
&gt; Jr.<br>
&gt;<br>
&gt; ________________________________<br>
&gt; From: toon severijns<br>
&gt; This must be a simple thing to do but i can&#39;t seem to get my head around it:<br>
&gt;<br>
&gt; I have got a content type &#39;publication&#39;<br>
&gt; A publication can have two possible physical formats: &quot;normal&quot;, &quot;electronic&quot;<br>
&gt; When a publication has physical format &quot;electronic&quot; i&#39;d like to alter my<br>
&gt; title field in al my view modes (i use display suite) like this &quot;Some Title<br>
&gt; (electronic)&quot;<br>
&gt;<br>
&gt; I&#39;ve been trying theme_preprocess_node function but to no avail.<br>
&gt; I&#39;ve also tried hook_node_view, but there i have my title field already as<br>
&gt; markup in an array so i can&#39;t just alter the title itsself.<br>
&gt;<br>
&gt;<br>
</div></div><span class="HOEnZb"><font color="#888888">&gt; --<br>
&gt; [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></span></blockquote></div><br></div>