Search found 763 matches

by a.gneady
2017-08-13 13:35
Forum: Advanced Customizations > Hooks
Topic: Create csv from table 1 and upload to table 2
Replies: 1
Views: 98

Re: Create csv from table 1 and upload to table 2

If you set the concerned field in table2 as a file upload field, and you save the CSV file to the default upload folder (usually the "images" folder) then all you need to do is save the CSV file name into that field.
by a.gneady
2017-08-09 12:27
Forum: Advanced Customizations > Hooks
Topic: Insert value on update or insert
Replies: 5
Views: 198

Re: Insert value on update or insert

Hmm ... try using

Code: Select all

$data['selectedID']
instead of

Code: Select all

$data['id']
in update_seo_friendly_url().
by a.gneady
2017-08-05 23:18
Forum: Bugs/annoyances
Topic: Bug in 5.62: checkbox shows as 1
Replies: 1
Views: 186

Re: Bug in 5.62: checkbox shows as 1

This was undocumented behavior as a lookup field shouldn't be set as a checkbox. We'll try however to consider and handle this case in future releases.
by a.gneady
2017-08-05 23:15
Forum: Bugs/annoyances
Topic: CSV imports - advanced options have disappeared
Replies: 1
Views: 154

Re: CSV imports - advanced options have disappeared

The CSV import page has been redesigned in AppGini 5.60 and above. Please check this screencast for how to use it and specify the CSV options.
by a.gneady
2017-08-03 13:24
Forum: Bugs/annoyances
Topic: Bug in 5.62 some dates default to today's date
Replies: 1
Views: 196

Re: Bug in 5.62 some dates default to today's date

I'm unable to reproduce this behavior. Please check this screencast and let me know if I missed something: https://www.screencast.com/t/jztJ2CTvn2
by a.gneady
2017-08-03 12:53
Forum: Advanced Customizations > Others
Topic: clone a page generated by appgini with a different name
Replies: 11
Views: 409

Re: clone a page generated by appgini with a different name

OK, to specify both the value and text of the drop-down:

Code: Select all

$j('#ID_02-container').select2('data', { id: 218, text: 'Default option text here'});
by a.gneady
2017-08-03 11:50
Forum: Advanced Customizations > Hooks
Topic: Run and display SQL Function in table view
Replies: 1
Views: 260

Re: Run and display SQL Function in table view

If I understand your question correctly, you want to run some JavaScript code in the detail view when a record is displayed. This can be done by editing the hooks/tablename-dv.js file (where tablename is the name of the concerned table) -- you should create that file inside hooks if it's not already...
by a.gneady
2017-08-03 10:38
Forum: Advanced Customizations > Others
Topic: Forwarding to a custom page with a record id as query string
Replies: 1
Views: 151

Re: Forwarding to a custom page with a record id as query string

If what you wish to do is forward users to another page after inserting a new record, you can use the "Redirect after insert" option in AppGini for that purpose. Select the concerned table and then type the URL into the "Redirect after insert" box. To pass the ID of the record to the new URL, use #I...
by a.gneady
2017-07-27 22:04
Forum: Tips And Tricks
Topic: How to enable showing more than two fields in a single field?
Replies: 1
Views: 232

Re: How to enable showing more than two fields in a single field?

Try using the "Advanced" button in the lookup tab to create a custom query combining the 3 fields. For more details, check the "Customizing lookup contents" screencast.
by a.gneady
2017-07-27 21:30
Forum: Tips And Tricks
Topic: Groups
Replies: 1
Views: 128

Re: Groups

You can do this via group permissions from the admin area. Please check the group permissions screencast for more details.
by a.gneady
2017-07-27 21:27
Forum: Advanced Customizations > Others
Topic: clone a page generated by appgini with a different name
Replies: 11
Views: 409

Re: clone a page generated by appgini with a different name

Lookup drop-downs are created using a special JavaScript component named "Select2" ... The part

Code: Select all

$j('#ID_01-container').val()
in your code above should be changed to:

Code: Select all

$j('#ID_01-container').select2('val')
by a.gneady
2017-07-27 21:22
Forum: Tips And Tricks
Topic: How to change the membership signup page?
Replies: 1
Views: 152

Re: How to change the membership signup page?

You could use the "hooks/footer-extras.php" file for that purpose .. check if the current page is "membership_signup.php" and if so, change the background image. This is very similar to the custom code explained in section 4 - lesson 1 of our AppGini customization course.
by a.gneady
2017-07-26 11:31
Forum: Getting Started
Topic: Using Ajax Requests to save data instead of Form Posts
Replies: 2
Views: 177

Re: Using Ajax Requests to save data instead of Form Posts

Hmm ... If a field is marked 'required' in AppGini, the form won't be submitted unless the field is populated. This is the standard behavior since AppGini 5.40. Is the filed marked required in the database, but not in AppGini?

We plan to add ajax form submissions soon.
by a.gneady
2017-07-25 15:29
Forum: Bugs/annoyances
Topic: Google Map preview not showing anywhere
Replies: 2
Views: 179

Re: Google Map preview not showing anywhere

Hmm ... I just gave it a quick test now and maps are working fine .. here is a quick screencast: https://www.screencast.com/t/jrIIeHWK

Maybe the API key you used doesn't provide Maps API access?
by a.gneady
2017-07-25 15:11
Forum: Advanced Customizations > Others
Topic: How to hide a certain value in a dropdown list field?
Replies: 2
Views: 210

Re: How to hide a certain value in a dropdown list field?

This can be done using the tablename_dv hook ... the general idea is to check the user group of the current user and then use JavaScript code for controlling the content of the drop-down accordingly. For more info about tablename_dv hook: http://bigprof.com/appgini/help/advanced-topics/hooks/table-s...
by a.gneady
2017-07-25 15:03
Forum: Bugs/annoyances
Topic: Insert php code inside a textarea
Replies: 1
Views: 139

Re: Insert php code inside a textarea

PHP tags as well as many forms of HTML are filtered out from user input to prevent security issues. If you wish to store code samples into the database, try using an HTML area rather than a plain text area. Alternatively, you could enter &lt;?php instead of <?php in your text area.
by a.gneady
2017-07-25 14:59
Forum: Advanced Customizations > Others
Topic: clone a page generated by appgini with a different name
Replies: 11
Views: 409

Re: clone a page generated by appgini with a different name

Yes, you could do that but will have to manually link to the cloned xxx_view.php page. You should also update the value of

Code: Select all

$x->ScriptFileName
in the cloned file.
by a.gneady
2017-07-20 11:02
Forum: Advanced Customizations > Hooks
Topic: More Filters using Magic hooks
Replies: 3
Views: 1434

Re: More Filters using Magic hooks

There are 2 sets of top buttons that appear above the table view. One set is horizontal and appears only in large screens. The other set is vertical and appears only in smaller (mobile) screens. The code above attaches the new elements to the first set but not the second one and that's why it doesn'...
by a.gneady
2017-07-19 13:13
Forum: Advanced Customizations > Others
Topic: RecordsPerPage for child table
Replies: 2
Views: 186

Re: RecordsPerPage for child table

You can do this by editing the generated "parent-children..php" file .. Look for lines containing "records-per-page" and change the value in there.
by a.gneady
2017-07-19 12:43
Forum: Bugs/annoyances
Topic: Daylight Savings Time Error
Replies: 2
Views: 158

Re: Daylight Savings Time Error

Thanks for reporting this bug. We'll fix it in the next release. For now, you can fix it manually by editing the file "timeZones.cfg". You can find it inside the folder where AppGini installed, under the "add-ons" subfolder.
by a.gneady
2017-07-14 17:55
Forum: Feature Suggestions
Topic: Documented Apps in AppGini
Replies: 3
Views: 373

Re: Documented Apps in AppGini

Thanks a lot for your suggestion. We'll add it to the next release .. in fact I myself need this feature for a lot of our side-projects :D
by a.gneady
2017-07-14 17:51
Forum: Bugs/annoyances
Topic: Missing files in the OCMS open source application
Replies: 1
Views: 250

Re: Missing files in the OCMS open source application

So sorry for the long delay, Labib. This issue is now fixed and the all missing files are now included with the app.
by a.gneady
2017-05-11 09:54
Forum: Bugs/annoyances
Topic: 5.60 detail view looked up value blank, shows eye and add new buttons only
Replies: 15
Views: 670

Re: 5.60 detail view looked up value blank, shows eye and add new buttons only

Thanks Mara for reporting the issue .. We're working on investigating it indeed currently .. but I'd like to get your AXP file for further testing .. Could you upload it to Google Drive or Dropbox or similar and send me a link to it please?