Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2009-01-15 22:01:02

anjudan
New member
Registered: 2009-01-15
Posts: 3

How can I change the Linker Plugin directory tree or hide it

I read through the Plugin:Linker page - http://xinha.webfactional.com/wiki/Linker - and can't make sense of how to modify the scan.php file to make a chosen directory tree appear instead of the default directory tree.  I'm not a PHP programmer but I do know some PERL programming.  But the instructions at the link above don't make sense to this Xinha newbie.

If someone could more explicitly tell me what to do to change the directory tree, that would be great.

Otherwise, I would like to know how to just hide the directory tree from showing, since I think it'll be too difficult for me to try to change it to show a different directory tree.

Any help would be appreciated.

Offline

#2 2010-07-09 11:50:46

webwol
New member
Registered: 2009-03-22
Posts: 2

Re: How can I change the Linker Plugin directory tree or hide it

Hi

Just replace the $dir variable   :$dir      = dirname(__FILE__)."/../../chosendirectory"; (relative to the scan.php file)

and the $url variable:   $url       = 'http://www.yoursite.com/chosendirectory';

That must do the trick. At least that was enough for me.

Succes,
webwol

Offline

#3 2010-07-09 11:53:32

webwol
New member
Registered: 2009-03-22
Posts: 2

Re: How can I change the Linker Plugin directory tree or hide it

Correction:
When your Xinha directory is in the root of the site, than is one more directory up;
Just replace the $dir variable   :$dir      = dirname(__FILE__)."/../../../chosendirectory";

Offline

Board footer

Powered by FluxBB