Quote:
Originally Posted by s810car
I think the 2nd arguement thing was missing a parenthesis, i got it to save by putting brackets like so (took out the quotes in forumid as well, which may or may not be correct)
HTML Code:
<if condition="(THIS_SCRIPT == 'indexTAB' AND (in_array($forum[forumid], $GLOBALS[tabcats]) OR in_array('all', $GLOBALS[tabcats]))) OR (THIS_SCRIPT == 'forumdisplay')">
Doesn't mean it worked though  still got the encoding error
|
I am working on a fix for this now. I may need some help testing it.
Quote:
Originally Posted by s810car
Since you mentioned that, i checked the file I got and it has one line around line 36 saying
and then empty space that line, I assume there's something to be there?
|
You may remove that, tabID isn't set through PHP and I'm not sure how it got in there.
Quote:
Originally Posted by ThomasR
Bobster65: Thank you very much for these answers and the time you devote for us. I will check the other modules for the previous version and try to upload an html page (no header / footer, just html content I guess
Edit:
I just tried to upload a XML file with just this content as a module, and as you may guess, it's not working
Code:
<div align="center">This is a<strong> HTML</strong> test!
</div>
Edit2:
I checked an existing module and edited to:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<modules>
<module>
<name>test html</name>
<file><div align="center">This is a<strong> HTML</strong> test!</div></file>
<cache>false</cache>
</module>
</modules>
Without <file></file>, I have a database error on the import process  Witht these tags, I can import the module, I have the tab, but an empty content.
Can you post a short sample, if you have the time (not a priority at all for me!) Thanks!
|
Adding a module does not require an xml file. Click on "Add Module" in the ACP back end and fill out the form.