Spidean Forums


 < 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

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

Administrator




Posts: 4548
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
New Topic    Post Reply


Main Menu

Get AutoTheme

New Template

Featured Item

Poll

How do you like the new look?

[ Results | Polls ]

Votes: 30
Comments: 0

Powered by the AutoTheme HTML Theme System
Page created in 0.107641 Seconds