>>  Site Map >>  Forums >>  Post Installation Help

Forum module - topics in forum:



Post Installation Help - Help with problems after installation.



Content page html failure

I am running phpnuke 7.7 updated 3.2b.
I go into the admin control and select Content then I make a page. I have two problems.

First: If I leave the box header empty after I hit save a number 3 is placed in the data. And every time I save without removing it a new 3 is added, like 33.

Second: in the Page Text box I hit the html button and paste html code, like

Code: :
<div align="center">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr>
     <td align="center"><strong><u>Visitors</u></strong></td>
  </tr>
      <tr>
        <td align="left">&nbsp;</td>
      </tr>
    <tr>
      <td  style="padding-left:8px" align="left"><strong>•</strong>&nbsp;<a href="http://www.retribution2142.com/modules.php?name=Content&pa=showpage&pid=46">Our Mission Statement</a></td>
</tr>
</table>
</div>


after I hit save the html code is changed to:

Code: :
<div>
<table cellspacing="0" cellpadding="0" border="1">
<tr>
<td><strong><u>Visitors</u></strong></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><strong>&middot;</strong>&nbsp;<a href="modules.php?name=Content&pa=showpage&pid=46\">Our Mission Statement</a></td>
</tr>
</table>
</div>


all the code settings have been removed and the table border has changed to 1. I have tried changing the border back to "0" but it just places the 1 back.

In the config.php, I have:

Code: :
$AllowableHTML = array("b"=>1, "i"=>1, "u"=>1, "a"=>2, "em"=>1, "br"=>1, "strong"=>1, "blockquote"=>1, "tt"=>1, "li"=>1, "ol"=>1, "H1"=>1, "H2"=>1, "H3"=>1, "H4"=>1, "center"=>1, "img"=>2, "alt"=>1, "table"=>2, "tr"=>2, "td"=>2, "p"=>2, "div"=>2, "span"=>2, "font"=>2, "ul"=>1, "hr"=>1, "strike"=>1,);


The wysiwyg editor is on. The funny thing is, I tested the code on my localhost here at my house and it works. Could it be a php setting?

Anyone have a fix?






nevermind I fix it.






Share the knowledge, what did you do to fix it so others who may have the same problem can learn? That's why it's called a community.




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS