| Author |
Message |
Mysticwolf |
|
Post subject: Problem getting Theme to work
Posted: Oct 11, 2006 - 06:35 AM
|
|
Joined: Oct 11, 2006
Posts: 5
Status: Offline
|
|
Not sure im in the right place for this...I bought the Steeldawn theme for postnuke, I have the free autotheme module...i have my permissions set. But Im still getting the error when trying to load up this theme...
Fatal error: Call to undefined function: themeheader() (url here) on line 42
Im using version .762 postnuke. Could use a little help. Thanks in Advance!! |
|
|
| |
|
|
|
 |
mars |
|
Post subject: RE: Problem getting Theme to work
Posted: Oct 11, 2006 - 11:42 AM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
| Can you post a link to the site? |
|
|
| |
|
|
|
 |
Mysticwolf |
|
Post subject:
Posted: Oct 11, 2006 - 03:14 PM
|
|
Joined: Oct 11, 2006
Posts: 5
Status: Offline
|
|
http://volkshammer.com/postnuke/html/index.php
All the themes that come with postnuke, and with the autotheme all work. Just this particular one doesnt. I can PM you admin access if you would like. |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Oct 11, 2006 - 04:27 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
Looks like the new version of PostNuke doesn't like the topic icon code.
Open summary.html and article.html then replace the following code
Code:
<? // look for topic image in theme
if (file_exists("themes/".$GLOBALS['thename']."/{image-path}topics/".$info['topicimage'])) {
$image = "themes/".$GLOBALS['thename']."/{image-path}topics/".$info['topicimage'];
// if not found in theme, use default one
} else {
$image = "{image-path}topics/".$info['topicimage'];
}
echo "<img src=\"$image\" border=\"0\" alt=\"".$info['topicname']."\">
";?>
with
Code:
<!-- [topic-image] -->
|
|
|
| |
|
|
|
 |
Mysticwolf |
|
Post subject:
Posted: Oct 11, 2006 - 05:57 PM
|
|
Joined: Oct 11, 2006
Posts: 5
Status: Offline
|
|
| I replaced the code in summary.html, and article.html inside the steeldawn theme folder. Im still getting the same code error. |
|
|
| |
|
|
|
 |
mars |
|
Post subject:
Posted: Oct 11, 2006 - 06:07 PM
|
|
Site Admin

Joined: Aug 15, 2004
Posts: 4277
Status: Offline
|
|
Weird..
Could you set me up an FTP account to the steeldawn folder? |
|
|
| |
|
|
|
 |
Mysticwolf |
|
Post subject:
Posted: Oct 11, 2006 - 06:10 PM
|
|
Joined: Oct 11, 2006
Posts: 5
Status: Offline
|
|
|
|
|
 |
Mysticwolf |
|
Post subject:
Posted: Oct 11, 2006 - 06:11 PM
|
|
Joined: Oct 11, 2006
Posts: 5
Status: Offline
|
|
| I gave you full access...just in case you need it. |
|
|
| |
|
|
|
 |
|
|