I'am Emilien and french sorry for my bad language.

I'am work on the yget template for Pligg and i want construct my structure page in pligg.tpl with HTML and table, tr, td because i'm not a fan of CSS and DIV.
but when i program this code (HTML) i have a lot of problems when i upload the pligg.tpl. No align, no width ...
Quote:
|
{config_load file="/languages/lang_".$pligg_language.".conf"} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="XHTML namespace" xml:lang="fr"> <head> {include file="meta.tpl"} <link rel="stylesheet" type="text/css" href="{$my_pligg_base}/templates/{$the_template}/css/main.css" media="screen" /> {if $Voting_Method eq 2} <style type="text/css" media="screen"> .top {literal}{{/literal}padding:0 0 0 5px;margin-left:-0px;{literal}}{/literal} .news-submitted {literal}{{/literal}font-size:85%;margin-bottom:3px;color:#999999; {literal}}{/literal} .news-body-text {literal}{{/literal}margin:10px 0px 0px 0px; font-size:96%;{literal}}{/literal} .news-details {literal}{{/literal}margin:0;font-size:85%;{literal}}{/literal} </style> <link rel="stylesheet" type="text/css" href="{$my_pligg_base}/templates/{$the_template}/css/star_rating/star.css" media="screen" /> {/if} {* this is an IE6 specific 'hack' for the yget template *} <!--[if lte IE 6]> <link rel="stylesheet" type="text/css" href="{$my_pligg_base}/templates/{$the_template}/css/ie6.css" media="screen" /> <script type="text/javascript"> if (typeof blankImg == 'undefined') var blankImg = '{$my_pligg_base}/templates/{$the_template}/images/blank.gif'; </script> <style type="text/css" media="screen"> body {ldelim}behavior:url({$my_pligg_base}/templates/{$the_template}/css/iehfix.htc); {rdelim} img {ldelim}behavior:url({$my_pligg_base}/templates/{$the_template}/css/iepngfix.htc); {rdelim} </style> <![endif]--> {checkActionsTpl location="tpl_pligg_pre_title_thickbox"} {checkForCss} {checkForJs} {checkActionsTpl location="tpl_pligg_pre_title_lightbox"} {if $pagename neq "published" && $pagename neq "upcoming"} {if $Spell_Checker eq 1} <script src="{$my_pligg_base}/3rdparty/speller/spellChecker.js" type="text/javascript"></script> {/if} {/if} <title>{if isset($pretitle)}{$pretitle}{/if}{#PLIGG_Visual_Name#}{if isset($posttitle)}{$posttitle}{/if}</title> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="{$my_base_url}{$my_pligg_base}/rss.php"/> <link rel="icon" href="{$my_pligg_base}/favicon.ico" type="image/x-icon"/> </head> <body {$body_args}> <br /> <table width="992" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><table width="992" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="3"><img src="../templates/{$the_template}/images/haut-coin-gauche.gif" width="3" height="80" /></td> <td background="../templates/{$the_template}/images/haut-fond.gif"> </td> <td width="3"><img src="../templates/{$the_template}/images/haut-coin-droit.gif" width="3" height="80" /></td> </tr> </table> <table width="992" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="1" background="../templates/{$the_template}/images/pixel1.gif"></td> <td width="990"><div id="header"> {include file=$tpl_header.".tpl"} </div><!-- header end --> <div id="content-wrap2"> <div id="contentbox" {if $pagename eq "editor"}style="width:100%"{/if}> {checkActionsTpl location="tpl_pligg_above_center"} {include file=$tpl_center.".tpl"} {checkActionsTpl location="tpl_pligg_below_center"} </div><!-- contentbox end --> <div id="sidebar"> {if $pagename neq "editor"}{include file=$tpl_right_sidebar.".tpl"}{/if} </div><!-- sidebar end --> </div><!-- content-wrap end --> {include file=$tpl_footer.".tpl"}</td> <td width="1" background="../templates/{$the_template}/images/pixel1.gif"></td> </tr> </table> <br /></td> </tr> </table> </body> </html> |
Pligg Beta 9 / Les news
Thanks a lot




Linear Mode

