Search found 14 matches

by TheSpooki
2017-01-06 15:12
Forum: Advanced Customizations > Hooks
Topic: Multiselect ajax
Replies: 0
Views: 603

Multiselect ajax

I have created a table in appgini that I am wanting to use as a multiselect. I have a hook and a seperate php file that creates the correct json data I just don't know how to insert it in with select2 I have looked through there documentation and it is only for select2 v4 and appgini uses select2 v ...
by TheSpooki
2016-12-23 16:58
Forum: Advanced Customizations > Hooks
Topic: Amazon S3 Storage
Replies: 0
Views: 455

Amazon S3 Storage

Is there a way to make the images folder linked with amazon s3 cloud storage. I am going to have a ton of data stored and it would be to much for my server to handle. Thanks in advance.
Joe Christ
by TheSpooki
2016-12-14 13:35
Forum: Advanced Customizations > Hooks
Topic: SQL SELECT IN HOOK
Replies: 1
Views: 1010

Re: SQL SELECT IN HOOK

I'm not sure but I think appgini changes

Code: Select all

mysql_num_rows
and

Code: Select all

mysql_fetch_row
to

Code: Select all

if(db_num_rows($res)){

while($row = db_fetch_row($res)){
instead of

Code: Select all

mysql_fetch_row
shouldn't it be

Code: Select all

db_fetch_assoc
Worth a shot though
Thanks,
Joe
by TheSpooki
2016-12-14 13:30
Forum: Advanced Customizations > Hooks
Topic: modal from button
Replies: 4
Views: 1329

Re: modal from button

I'm an idiot, I got it working. Thanks so much for your help!
Thanks,
Joe
by TheSpooki
2016-12-13 19:10
Forum: Advanced Customizations > Hooks
Topic: modal from button
Replies: 4
Views: 1329

Re: modal from button

That kind of works but the modal closes and the page reloads when I click the button. I am trying to have a google map show but it is saying content can't be displayed in frame, is there any other way to do this? Thanks for your quick responses.
Thanks,
Joe
by TheSpooki
2016-12-08 22:45
Forum: Advanced Customizations > Hooks
Topic: modal from button
Replies: 4
Views: 1329

modal from button

I have created a button that shows up in the detail view of one of my pages and I am wondering how to make a modal box with a webpage in it show up when the button is clicked? If you could help with this it would be incredible!
Thanks in advance,
Joe
by TheSpooki
2016-11-01 17:19
Forum: Advanced Customizations > Others
Topic: disabled fields
Replies: 7
Views: 2467

Re: disabled fields

This will make s2 lookups readonly

Code: Select all

$j('#yourfield-container').select2('enable', false);
just in case someone was looking for a solution.
by TheSpooki
2016-10-04 23:21
Forum: Advanced Customizations > Hooks
Topic: Automatic s2 box fill from child
Replies: 4
Views: 890

Re: Automatic s2 box fill from child

Is there any chance you could put my on the right path to a dirty solution? Any help would be greatly appreciated.
by TheSpooki
2016-09-19 19:46
Forum: Advanced Customizations > Hooks
Topic: Automatic s2 box fill from child
Replies: 4
Views: 890

Automatic s2 box fill from child

Is there a way that once I create a new record from a child modal box that the record can automatically fill the s2 lookup field? This would take the extra step of choosing the record out of the equation which is better for the end user. Thanks in advance!!
by TheSpooki
2016-09-19 19:32
Forum: Feature Suggestions
Topic: "Add New" button from Modal
Replies: 3
Views: 1531

Re: "Add New" button from Modal

I understand what you are saying about the confusion but is there a way to add it to just a few records? I could really use this feature!
by TheSpooki
2016-09-03 22:40
Forum: Advanced Customizations > Hooks
Topic: Leave pop-up box on save
Replies: 19
Views: 3688

Re: Leave pop-up box on save

you were all on the right track!! This did the trick, $j(function(){ if($j('input[name=Embedded]').val()==1){ $j('form').submit(function(){ window.parent.jQuery('.modal').modal('hide'); }) } }) Thanks for the help! This community is awesome!
by TheSpooki
2016-09-03 01:28
Forum: Advanced Customizations > Hooks
Topic: Leave pop-up box on save
Replies: 19
Views: 3688

Re: Leave pop-up box on save

It says there is a missing syntax

SyntaxError: missing ) after argument list
})

I tried to fix it but it's not working.
by TheSpooki
2016-08-29 13:55
Forum: Advanced Customizations > Hooks
Topic: Leave pop-up box on save
Replies: 19
Views: 3688

Re: Leave pop-up box on save

Yes I am talking about the modal that pops up when creating a child record. I just want to know how to close it automatically when you save a new entry. This is an awesome community and I'm sure someone will figure it out.
by TheSpooki
2016-07-01 15:17
Forum: Advanced Customizations > Hooks
Topic: Leave pop-up box on save
Replies: 19
Views: 3688

Leave pop-up box on save

I would like the pop up box to hide after I save a child record. Can someone please help me?