| |
|
|
|
|
|
Purchase AutoTheme |
 |
|
|
Spidean Forums You are not logged in | | |
|
|
|
zqmp987
Newbie   Posts: 5 Registered: 2/17/2005 Status: Offline
|
posted on 12/15/2005 at 01:54 PM |
This class is really cool. I've tried incorporating it into Autotheme, but
haven't been successful. http://www.phpmyborder.com/
My Block looks like this-
<? include_once('phpmyborder.class.php');
$pmb = new PhpMyBorder();
echo $pmb -> begin_round("179px","ffffff","808080"); // (width,
fillcolor, edgecolor)
echo"<table width='100%' border='0' cellspacing='0'
cellpadding='0'>"
. "<tr> "
. "<td><h2><!-- [block-title]
--></h2></td>"
. "</tr>"
. "<tr> "
. "<td><!-- [block-content] --></td>"
. "</tr>"
. "</table>"
."";
echo $pmb -> end_round();
?>
The block does not show. Any suggestions? |
| |
| |
Shawn
Administrator   Posts: 4519 Registered: 10/7/2002 Status: Online
|
posted on 12/19/2005 at 10:57 AM |
1. You don't want to echo out AutoTheme commands like <!-- [block-title]
-->. Use straight HTML for those.
2. What template is this in? Does any block that is active use it?
3. Where is 'phpmyborder.class.php'? To use it like that it must be in
your root CMS dir. If it is in iincludes for example, it would be
'includes/phpmyborder.class.php'.
-Shawn |
| |
zqmp987
Newbie   Posts: 5 Registered: 2/17/2005 Status: Offline
|
posted on 12/28/2005 at 02:25 PM |
Note 1. did the trick.
Blocks are working perfectly. Tables don't yet, but I'll figure it out.
Thanks, Again. |
| |
|
|
| |
AutoTheme is an HTML Theme System currently supporting the Zikula, PostNuke, PHP-Nuke, MD-Pro Content Management Systems (CMS) and derivative Nukes, osCommerce and CRE Loaded shopping carts and the Wordpress blog.
PHP-Nuke Themes, PostNuke Themes, Zikula Themes, WordPress Themes, osCommerce Templates, CRE Loaded Templates, osCommerce Themes, CRE Loaded Themes
Copyright © 2002-2008 Shawn McKenzie and Spidean. Content on this site may not be reproduced in any form without prior written consent.
Syndicate our news | Google Sitemap
Terms of Use | Privacy Policy | Credits
|
|
Page created in 0.096642 Seconds
|