I've recently downloaded the newest version of CP/GP and they're displaying tooltips in the LUA, but they're not displaying on the webpage.
- Code: Select all
{
["Item"] = "12846:0:0:0:0:0:0:252582126",
["Color"] = "ffffff",
["Tooltip"] = "Argent Dawn Commission<br>Soulbound<br>Unique<br>Trinket<br>\"Equipping this badge is an indication of service to the Argent Dawn.\"",
["Icon"] = "INV_Jewelry_Talisman_07",
["Name"] = "Argent Dawn Commission",
}, -- [5]
{
["Item"] = "5248:0:0:0:0:0:0:927250164",
["Color"] = "1eff00",
["Tooltip"] = "Flash Wand<br>Soulbound<br>Ranged Wand<br>27 - 52 Nature Damage Speed 1.30<br>(30.4 damage per second)<br>Durability 55 / 55",
["Icon"] = "INV_Wand_02",
["Name"] = "Flash Wand",
}, -- [6]
{
["Item"] = "6948:0:0:0:0:0:0:0",
["Color"] = "ffffff",
["Tooltip"] = "Hearthstone<br>Soulbound<br>Unique<br>Use: Returns you to Stormwind City. Speak to an Innkeeper in a different place to change your home location.",
["Icon"] = "INV_Misc_Rune_01",
["Name"] = "Hearthstone",
}, -- [7]
I'm guessing I changed something in the code of one of the PHP pages. I know I modified the header and footer pages to get rid of the information I didn't wat displayed on the page. Would stripping one of these components have this effect?
Here is my roster_header.tpl
- Code: Select all
<?php
/******************************
* WoWRoster.net Roster
* Copyright 2002-2006
* Licensed under the Creative Commons
* "Attribution-NonCommercial-ShareAlike 2.5" license
*
* Short summary
* http://creativecommons.org/licenses/by-nc-sa/2.5/
*
* Full license information
* http://creativecommons.org/licenses/by-nc-sa/2.5/legalcode
* -----------------------------
*
* $Id: roster_header.tpl 398 2006-12-29 11:15:41Z zanix $
*
******************************/
define('HEADER_INC',true);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>[<?php echo $roster_conf['guild_name']; ?> Roster] <?php echo (isset($header_title) ? $header_title : ''); ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo $roster_conf['roster_dir'] ?>/<?php echo $roster_conf['stylesheet'] ?>">
<?php echo (isset($more_css) ? $more_css : ''); ?>
<script type="text/javascript" src="<?php echo $roster_conf['roster_dir'] ?>/<?php echo $roster_conf['roster_js']; ?>"></script>
<script type="text/javascript" src="<?php echo $roster_conf['roster_dir'] ?>/<?php echo $roster_conf['tabcontent']; ?>">
/***********************************************
* Tab Content script- Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<script type="text/javascript" src="<?php echo $roster_conf['roster_dir'] ?>/<?php echo $roster_conf['overlib']; ?>"></script>
<script type="text/javascript" src="<?php echo $roster_conf['roster_dir'] ?>/<?php echo $roster_conf['overlib_hide']; ?>"></script>
<?php echo (isset($html_head) ? $html_head : ''); ?>
</head>
<body style="background-image:url(<?php echo $roster_conf['roster_bg']; ?>);" <?php echo (isset($body_action) ? $body_action : ''); ?>>
<div align="center">
<!-- End Roster Header -->
This is my roster_footer.tpl
- Code: Select all
<?php
/******************************
* WoWRoster.net Roster
* Copyright 2002-2006
* Licensed under the Creative Commons
* "Attribution-NonCommercial-ShareAlike 2.5" license
*
* Short summary
* http://creativecommons.org/licenses/by-nc-sa/2.5/
*
* Full license information
* http://creativecommons.org/licenses/by-nc-sa/2.5/legalcode
* -----------------------------
*
* $Id: roster_footer.tpl 364 2006-12-19 10:03:13Z zanix $
*
******************************/
// Explicitly close the db
$wowdb->closeDb();
$endtime = explode(' ', microtime() );
$endtime = $endtime[1] + $endtime[0];
$totaltime = round($endtime - ROSTER_STARTTIME, 2);
?>
<!-- Begin Roster Footer -->
<br />
<hr />
<small>WoWRoster v<?php print $roster_conf['version'] ?></small>
<br /><br />
<small><?php echo $wordings[$roster_conf['roster_lang']]['roster_credits']; ?></small>
<br /><br />
<a href="http://validator.w3.org/check?uri=referer" target="_blank">
<img src="<?php print $roster_conf['roster_dir']; ?>/img/valid-html40.gif" alt="Valid HTML 4.0 Transitional" height="15" width="119"></a>
<br /><br />
</div>
</body>
</html>
Anything look fishy?