Viewing 1 post (of 1 total)
  • Author
    Posts
  • ukjoomla1 Friend
    #147178

    Solved
    I downloaded the original source code for index.php and copied the code

    [PHP]<?php JHTML::_(‘behavior.mootools’); ?>
    <link rel=”stylesheet” href=”<?php echo $tmpTools->baseurl(); ?>templates/system/css/system.css” type=”text/css” />
    <link rel=”stylesheet” href=”<?php echo $tmpTools->baseurl(); ?>templates/system/css/general.css” type=”text/css” />

    <link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/typo.css” type=”text/css” />

    <script language=”javascript” type=”text/javascript” src=”<?php echo $tmpTools->templateurl(); ?>/js/ja.script.js”></script>
    <?php if ($tmpTools->getParam(‘ja_cufon’)) : ?>
    <script language=”javascript” type=”text/javascript” src=”<?php echo $tmpTools->templateurl(); ?>/js/cufon/cufon.js”></script>
    <script language=”javascript” type=”text/javascript” src=”<?php echo $tmpTools->templateurl(); ?>/js/cufon/Zrnic_400.font.js”></script>
    <script type=”text/javascript”>
    Cufon.replace(‘.componentheading, .contentheading, div.moduletable h3, div.moduletable_menu h3, div.moduletable_text h3,div.moduletable_highlight h3’, { fontFamily: ‘Zrnic’ });
    </script>
    <?php endif; ?>[/PHP]

    into the index.php file, replacing the code I had been tinkering with. Changed the font name and is working fine.

    ————————————————————————————————————

    I am running Joomla 1.5.14 and set up a website about 4 months ago with Cufon enabled, which worked fine.

    Today I wanted to add another class into the code in the template’s index.php

    The only thing I changed was the code on line 115 (referred to in the article http://www.joomlart.com/forums/topic/how-to-install-cufon-dtr-and-configure/)

    I must have got the code wrong, because nothing happened to the text I wanted to Cufon enable, so I took out the code I had added.

    When I refreshed the browser, none of the Cufon enabled headings etc were working and were just plain text.

    I am not sure what’s happened – it’s probably something I’ve left in the code but I am not sure.

    I have reinstalled the Cufon-enabled font.

    The website address is http://www.valkenhofdressage.ca

    Any help would be really appreciated.

    Tom

Viewing 1 post (of 1 total)

This topic contains 1 reply, has 1 voice, and was last updated by  ukjoomla1 14 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum