Search found 11 matches

by Sdesigns
Fri Dec 28, 2012 2:50 am
Forum: Application Packaging SDK and Application Customizations
Topic: App with different themes
Replies: 7
Views: 171597

Re: App with different themes

Hi Phil,

So far it is working great, thanks for all your help.

Is it possible, and if so then how :) , to use a dropdown instead of radio buttons?

Also, what would be the correct way to have a radio button checked by default in the xml file?

Thanks again

Tony
by Sdesigns
Sat Dec 08, 2012 1:11 am
Forum: Application Packaging SDK and Application Customizations
Topic: App with different themes
Replies: 7
Views: 171597

Re: App with different themes

Hello, Sure, that will work. Something like this: $this->db_import("install/assets/".$this->input["field_mytheme"].".sql"); Thank you, Phil Hi Phil I understand the punctuation marks and parenthensis, but why the full stop at the beginning? ".$ Thanks Tony
by Sdesigns
Fri Dec 07, 2012 1:44 am
Forum: Application Packaging SDK and Application Customizations
Topic: App with different themes
Replies: 7
Views: 171597

Re: App with different themes

Hi, Thanks for the reply, so how would I use this to select the .sql that is used to populate the database? Normally to populate a database it would be something like $this->db_import("install/assets/install.sql"); Can I then use something like $this->db_import("install/assets/$this->...
by Sdesigns
Tue Dec 04, 2012 7:02 am
Forum: Application Packaging SDK and Application Customizations
Topic: App with different themes
Replies: 7
Views: 171597

App with different themes

Hi,

My app, which is now installing fine (Thanks for all the help) will have about 10 different themes.

Is it possible to add the theme choices to the installation, so depending on theme chosen will import a different .sql file?

Thanks
by Sdesigns
Tue Dec 04, 2012 6:59 am
Forum: Application Packaging SDK and Application Customizations
Topic: Editing config file
Replies: 8
Views: 50252

Re: Editing config file

OK, I got it working.
I made a new config file which edited just fine, and then move it to the required directory.
Still unsure why it would not edit the original file though, but at least it is working.
by Sdesigns
Tue Dec 04, 2012 5:04 am
Forum: Application Packaging SDK and Application Customizations
Topic: Editing config file
Replies: 8
Views: 50252

Re: Editing config file

Hi, I am seeing the database section during installation. Here is what is currently happening. Archive is extracted correctly Database is added correctly Database is populated from .sql file correctly Application Admin user/pass are imported into database correctly config file is edited (old values ...
by Sdesigns
Mon Dec 03, 2012 2:40 pm
Forum: Application Packaging SDK and Application Customizations
Topic: Editing config file
Replies: 8
Views: 50252

Re: Editing config file

Hi,
I just found the DB line in the GUI.

Yes it is set to "1"

Code: Select all

<requirement id="database" value="1"/>


Any other ideas why installatron would be removing the old values but not writing the new ones?
by Sdesigns
Mon Dec 03, 2012 12:55 pm
Forum: Application Packaging SDK and Application Customizations
Topic: Editing config file
Replies: 8
Views: 50252

Re: Editing config file

Hi, The database is being populated now, but not the config file. There is no such value in my XML file, this is all I have in it. <installer> <id>project name</id> <build>9</build> <url>http://path/to/file.tar.gz</url> <md5>7836b8e58db87eb2817125dfffe82d42</md5> </installer>
by Sdesigns
Mon Dec 03, 2012 12:24 pm
Forum: Application Packaging SDK and Application Customizations
Topic: Editing config file
Replies: 8
Views: 50252

Re: Editing config file

Hi Phil,

The code you posted almost works :)

It removed the old values but is not writing new ones, so I end up with

Code: Select all

$db['default']['username'] = "";
$db['default']['password'] = "";
$db['default']['database'] = "";
by Sdesigns
Mon Dec 03, 2012 8:13 am
Forum: Application Packaging SDK and Application Customizations
Topic: Editing config file
Replies: 8
Views: 50252

Editing config file

Hi, My confi file is locate at application/config/database.php and looks like $db['default']['username'] = "user_username"; $db['default']['password'] = "password"; $db['default']['database'] = "user_dbname"; Can someone please tell me what I need to do to get the insta...

Go to advanced search