Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Bug reports and fixes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Can we use a html template (that uses jquery) as an Elxis 4.x template?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Can we use a html template (that uses jquery) as an Elxis 4.x template? (Read 8703 times)
ROUBOS
Hero Member
Posts: 699
Can we use a html template (that uses jquery) as an Elxis 4.x template?
«
on:
January 13, 2014, 12:39:55 »
Hi,
I normally create my own templates to use with elxis. Have never created a template for the new Elxis 4.x.
I would like to create a new template and convert an old Elxis site to a new 4.x version.
Actually I only want to take the articles across, not the plugins.
Can we just use any html template that uses jquery (to make it more presentable) and convert it to an Elxis template?
Is it as simple as adding the Elxis 4.x php code?
thanks
(It's been a while since I last created an Elxis site and looking forward to working with Elxis again)
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Can we use a html template (that uses jquery) as an Elxis 4.x template?
«
Reply #1 on:
January 14, 2014, 17:45:37 »
Unfortunately i can't tell you if it's simple or easy to do that as it will be a totally subjective opinion. You could use the
existing templates
in order to help you. We are here to assist you if you need something in particular.
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
ROUBOS
Hero Member
Posts: 699
Re: Can we use a html template (that uses jquery) as an Elxis 4.x template?
«
Reply #2 on:
January 14, 2014, 18:24:11 »
thanks for your reply.
Since I have created a few templates myself in the past, I will go ahead and try it.
All I will need is the template guide for Elxis 4.x for the php code required.
thanks
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Can we use a html template (that uses jquery) as an Elxis 4.x template?
«
Reply #3 on:
January 14, 2014, 20:56:15 »
Elxis 4.x templates are the same or even easier than 2009.x. The difficulty is on the complexity you want to add afterwards, after the basic layout/style. Css/jquery/scripts, etc, are the same for Elxis 4.x, 2009.x, wordpress, joomla, drupal, plain html, anything.... These things are platform independent. If for example you want to create your own image slider you have to know javascript. If you dont know javascript you can't write js code in any cms.
The
template's tutorial for Elxis 4.x
is the place to start.
The php you will need are these four standard code blocks, anything else is optional:
<?php $eDoc->showHead(); ?>
display the page's head
<?php $eDoc->modules('left'); ?>
load a module's position
<?php $eDoc->component(); ?>
display the main component
<?php $eDoc->pathway(false); ?>
display the pathway
You can convert any html template to an Elxis 4.x template.
«
Last Edit: January 14, 2014, 20:58:50 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
ROUBOS
Hero Member
Posts: 699
Re: Can we use a html template (that uses jquery) as an Elxis 4.x template?
«
Reply #4 on:
January 14, 2014, 22:56:43 »
thank you.
Now since I have an Elxis site running 2009.3, should I install Elxis 4.2 in a subfolder and once ready import all articles from the previous site and make it live? Or do I convert the 2009.3 to a 4.2 Elxis site?
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Can we use a html template (that uses jquery) as an Elxis 4.x template?
«
Reply #5 on:
January 15, 2014, 10:58:09 »
You have to install Elxis CMS 4.2 to a subfolder of your Elxis CMS 200x.x installation and convert it by following
these instructions
.
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
ROUBOS
Hero Member
Posts: 699
Re: Can we use a html template (that uses jquery) as an Elxis 4.x template?
«
Reply #6 on:
January 18, 2014, 10:44:24 »
thank you,
I will look into it and try and get it done.
There is a very active website I created long ago that has many members and daily visits that I want to upgrade.
thanks again.
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Can we use a html template (that uses jquery) as an Elxis 4.x template?
«
Reply #7 on:
January 19, 2014, 10:51:28 »
You are very welcome, Roubos.
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
ROUBOS
Hero Member
Posts: 699
Re: Can we use a html template (that uses jquery) as an Elxis 4.x template?
«
Reply #8 on:
January 19, 2014, 11:58:55 »
To install 4.2 I will need to create a database as per normal right? Or do I use the current database.
Also on the Elxis site there is version 4.1 for download. Is 4.2 a beta?
thanks
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Can we use a html template (that uses jquery) as an Elxis 4.x template?
«
Reply #9 on:
January 19, 2014, 13:02:27 »
Current Elxis version is
4.1
.
Elxis 4.2 is under development.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Can we use a html template (that uses jquery) as an Elxis 4.x template?
«
Reply #10 on:
January 19, 2014, 16:39:06 »
Yes you should create a new database. It's like you do a fresh install of Elxis CMS 4.1. Don't forget to install to it on a sub-folder of your elxis 200x.x site. Send us a question if you face any issue.
«
Last Edit: January 20, 2014, 10:41:50 by webgift
»
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
ROUBOS
Hero Member
Posts: 699
Re: Can we use a html template (that uses jquery) as an Elxis 4.x template?
«
Reply #11 on:
January 20, 2014, 14:49:45 »
Ok when I tried to move the repository/ folder to the recomended location, I get the permission denied error...
so I guess I need to talk to the provider for this, or should I just use the default location?
«
Last Edit: January 20, 2014, 15:08:07 by ROUBOS
»
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Can we use a html template (that uses jquery) as an Elxis 4.x template?
«
Reply #12 on:
January 20, 2014, 15:25:16 »
As it seems you have set the repository folder properly. Now you must change the folder permission to 755 and verify that you are the owner of this folder.
In case that you have ssh access as a root you could give 2 lines of commands:
chown -R owner:owner /path/to/repository/folder
chmod -R 755 /path/to/repository/folder
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
ROUBOS
Hero Member
Posts: 699
Re: Can we use a html template (that uses jquery) as an Elxis 4.x template?
«
Reply #13 on:
January 20, 2014, 15:36:34 »
the repository folder does have permission 755
trying to move it using the Plesk File manager
Logged
webgift
Elxis Team
Hero Member
Posts: 4193
Re: Can we use a html template (that uses jquery) as an Elxis 4.x template?
«
Reply #14 on:
January 20, 2014, 15:54:00 »
Can you please send me FTP access via PM? As it seems your provider suggested: the Plesk File manager as it won't change the owner of the directories.
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
Can we use a html template (that uses jquery) as an Elxis 4.x template?