PDA

View Full Version : Some templates work, some do not?


divamissx
27.06.2004, 17:31
I apologize if this has been explained in another thread.

Why is it that as I change from one template to another (after a brand new mambo installation), some of them work fine and others display error messages such as the following:

Warning: mosloadcomponent(/[path to mambo]/components/com_newsflash/newsflash.php): failed to open stream: No such file or directory in /[path to mambo]/includes/frontend.php on line 23



Thanks so much!

Stacey

eyezberg
27.06.2004, 18:10
Because there's no standard way to code templates, every designer does as he(she) pleases, so some include ALL the module positions, some only left/right/top, others call in modules with a loadModule tag, some use the data, pathway, search, others not etc..., so once you've got everything nicely laid out in one template, the next one can mess it all up, or move stuff around if the module postions are coded into another place etc..
How about imposing a standard for all templates, like the mos-defined module positions must be coded, also search, and maybe pathway..?

divamissx
27.06.2004, 18:38
That's interesting. I would say that instead of imposing a standard, that each template should be published with explicit documentation or mapping of the modules and positions so others know what to expect before they load it into their sites.

Thanks so much for the info!

Stacey