Login  Register

Re: app_body_header

Posted by Harvey on Nov 02, 2014; 1:02pm
URL: https://support.nabble.com/app-body-header-tp7584955p7592306.html

In app_body_header

I want to add the right hand column ad to more nodes

<n.comment.>Here is the code for the third column.</n.comment.>
            <div class='header-col'>
                <n.comment.>If is the root node, I add the face book like. You can check it for other sub forums.</n.comment.>
                
               <n.if.equal value1="[n.id/]" value2="2102421">
                <then>
                    <n.set_css_header/>
                    <div id="right_img" class='header-col'>
                        <a href="http://www.avantlink.com/click.php?tt=ml&amp;ti=97425&amp;pw=149617&amp;ctc=forum-ad-260" rel="nofollow" target="_blank">
                                <img src="http://nyskiblog.com/wp-content/uploads/2013/10/Liftopia-Ad-260-1.jpg" title="Click to Shop Lift Ticket Deals." alt="Liftopia" /></a>   
                    </div>
                </then>  
            </n.if.equal> 
                
                <n.if.is_root>    
                    <then>
                        <n.face_like/>       
                    </then>    
                </n.if.is_root>        
            </div>

There is some way to use this:

<n.if.contains_substring string="3646525, 3541284, 2531293" substring="[n.id/]">

</n.if.contains_substring>

to replace this and this:

<n.if.equal value1="[n.id/]" value2="2102421">

</n.if.equal>

But every time I do it I get an error.

Can you take line 88 and add the code for making it apply to mulitple nodes, and I will add the other nodes I want?
HTTPS Please!