Search found 134 matches

by patsd102
2023-03-24 21:56
Forum: Advanced Customizations > Hooks
Topic: Highlight date row of more than 1 day old.
Replies: 9
Views: 1350

Re: Highlight date row of more than 1 day old.

Perfect. Many thanks.
The fuel price's in my town are massive.
So, It's good to show where the best value is.

Pat

Image
by patsd102
2023-03-16 07:49
Forum: Advanced Customizations > Hooks
Topic: Highlight date row of more than 1 day old.
Replies: 9
Views: 1350

Re: Highlight date row of more than 1 day old.

Hi, I tried the code in another website pbottcher. Same result, It's not working unfortunately. <script> $j(function() { $j('.DX27-Date').each(function() { var d = $j(this).text().split("/"); Date = new Date(d[2] + '/' + d[1] + '/' + d[0]); var yesterday = new Date(new Date().getTime() - (24 * 60 * ...
by patsd102
2023-03-15 17:42
Forum: Advanced Customizations > Hooks
Topic: Highlight date row of more than 1 day old.
Replies: 9
Views: 1350

Re: Highlight date row of more than 1 day old.

HI,
I added your code.
Still not working,

Code: Select all

$j(function(){
    $j('.louth-entereddate').each(function(){
        var Today = new Date();
	var Yesterday = new Date();
        if Yesterday.setDate(Today.getDate()-1); 
            $j(this).parents('tr').addClass('warning');
        }
    });
});
by patsd102
2023-03-13 19:47
Forum: Advanced Customizations > Hooks
Topic: Highlight date row of more than 1 day old.
Replies: 9
Views: 1350

Highlight date row of more than 1 day old.

Hi all, I thought I had this working. unfortunately it's not working, I had it in the footer page and a louth-tv.js file. $j(function(){ $j('.louth-entereddate').each(function(){ var enteredDate = new Date($j(this).text()); //fetch date value from row var yesterday = new Date(today.getTime() - (24 *...
by patsd102
2023-03-05 09:37
Forum: Advanced Customizations > Hooks
Topic: Color Record Row in Table View Based on Field Value
Replies: 50
Views: 26455

Re: Color Record Row in Table View Based on Field Value

Many thanks for your reply. To explain more With the current price's of fuel at the pumps, I have made a small website for local use to highlight high and low price's. The database is updated by myself and other user's. After a week, if the station is not updated, I delete the post. https://www.pump...
by patsd102
2023-01-26 18:00
Forum: Advanced Customizations > Hooks
Topic: Color Record Row in Table View Based on Field Value
Replies: 50
Views: 26455

Re: Color Record Row in Table View Based on Field Value

Anyone want to help me highlight a row when a date field is 24 hours old?

TIA

Pat
by patsd102
2022-12-13 18:05
Forum: Advanced Customizations > Others
Topic: Username
Replies: 7
Views: 893

Re: Username

Hi Jsetzer There is no code to post. I added the username without the " / " Then went into phpadmin and added a "/" there. Seems to work okay. I add all new usernames (getting the new member to fill in an appgini form) myself and only expect a small number of usernames like this. https://i.imgur.com...
by patsd102
2022-12-12 20:22
Forum: Advanced Customizations > Others
Topic: Username
Replies: 7
Views: 893

Re: Username

Thanks for the reply.

I have managed to add a forward slash to a username

Have a nice day

Pat
by patsd102
2022-12-11 10:21
Forum: Advanced Customizations > Others
Topic: Username
Replies: 7
Views: 893

Re: Username

I guess not :(
by patsd102
2022-12-09 17:19
Forum: Advanced Customizations > Others
Topic: Username
Replies: 7
Views: 893

Username

I want to use a "forward slash" like this in the username, / EG: my/name

Can anyone point me in the right direction,

Thanks

Pat
by patsd102
2022-11-21 21:41
Forum: Advanced Customizations > Hooks
Topic: Table View Highlight
Replies: 13
Views: 951

Re: Table View Highlight

hi,

Have a play with this

Code: Select all

<script>
	$j(function(){
      $j('.TABLE-NAME-FIELD').each(function(){
		var QRZ = $j(this).text();
				if(FIELD == 'NAME TO BE COLORED'){
			$j(this).parents('tr').addClass('info');
		}		
			
		
	  })
	})	
</script>


insert it in the footer-extras file
by patsd102
2022-08-13 19:58
Forum: Advanced Customizations > Others
Topic: When saving in Detail View go back to Table View
Replies: 3
Views: 845

Re: When saving in Detail View go back to Table View

You can also do this in the app, under Detail view settings.
by patsd102
2022-08-13 19:46
Forum: Advanced Customizations > Others
Topic: When saving in Detail View go back to Table View
Replies: 3
Views: 845

Re: When saving in Detail View go back to Table View

In your yourtablename_view.php find this line " $x->RedirectAfterInsert = 'yourtablename_view.php?SelectedID=#ID#; "and change to $x->RedirectAfterInsert = 'yourtablename_view.php';

Please note, this is a main file change, so you will need to change the line each time you update your app.
by patsd102
2022-07-17 07:35
Forum: Advanced Customizations > Others
Topic: Theme for one table
Replies: 2
Views: 694

Re: Theme for one table

Thanks for sharing
by patsd102
2022-07-02 19:02
Forum: Advanced Customizations > Hooks
Topic: User notification
Replies: 6
Views: 1008

Re: User notification

Something like this any good?

https://bigprof.com/appgini/tips-and-tu ... ed-records.

I seen on another post, sending to more than one, an array was used

P
by patsd102
2022-06-21 20:37
Forum: Tips And Tricks
Topic: hide a row when an unwanted word appears
Replies: 4
Views: 784

Re: hide a row when an unwanted word appears

Thanks to the two of you for your input.
I'm not a coder, so I am currently searching
google for a solution,

Funny enough, googling " $options-QueryWhere" brings up appgini forum pages, :)

Thanks

P
by patsd102
2022-06-21 09:28
Forum: Tips And Tricks
Topic: hide a row when an unwanted word appears
Replies: 4
Views: 784

Re: hide a row when an unwanted word appears

Thanks for your post I got it to work with the below code inserted in footer-extras Just thought I would share Change the values "table" "field" "word to hide row" to suite your site <script> $j(function(){ $j('.table-field').each(function(){ var field = $j(this).text(); if(field == 'word to hide ro...
by patsd102
2022-06-20 06:56
Forum: Tips And Tricks
Topic: hide a row when an unwanted word appears
Replies: 4
Views: 784

hide a row when an unwanted word appears

HI

I wish to hide a row when an unwanted word appears.
For example, if the word "yellow" is entered in any field, the entire row is hidden,

TIA
by patsd102
2022-06-06 17:08
Forum: Getting Started
Topic: Upgrade and plugin purchase
Replies: 1
Views: 546

Re: Upgrade and plugin purchase

Just incase anyone is interested? My ad blocker was hiding the box.

Thanks to Ahmed for the support reply,

Pat
by patsd102
2022-06-04 05:43
Forum: Getting Started
Topic: Upgrade and plugin purchase
Replies: 1
Views: 546

Upgrade and plugin purchase

Hi

I am upgrading and buying a plugin at the same time,
On the purchase page, it's asking me to "accept term's and conditions"
Paying with paypal

For the life of me, I can't see the button, (using chrome)

Any one have the same problem

Pat
by patsd102
2021-02-10 09:58
Forum: Bugs/annoyances
Topic: Sign up not working
Replies: 2
Views: 1384

Re: Sign up not working

Anyone?
by patsd102
2021-02-08 20:28
Forum: Advanced Customizations > Hooks
Topic: Using Sendmail for multiple recipients
Replies: 4
Views: 1517

Re: Using Sendmail for multiple recipients

I can't help with coding, but someone else asked this question a while back , and added multiple recipients via an array

Try the search on the forum