Search found 1172 matches

by pböttcher
2021-01-25 16:04
Forum: Advanced Customizations > Hooks
Topic: Hide a child tab problem
Replies: 9
Views: 202

Re: Hide a child tab problem

Hi, if that is the case you could try: function wait_for(data,callback,time=100) { if($j(data).length == 2) { callback(); return; } else { setTimeout(function() { wait_for(data,callback, time); }, time); } } $j(function() { wait_for("#tab_animals-sire, #tab_animals-dam", function() { if($j('#sex').v...
by pböttcher
2021-01-24 13:17
Forum: Advanced Customizations > Hooks
Topic: Rename labels
Replies: 13
Views: 235

Re: Rename labels

True,
but you need to keep in mind what AppGini is currently. There is no "out-of-the-box" multilingual switching.
by pböttcher
2021-01-24 09:04
Forum: Advanced Customizations > Hooks
Topic: Hide a child tab problem
Replies: 9
Views: 202

Re: Hide a child tab problem

No, something like function wait_for(data,callback,time=100) { if($j(data).length != 0) { callback(); return; } else { setTimeout(function() { wait_for(data,callback, time); }, time); } } $j(function() { wait_for("#tab_animals-sire", function() { if($j('#sex').val() == 'Female'){ $j('#tab_animals-si...
by pböttcher
2021-01-23 21:40
Forum: Advanced Customizations > Hooks
Topic: Hide a child tab problem
Replies: 9
Views: 202

Re: Hide a child tab problem

Hi,
try

viewtopic.php?t=4095

put your code instead
$j("#TSHDRID-container").select2("disable", true)}
by pböttcher
2021-01-23 21:31
Forum: Advanced Customizations > Hooks
Topic: How to redirect to Detail View if condition matched
Replies: 23
Views: 198

Re: How to redirect to Detail View if condition matched

Can you clear your browser cache (incl. cookies) and try again
by pböttcher
2021-01-23 17:12
Forum: Advanced Customizations > Hooks
Topic: Rename labels
Replies: 13
Views: 235

Re: Rename labels

Hi,

just as an idea. Put the code in the tablename_dv hooks and create the javascript according to the settings of the customer. You could have a file per customer and load that, or have all stored in the database.
by pböttcher
2021-01-23 16:58
Forum: Advanced Customizations > Hooks
Topic: How to redirect to Detail View if condition matched
Replies: 23
Views: 198

Re: How to redirect to Detail View if condition matched

Hi,

did you check you table permissions, as you check for the group. Has the group permissions to read the table?
In your second part you add an explicit permission to the user.
by pböttcher
2021-01-23 11:45
Forum: Advanced Customizations > Hooks
Topic: How to redirect to Detail View if condition matched
Replies: 23
Views: 198

Re: How to redirect to Detail View if condition matched

Hi,

do you get the same if you use the redirect function (which you commented)?
by pböttcher
2021-01-23 11:40
Forum: Getting Started
Topic: Reminder.
Replies: 23
Views: 1194

Re: Reminder.

Hi, if you use your code SELECT id,title,reminder_date,reminder_flag FROM expenseTracker WHERE reminder_flag>='1' ORDER by id you get all the records that will have a reminder to be send. If you join now your table expendeTracker with the membership_userrecords table you will also have the informati...
by pböttcher
2021-01-23 11:01
Forum: Advanced Customizations > Hooks
Topic: Hide a child tab problem
Replies: 9
Views: 202

Re: Hide a child tab problem

Hi,

you need to make sure that the child table is already available. Usually the child table is loaded later, so your code will not find the table an hence will not hide it.
by pböttcher
2021-01-21 08:57
Forum: Getting Started
Topic: coupon code in appgini
Replies: 3
Views: 96

Re: coupon code in appgini

Hi,

yes that is possible, but you will need to code a little bit to get such a feature.
by pböttcher
2021-01-20 18:51
Forum: Getting Started
Topic: coupon code in appgini
Replies: 3
Views: 96

Re: coupon code in appgini

hi,
can you be a bit more detailed. what do need, what are you trying to do?
by pböttcher
2021-01-19 22:08
Forum: Getting Started
Topic: Can you combine multiple projects?
Replies: 1
Views: 77

Re: Can you combine multiple projects?

Hi,

what do you mean by combining those projects?
by pböttcher
2021-01-16 21:28
Forum: Getting Started
Topic: Upload more than one file
Replies: 7
Views: 140

Re: Upload more than one file

Hi,

where do you need help. Just set up the tables as you discribe in your text. Like that you have a registry record with as many child record (each with one file).
by pböttcher
2021-01-13 22:35
Forum: Bugs/annoyances
Topic: YouTube Video Link/Movies
Replies: 4
Views: 241

Re: YouTube Video Link/Movies

Hi Ron, you can edit the datalist.php !!! Will be overwritten Search for : %%YOUTUBETHUMB($fieldTVCaption)%% and change if(strpos($rowTemp, "<%%YOUTUBETHUMB($fieldTVCaption)%%>") !== false) $rowTemp = str_replace("<%%YOUTUBETHUMB($fieldTVCaption)%%>", thisOr(get_embed('youtube', $fd, '', '', 'thumbn...
by pböttcher
2021-01-12 07:01
Forum: Advanced Customizations > Others
Topic: How to apply a data format in the calculated field
Replies: 5
Views: 825

Re: How to apply a data format in the calculated field

Hi,

can you try

Code: Select all

SELECT
FORMAT(SUM(`invoices`.`sum`),2)
FROM
`projects` LEFT JOIN
`invoices` ON `projects`.`id` = `invoices`.`project_id`
WHERE
`projects`.`id` = '7'
by pböttcher
2021-01-11 20:12
Forum: Getting Started
Topic: ugly and unwanted: links in lookup
Replies: 3
Views: 874

Re: ugly and unwanted: links in lookup

Hi.

for qustion 1: change the css

.select2-results .select2-highlighted {
background: #3875d7;
color: #fff;
}

to something that fits for you.
Why do you need to show the links on the seletable items?
by pböttcher
2021-01-11 17:00
Forum: Getting Started
Topic: How? Custom SQL for lookup but using value from record as WHERE
Replies: 7
Views: 958

Re: How? Custom SQL for lookup but using value from record as WHERE

Maybe you can make a sample to see if that would work
by pböttcher
2021-01-11 16:57
Forum: Feature Suggestions
Topic: Change order of tabs / child-links
Replies: 2
Views: 806

Re: Change order of tabs / child-links

Hi Olaf,

why cant you just use the TABLENAME-dv.js (or the TABLENAME.php -> header, footer, dv functions) to change the layout as you need? You can do everything you want in there.
by pböttcher
2021-01-11 16:54
Forum: Getting Started
Topic: How? Custom SQL for lookup but using value from record as WHERE
Replies: 7
Views: 958

Re: How? Custom SQL for lookup but using value from record as WHERE

Hi Olaf,

not sure I got everything you need, but in the init function you can modify the query to your needs. Maybe that helps
by pböttcher
2021-01-11 16:41
Forum: Advanced Customizations > Others
Topic: How to apply a data format in the calculated field
Replies: 5
Views: 825

Re: How to apply a data format in the calculated field

Hi,

try

FORMAT(FIELDNAME or CALCULATION,2,'YOURLANGUAGENEED')

for what you show it should be standard and you could use

FORMAT(FIELDNAME or CALCULATION,2)
by pböttcher
2021-01-11 07:39
Forum: Advanced Customizations > Hooks
Topic: I need child record button to open in new window
Replies: 4
Views: 1163

Re: I need child record button to open in new window

Hi,

that is a least a link that will be displayed like a button.

Can you make a screenshot to show where you want to click to open the record in a new window.
by pböttcher
2021-01-10 19:39
Forum: Advanced Customizations > Hooks
Topic: I need child record button to open in new window
Replies: 4
Views: 1163

Re: I need child record button to open in new window

Hi,

can you be a bit more specific. I do not see a button in this code.