Elxis CMS Forum
Support => General => Topic started by: theprincy on December 12, 2006, 21:25:09
-
Hi to all I am theprincy (one of the so many moderators of mamboserver.com) :) I am Italian, and I wanted to tell you that I have begun to translate the part admin in my language, besides I am making a will the component multisite from me realized for mambo with installation of elxis as soon as he will have overcome the first phase of testing I will release it :)
-
Hi theprincy, and welcome aboard!
It is good to hear that you started translating the administration language to Italian. When you finish it, please send it to us to make it available.
I am having difficulty to understand the second part of your message. Have you already developed a component that you want to migrate to Elxis, or you are starting developing a new component for Elxis?
Either way it is good news.
-
A componet multisite for mambo http://www.powerpcweb.it/multisite-per-mambo-4.6-rc2.html
is it possible to pass from mambo to elxis? I have not seen the charts yet...
I like a lot the functions Elxis Defender and FloodBlocker, and thanks to this I am thinking about adjourning my site www.powerpcweb.it from mambo to elxis ::)
-
Thank you for the clarification about the component.
It is possible to convert a Mambo site to Elxis, but there is no automatic procedure for it.
You have to make it manually.
There are three points that you have to focus:
- The database schema differences (Elxis, adds new features)
- The compatibilty with already installed addons.
- Changes to the configuration.php (Elxis, adds new features)
The files are no problem, as all you have to do is just overwrite the Mambo files.
-
The database schema differences (Elxis, adds new features)
how it is possible to do it?
-
theprincy welcome to Elxis.
When you finish making compatible multisite component with Elxis you can send it to me to check if it is ok and fulfills Elxis standards. You must make attention to these subjects:
- Elxis language system compatibility (frontend - backend)
- Utf-8 compatibility (use eUTF class)
- ADOdb compatibility (we also recomended using xml schema for the install procedure - see stargallery component as an example). Also avoid using any mysql native functions
- Use File Manager functions instead of the classic PHP's for your component to be able to handle files using FTP.
- Use Elxis access system.
- Use language(s) as an extra parameter (table column) to filter what a visitors sees and to add extra capabilities to your component (optional).
- Use elxis way to filter table rows in administration - the small green/red arrows (optional).
You can ask here any time for help.
Welcome!
-
A database schema is an XML file that contains database table structure and queries. By using XML schema we make our components able to be installed in any database type Elxis supports and avoiding other problems that may occur due to ADOdb. Creation of XML schema files is much easier than writing SQL commands! See component stargallery as an example or read ADODB/DataDict manual for help.
To parse an XML schema, follow the standard procedure by placing the following code in installation file:
$schema = new adoSchema( $database->_resource );
$schema->ContinueOnError( true );
$schema->SetPrefix( $database->_table_prefix );
$schema->ParseSchema( 'absolute path to your XML schema here' );
$schema->ExecuteSchema();
that's it!
Sample XML file contents:
<?xml version="1.0"?>
<schema version="0.2">
<table name="mytable_name_without_prefix">
<field name="id" type="I">
<KEY/>
<AUTOINCREMENT/>
</field>
<field name="description" type="X"></field>
<field name="name" type="C" size="50"></field>
<field name="introtext" type="X"></field>
<field name="date" type="T">
<NOTNULL/>
<DEFAULT value="1979-12-19 00:00:00"/>
</field>
</table>
</schema>
-
To migrate the mambo contents to elxis as to do?
-
I did not understood your question...
-
I would want to migrate the contents (articles ) mambo in elxis :(
-
I understood that but I dont understand what you mean by saying "migrate". You want to convert a mambo site to elxis? What exactly you want to do? If you want to convert a mambo site to elxis the procedure is a little complecated as requires to add and rename database columns, add database tables and convert data to utf-8. It can surely be done but only manual and with great attention.
-
yes i want convert a mambo site to elxis
excuse me for my English
-
Hi theprincy,
I see you finally found your way here, that's cool. I also told Keith about this project. It is very nice to see you guys here.
This project is very promising, I like it very much. I'm gonna translate a version into Spanish as soon as I can get a hold of FrontPage 2003, I need that program because of the tildes in Spanish.
Perhaps I can get a Spanish community going and help out in that area.
I'm also making my templates compatible with elxis and will soon release them, most are GPL.
Cheers
-
;D ;D ;D ;D ;D