Elxis CMS Forum

Extensions => Templates => Topic started by: Coursar on January 22, 2007, 21:00:03

Title: problem with md_suckerfish.php
Post by: Coursar on January 22, 2007, 21:00:03
hello. I have some problem with template. When i use md_suckerfish.php to create a submenu it's work, but when I'm autorize submenu disappears. Where is problem? It's problem for all Joomla template, using with md_suckerfish.php

Sorry for my english.
Title: Re: problem with md_suckerfish.php
Post by: datahell on January 23, 2007, 08:15:57
Can you send me the file or write a link here to download this template and see it?
Title: Re: problem with md_suckerfish.php
Post by: Coursar on January 23, 2007, 10:03:10
ok.

[old attachment deleted by admin]
Title: Re: problem with md_suckerfish.php
Post by: datahell on January 23, 2007, 12:58:47
This template has logic inside it which is incompatible with Elxis cms.
I don't know why the creator of this template added logic to it. It does not make any sence.
Also there is a variable named $color which passed into script without any validation. It is very low risk but the $color should be validated before use.

The most important is that this template uses mambo's/joomla's access/language system.
Elxis is a multilingual system and also has an advanced access system.


DO NOT use this template with Elxis!
Title: Re: problem with md_suckerfish.php
Post by: Coursar on January 23, 2007, 14:51:08
that's means, that some joomla & mambo templates can't use with elxis ?
Title: Re: problem with md_suckerfish.php
Post by: datahell on January 23, 2007, 18:24:26
Normally any mambo/joomla template fits to Elxis. But the specific template is out of the standards both for Elxis and mambo/joomla. The idea behind templates is to easily alter the site's appearence without messing up with php code. The specific template breaks these standards and it has php logic in it (function, db querries etc). And most important is that messes up with the access system. Do not use it with Elxis OR converted to Elxis compatible trying to remove as much php code as you can.