Jump to content
TNG Community
roakdah

Heading template 15

Recommended Posts

Scott_Pryer

please send link to your website so we can better understand what you are talking about.

Share this post


Link to post
Share on other sites
Scott_Pryer

I am not completely familiar with Template 15.  Is the surname cloud a standard feature or did you install a Mod?

Share this post


Link to post
Share on other sites
bhemph

I am guessing that you added the following to your index.php for template15

<div>
    <?php
        include($cms['tngpath'] . "surname_cloud.class.php");
        $nc = new surname_cloud();
        $nc->display(100);
    ?>
</div>

If you add the header after the "<div>" and before the "<?php" it will show as the heading over the surname cloud.  So something like

<div>
	<h2>Surname Cloud Title</h2>
    <?php
        include($cms['tngpath'] . "surname_cloud.class.php");
        $nc = new surname_cloud();
        $nc->display(100);
    ?>
</div>

puts "Surname Cloud Title" above the surname cloud in the style of h2.  If you want the text to be able to switch when you change between English and Norwegian, then you will want to use $text['surname_cloud_title'] that you would set in the cust_text.php for both of the languages and call with something like <h2><?php $text['surname_cloud_title'] ?></h2> in that line.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×