forum.easy-joomla.org
23. 01. 2009 23:48 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
Neueste Beiträge
Re: SQL queries insertion in XML file von patoutis Gestern um 20:05
Re: EasyCreator 0.0.X SVN - MVC Components von keran Gestern um 10:35
Re: Hintergrundbild des Editorfensters von cybergurk 21. 01. 2009 23:10
News:
Tutorials/Anleitungen rund um Joomla!

 
 
    Übersicht   Hilfe Suche Spenden/Sponsors Impressum/Imprint Downloads Hauptseite Projects Tutorials Einloggen Registrieren  
Subject Statistics
Thema: SQL queries insertion in XML file Replies: 2 posts
Gelesen 141 mal 0 Mitglieder und 1 Gast betrachten dieses Thema.
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: SQL queries insertion in XML file  (Gelesen 141 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
patoutis
Newbie
*
OfflineOffline

Registriert seit: 16.01.09
Beiträge: 2


Profil anzeigen
« am: 16. 01. 2009 10:17 »

Hello,

First of all, thank you very much for this extension, it helps a lot in quickly developing Joomla extensions. ThumbsUp

There is one thing I don't know how to do with Easy Creator. This is probably because this is not a feature implemented in Easy Creator.

I would like to process SQL queries while installing or uninstalling a component. For that purpose these SQL queries must be inserted in the XML file of the install package. But Easy Creator seems to not allow such SQL insertions. Do I have to insert them after having packaged the extension? Is it a feature you plan to implement?

Thanks a lot

Patrice
Gespeichert
elkuku
Developer
Jr. Member
*
OfflineOffline

Registriert seit: 11.12.07
Beiträge: 74



Profil anzeigen WWW
« Antworten #1 am: 19. 01. 2009 17:14 »

Hello Patrice and welcome to the forum,
thanks for pointing this out. You have just discovered a 'hidden feature' in EasyCreator.
It is hidden because of the fact that it is somewhat 'untested' Wink
So her's the deal:
I tell you how to access it and you report back with some success / failure note - OK ?  Smiley

Inside the folder
Ordner/administrator/components/com_yourcomponent
create a folder named  Ordnersql
inside that folder put your sql files named
Datei/eninstall.yourcomponent.sql
and (optional)
Datei/enuninstall.yourcomponent.sql

That should be all - on packing your extension the xml file will be created and should include your sql files in the apropiate section.

Please report back.  Händedruck
Nikolai
Gespeichert

Gruss,
Nikolai - NiK-IT.de
Easy-Joomla Team
patoutis
Newbie
*
OfflineOffline

Registriert seit: 16.01.09
Beiträge: 2


Profil anzeigen
« Antworten #2 am: Gestern um 20:05 »

Hello Nikolai

Thank you, your solution works perfectly! SQL queries are taken into account in installing the component as well as uninstalling it. It's time to add this feature in the next release!

Good job! Klatschen

Patrice
Gespeichert
forum.easy-joomla.org
« Antworten #2 am: Gestern um 20:05 »

all-inkl.com webhosting
 Gespeichert
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  


Audiovisuelle Filmanleitungen hosted by all-inkl.com joomladirectory.net joomla.org jahoart.eu joomla-in-berlin.de Joomla Toplist Spende/Donate
easy-joomla.org joomla.de webjobber.de snipersister-de xing.de
joomlacode.org joomlaos.de joomla24.com nik-it.de

Powered by MySQLPowered by PHP Powered by SMF 1.1.7 | SMF © 2006, Simple Machines LLC Prüfe XHTML 1.0Prüfe CSS
Seite erstellt in 0.252 Sekunden mit 27 Zugriffen.