Elxis CMS Forum

Support => General => Topic started by: Eldinovsky on March 09, 2009, 17:09:51

Title: php to html?
Post by: Eldinovsky on March 09, 2009, 17:09:51
Hi,

I'm totally new member, and maybe this post will be moved to another place, But i didn't find any category which will i post my question similar to my problem...

Question:

I was looking in Elxis home page few links, and every single link is linked like this:

http://www.elxis.com/category - example

or let's image there is new post, called Example post and it is formed like this:

http://www.elxis.com/example-post.html


My problem is that, when I try to link my new post, or new category or anything else, i'm getting this:

http://example.com/index.php?action=post;board=10.0 (I just linked this forum, for example)


How to change this php to html, my whole elixis page?, Is there any way, code, anything...please help me, I dont like this php at all... :(
Title: Re: php to html?
Post by: Ivan Trebješanin on March 09, 2009, 17:22:46
Hi Eldinovsky, and welcome!
I think you area talking about SEOpro feature. Just go to Administration->Global Configuration and under SEO tab select SEOpro from the dropdown list. Also you have to use ftp and inside root folder (public_html, www... or something) find and and rename htaccess.txt to .htaccess
Thats's all
Title: Re: php to html?
Post by: Eldinovsky on March 09, 2009, 17:25:17
Thank you Ivane :)

Kolega iz Bosne ;)
Title: Re: php to html?
Post by: Eldinovsky on March 09, 2009, 17:27:57
This was realy easy :)

Thank you very much Ivan :)))
Title: Re: php to html?
Post by: Ivan Trebješanin on March 10, 2009, 03:01:33
Greetings from Serbia

We must use only english in this part of forum, but if you take a look, you can find our little forum called Srpski where we can write in "our" language. When I say "our" I mean south-slovenian (ex-Yugoslavia) what ever you call it (serbian, croatian, bosnian, montenegrian....). ;)
Title: Re: php to html?
Post by: Eldinovsky on March 10, 2009, 16:24:30
Is there any chance to also replace index.php to index.html in Template manager?

Picture one:

(http://i222.photobucket.com/albums/dd188/Studentinjo/one.jpg)

Click on "Edit HTML" code and I'm getting this:

(http://i222.photobucket.com/albums/dd188/Studentinjo/two.jpg)

Index.php?....Is there any chance to edit real index.html file?

Title: Re: php to html?
Post by: ks-net on March 10, 2009, 18:11:20
there is no need ... why to do this?
Title: Re: php to html?
Post by: Eldinovsky on March 10, 2009, 18:29:47
I'm totally noob in php...instead of HTML...
Title: Re: php to html?
Post by: ks-net on March 10, 2009, 18:52:00
elxis is a php based software and needs that index.php, but....

nothing to afraid of....

just look carefully inside index.php....
you will see that you don't have to edit php code... only some copy paste of php statements need when working on a new template , if working in an already elxis tpl ... work around them,no need to touch php!
Title: Re: php to html?
Post by: Ivan Trebješanin on March 10, 2009, 19:04:10
Index.php?....Is there any chance to edit real index.html file?

There is no "real index.html". It doesn't exist. PHP is sever-side scripting language, so index.html doesn't exist actually. It is too complicated to explain everything here, but try to imagine that no page exists really, they are all created "on the fly", for every user request.
Title: Re: php to html?
Post by: Eldinovsky on March 10, 2009, 19:38:23
Ok, thank you guys :)

I've used joomla few years, and it seems the same style, configuration, so I'm asking this question...

When you opet Template there was always that HTML file not php..but I'll handle it :)

Thank you very much for explainations :)