Search found 90 matches

by jsetzer
2019-02-18 17:34
Forum: Tips And Tricks
Topic: Need to get rid of the link on the detail view
Replies: 2
Views: 54

Re: Need to get rid of the link on the detail view

Hi, you can try the following: in hooks -directory, create a file named YOURTABLENAME -dv.js put the following code there and save $j(function() { $j("form > .page-header").hide() }); You can use .remove() instead of .hide() . If you want to keep the [Add new]-button, try the following code: $j(func...
by jsetzer
2019-02-12 16:43
Forum: Getting Started
Topic: Batch actions
Replies: 7
Views: 181

Re: Batch actions

@pböttcher: this will not work in all browsers, I'm afraid
by jsetzer
2019-02-12 11:26
Forum: Getting Started
Topic: Batch actions
Replies: 7
Views: 181

Re: Batch actions

Due to the fact that there is not a single way to implement clipboard-copy, I have done if the following way in one of my ASP.NET projects: Show a modal dialog with a textarea Put the text into the textarea .focus() the textarea .select() the textarea, so the whole text will be selected There is a h...
by jsetzer
2019-02-08 17:52
Forum: Advanced Customizations > Others
Topic: Why this provision?
Replies: 13
Views: 322

Re: Why this provision?

Sorry, @pasbonte, I cannot follow you. This is a complete different table and a customized layout than you started your help-request with.
Did you try what we have suggested to help you on your intial problem? Did it solve your initial problem?

Regards,
Jan
by jsetzer
2019-02-07 14:25
Forum: Advanced Customizations > Others
Topic: Why this provision?
Replies: 13
Views: 322

Re: Why this provision?

@pasbonte: did you try what bescott53 and I have suggested to solve your problem?

Can you then please upload...
  • screenshots where we can see the number of characters and the column widths per field
  • your css style for the columns. Where did you put the CSS code?
Regards,
Jan
by jsetzer
2019-02-07 14:20
Forum: Advanced Customizations > Others
Topic: Single entry a registered user
Replies: 7
Views: 141

Re: Single entry a registered user

@pasbonte: What is inside the ELEVE NOM field?

It looks like ...

Code: Select all

<!-- creatorUsename -->
...but sjohn has written...

Code: Select all

<%%creatorUsername%%>
You should try with <%%creatorUsername%%> as default value as sjohn has suggested. This should work.

Regards,
Jan
by jsetzer
2019-02-07 12:34
Forum: Advanced Customizations > Others
Topic: Why this provision?
Replies: 13
Views: 322

Re: Why this provision?

@pasbonte: Because "pretty" is a very subjective feeling, can you please describe in words, what should the browser display , what is your expectation? If you mean the width of the 3rd and 4th column of the 4-column screenshot and the width of the 9th column of the 9-column screenshot: as bescott53 ...
by jsetzer
2019-02-06 11:15
Forum: Advanced Customizations > Others
Topic: Single entry a registered user
Replies: 7
Views: 141

Re: Single entry a registered user

I'm not sure if I got your question. If you want to give a user permission to insert/edit exactly one record of a certain table only, you may consider the following alternatives: Give the user's group permission to INSERT Give the user's group permission to UPDATE OWN records on that table After Ins...
by jsetzer
2019-02-02 12:33
Forum: Advanced Customizations > Others
Topic: Font Color changes when value changes
Replies: 11
Views: 320

Re: Font Color changes when value changes

Regarding your questions: Did you read and work through that tutorial? In the tutorials there it is decribed step by step how you can use PHP code in hook-files and hook-functions to modify the values displayed in table view "on the fly" and how to add html-code to your details views (dv). As writte...
by jsetzer
2019-02-01 08:27
Forum: Advanced Customizations > Others
Topic: Font Color changes when value changes
Replies: 11
Views: 320

Re: Font Color changes when value changes

I will try this option though. Will you guide me where should I add this code? Have a look at the section tablename_dv() on this help page: https://bigprof.com/appgini/help/advanced-topics/hooks/table-specific-hooks#tablename_dv You can prepend or append your html to the $html variable in TABLENAME...
by jsetzer
2019-02-01 08:24
Forum: Advanced Customizations > Others
Topic: Font Color changes when value changes
Replies: 11
Views: 320

Re: Font Color changes when value changes

Hi, you can do this on client side with JQuery, or, which I prefer, you can use PHP, SQL and CSS: In your AppGini project, open Media-tab, [Configure...] the Link, set Behaviour to "No action". Follow this tutorial to change the display value: https://bigprof.com/appgini/tips-and-tutorials/modifying...
by jsetzer
2019-01-26 16:41
Forum: Getting Started
Topic: Credit balance
Replies: 2
Views: 149

Re: Credit balance

Just to point you into the right direction: In TABLENAME.php edit the TABLENAME_dv hook function Calculate the balance by subtracting the sum of debit from the sum of credit. $balance = ... - ... (your calc here) Using PHP, create a span-tag "balance" for example: <span class="pull-right" id="balanc...
by jsetzer
2019-01-26 16:01
Forum: Advanced Customizations > Others
Topic: Font Color changes when value changes
Replies: 11
Views: 320

Re: Font Color changes when value changes

Hi all, from my personal point of view and from my experience: Instead of changing the font-color, I would insert an alert with an icon and textual hint inside like so: <div class="alert alert-danger" id="balance-alert"> <i class="glyphicon glyphicon-exclamation-sign"></i> <b>Attention</b><br />Nega...
by jsetzer
2019-01-22 17:19
Forum: Getting Started
Topic: Stuck field values
Replies: 3
Views: 110

Re: Stuck field values

:D Great! Glad to hear you got it running!

Best,
Jan
by jsetzer
2019-01-22 15:15
Forum: Getting Started
Topic: Stuck field values
Replies: 3
Views: 110

Re: Stuck field values

Hi, just ideas: What is the datatype of those misbehaving fields? Looks like there is an upper limit of 2^16 = 65536. Could it be unsigned small int in MySQL? Try unsigned integer instead! Is there any server-side validation (for example PHP-code returning FALSE in before...() method)? Best regards,...
by jsetzer
2019-01-09 11:39
Forum: Bugs/annoyances
Topic: admin nav bar not functioning
Replies: 4
Views: 156

Re: admin nav bar not functioning

Could be a problem with Javascript/JQuery.

Open the browser's developer tools and have a look if there is any (red) error in the console tab.

You can do this with the keyboard using the F12 key or by selecting “F12 Developer Tools” in the “Tools” menu.
image1[1].png
image1[1].png (93.09 KiB) Viewed 127 times
by jsetzer
2019-01-02 18:48
Forum: Advanced Customizations > Hooks
Topic: [Need Help] JS Disable Select2 Not Working
Replies: 15
Views: 879

Re: [Need Help] JS Disable Select2 Not Working

From my experience the rendering of dropdowns will NOT be finished on page-load event due to A JAX functionality. It's the same with children-tabs. So $j(function() { console.log(...)} ); will not help at all, I'm afraid. Some developers are using a timer and do the changes n milliseconds after page...
by jsetzer
2018-12-31 14:53
Forum: Tips And Tricks
Topic: DropDown List different colors
Replies: 6
Views: 536

Re: DropDown List different colors

Hi, are you using a DropDown List from Options list -tab or a Lookup field ? I usually create additional (lookup-) tables and then use lookup fields in my master table. I sometimes even do if there is only Yes and No options. Then I populate the lookup-table with the required options and format the ...
by jsetzer
2018-12-30 14:53
Forum: Advanced Customizations > Hooks
Topic: [Need Help] JS Disable Select2 Not Working
Replies: 15
Views: 879

Re: [Need Help] JS Disable Select2 Not Working

Certain changes can only be made after initial scripts have finished completely. Can you please check, if your select2 container already exists at the time you try to disable it. Please try the following code: var e = $j("#ELEMENT-container"); // replace ELEMENT by your fieldname console.log(e.lengt...
by jsetzer
2018-12-26 05:43
Forum: Tips And Tricks
Topic: How to render an organizational chart (OrgChart) in AppGini
Replies: 2
Views: 466

Re: How to render an organizational chart (OrgChart) in AppGini

4. Render Let the library render the chart based on your data. <script type="text/javascript"> $(function() { $('#chart-container').orgchart({ 'data' : $('#ul-data') }); }); </script> Sorry, I have overseen one detail when I was copying and wasting this sample code here: In step 4 you have to use "...
by jsetzer
2018-12-24 07:36
Forum: Tips And Tricks
Topic: How to render an organizational chart (OrgChart) in AppGini
Replies: 2
Views: 466

How to render an organizational chart (OrgChart) in AppGini

Good morning AppGineers! A couple of days ago I had to model a hierarchical tree of organizational units (OU) and wanted to give the users a visual presentation. I have found this JQuery library which is quite easy to use and to integrate into appgini: https://github.com/dabeng/OrgChart This is the ...
by jsetzer
2018-12-19 21:57
Forum: Tips And Tricks
Topic: Hide fields select box
Replies: 1
Views: 152

Re: Hide fields select box

Hi Hubert, hiding the toggle-column-button depending on the current user or group using hooks only is quite complicated. You need to pass current member information from PHP to Javascript or Javascript needs to call a serverside PHP script via AJAX to find out who's logged in. To hide the column-tog...
by jsetzer
2018-12-14 14:49
Forum: Tips And Tricks
Topic: Styled checkboxes
Replies: 5
Views: 1053

Re: Styled checkboxes

Good to hear, @bescott53, thanks for testing and posting your results.
thank you jsetzer!
You are welcome!

Best regards,
Jan
by jsetzer
2018-12-08 11:57
Forum: Advanced Customizations > Hooks
Topic: conditional show / hide
Replies: 3
Views: 545

Re: conditional show / hide

Hi Barry,

have a look here. Is this what you need?

https://forums.appgini.com/phpbb/viewto ... 8934#p8550

Feel free to contact me in case you need support.

Regards,
Jan

https://www.bizzworxx.com
by jsetzer
2018-12-04 10:18
Forum: Getting Started
Topic: nav-menu also visible on home
Replies: 4
Views: 210

Re: nav-menu also visible on home

You are welcome!
Jan