Spidean  

The home of the AutoTheme HTML Theme System: PHP-Nuke Themes, phpNuke Themes, PostNuke Themes, Zikula Themes, Platinum Nuke Themes, Nuke Evolution Themes, Smeego Themes

 
 
Pinnacle of Excellence  

FAQ

SUPPORT

THEMES

TEMPLATES

   
   

   
Main Menu

Purchase AutoTheme
Buy Now
 
Welcome Guest   Register | Log in



Spidean Forums
You are not logged in

 < Last Thread   Next Thread >Ascending sortDescending sorting  New Topic  Post Reply
Author: Subject: Block phpMyBorder Class

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?

 
Reply With Quote

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

 
Reply With Quote

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.

 
Reply With Quote
New Topic    Post Reply


Powered by XForum 1.81 by Trollix Software

Printer Friendly Page Printer Friendly Page 
         



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


AutoTheme   Built with AutoTheme   Enhanced by AutoTheme   Powered by AutoTheme

Valid HTML 4.01!   Valid CSS!
Powered by the AutoTheme HTML Theme System
Page created in 0.096642 Seconds