Elxis CMS Forum

Support => Administration => Topic started by: Haic on February 19, 2007, 15:59:00

Title: Trash manager problem
Post by: Haic on February 19, 2007, 15:59:00
Hello,

the files in the trash manager are not visible (only visible wen you clicked on a button for menu or content)

[old attachment deleted by admin]
Title: Re: Trash manager problem
Post by: datahell on February 19, 2007, 23:36:18
I have noticed that once in the past. I don't remember where but you are right. Of cource the problem is not important as if you click on a tab the it displays you the content correctly. I think (without looking the code) the problem is because when the tabs are initiated the script tries to open by default a non existing tab.

This is how the script initiates:

$tabs = new mosTabs(X);

Where X is the number of the tab to display by default, starting from 0.

Quick fix (I have not test it):

Open admin.trash.html.php
go to line 21.
Change this:

$tabs = new mosTabs(1);

to this:

$tabs = new mosTabs(0);

Tell me if the problem solved.
Title: Re: Trash manager problem
Post by: Haic on February 20, 2007, 15:32:26
Hello,

This is the fix what i'm talk about. the problem is solved

thanx for your answer!