Elxis CMS Forum

Extensions => Templates => Topic started by: yiannisK on May 08, 2008, 17:22:21

Title: Problem with some Templates on Local machine (xampp)
Post by: yiannisK on May 08, 2008, 17:22:21
Dear friends,

i just loaded the core files in my local machine with the xampp (win32-1.6.6a-installer.exe)
Everything works perfect but i found a small problem. I tried to make default other frontend templates like "BlueinGreen" or "OpenMind". Some of them works some others no! I used them without any change (zipped) and the strange thing is that when i uploading the site onto the server everything works perfect!

Thanks in advanced for your replies

Yiannis

[old attachment deleted by admin]
Title: Re: Problem with some Templates on Local machine (xampp)
Post by: Ivan Trebješanin on May 08, 2008, 19:03:47
Hi yiannisK,
I see that in case of BlueInGreen template, template_css.css file is not loaded....
Have you installed Elxis on subdirectory?
You can use view source in your browser, and see if template_css.css file is loaded in <head></head> section. Or maybe it has the wrong path?
Title: Re: Problem with some Templates on Local machine (xampp)
Post by: yiannisK on May 08, 2008, 20:49:13
Thanks Ivan for your response,

i found this after different installations on local machine...

for some reason, when we load in a local directory the core files of Elxis, ex. "C:\xampp\htdocs\[subdirectory]" (as proposed in manuals for installation in local machine, using Xampp), some templates can't find the "template_css.css"

This is the source code of the Elxis page using the front-end template "Openmind"
Code: [Select]
link href="http://localhost/elxis_a/templates/openmind/css/template_css.css" running under the "C:\xampp\htdocs\elxis_a\"

and the "BlueinGreen" front-end template
Code: [Select]
link href="/templates/blueingreen/css/template_css.css" always under "C:\xampp\htdocs\elxis_a\"

I looked the code of the "index.php" and "templateDetails.xml" between these 2 templates but there are no differences.

So i tried something different, i renamed the "index.php" in the "C:\xampp\htdocs\" directory that links the cpanel of the Xampp installation into [something_else].php and copied all the core files of the Elxis.

I re-installed the Elxis, the site runs directly under http://localhost address without problems.



Title: Re: Problem with some Templates on Local machine (xampp)
Post by: Ivan Trebješanin on May 08, 2008, 21:36:07
About creating local TLD-s https://www.elxis.org/guides/developers-guides/local-apache-and-virtual-hosts.html

About template_css.css link... https://forum.elxis.org/index.php?topic=2075.msg12349#new

 ;)
Title: Re: Problem with some Templates on Local machine (xampp)
Post by: yiannisK on May 08, 2008, 22:05:09
Thanks Ivan