Search found 77 matches

by antonio
2012-09-20 14:17
Forum: ADDT
Topic: Show thumbnails and transparent background
Replies: 3
Views: 4935

Show thumbnails and transparent background

Hi all, I would like to use PNG images on a site built with ADDT. I show images using the "show thumbnail" behaviour. I upload the image using the "upload and resize behaviour". I'm using GD. Once I show thumbnail on the page the image has solid black background instead of his tr...
by antonio
2012-09-19 10:50
Forum: ADDT
Topic: [Insert record]how to set expiry date field {NOW_DT}+31days?
Replies: 3
Views: 4424

Re: [Insert record]how to set expiry date field {NOW_DT}+31d

$exp_date = date("Y-m-d", strtotime("+31 days")); Easiest is to set it as a hidden field when you build your form. Thanks Fred, I already have an hidden field called "expiry_date" but how can I assign it the correct date (today+31days)? I already tried (without success...
by antonio
2012-09-19 08:22
Forum: MX Looper
Topic: How to split horizontal looper?
Replies: 5
Views: 9390

Re: How to split horizontal looper?

Would love to come to Italy some day. Where abouts are you located?
Hi Fred,
I live on the Como lake, near Milan.

Ciao ;)

tony
by antonio
2012-09-18 22:30
Forum: ADDT
Topic: [Insert record]how to set expiry date field {NOW_DT}+31days?
Replies: 3
Views: 4424

[Insert record]how to set expiry date field {NOW_DT}+31days?

Hi all, I have an insert record form on a page. I have a field that set an expiry date for the record. This date should be 31 days away from today (in interakt language: {NOW_DT}+31 days). I tried to set the date this way: $expiry_date = KT_formatDate(date("Y-m-d", time() + 60*60*24*31)); ...
by antonio
2012-09-17 17:06
Forum: MX Looper
Topic: How to split horizontal looper?
Replies: 5
Views: 9390

Re: How to split horizontal looper?

Hi Fred, thanks for your insight. In fact, I just discovered that ADDT has a Nested repeat region behaviour. I had to tweak it a bit to make it work with my page. Testing it now. Out of curiosity: Fred, since ADDT is not supported any more and php 5.3 or 6.0 is near, what do you would use to replace...
by antonio
2012-09-14 17:27
Forum: MX Looper
Topic: How to split horizontal looper?
Replies: 5
Views: 9390

How to split horizontal looper?

Hi all, I created a complex recordset that will display results using horizontal looper: 4 columns by X rows. A sort of thumbnails gallery where all images area sorted by category. But with HL all images area one after the other. Example: (cat1)thumb1 - (cat1)thumb2 - - (cat1)thumb3 - (cat1)thumb4 -...
by antonio
2012-09-07 14:00
Forum: ADDT
Topic: ADDT sites on windows 2008 server + IIS 7.5?
Replies: 0
Views: 9372

ADDT sites on windows 2008 server + IIS 7.5?

Hi all,
is there someone that is running succesfully websites created with ADDT on a windows 2008 server equipped with IIS 7.5?

TIA

tony
by antonio
2012-09-07 10:27
Forum: ADDT
Topic: textarea in a form with May-to-Many escapes quotes?
Replies: 3
Views: 4304

Re: textarea in a form with May-to-Many escapes quotes?

Hi Fred, Good idea to disable magic_quotes on your server anyway as it is deprecated in php 5.3 and removed in php5.4.0 Thanks for your confirmation. Anyway it sounds like your text get a double escape applied to it for some reason. Do you manually escape anything? No, I do not escape anything manua...
by antonio
2012-09-06 09:31
Forum: ADDT
Topic: textarea in a form with May-to-Many escapes quotes?
Replies: 3
Views: 4304

textarea in a form with May-to-Many escapes quotes?

Hi all, I have a strange problem. I have a form that updates records in a db. Nothing strange here. This form contains some texarea fields. Some fields are standard textareas, while others are textareas created by the Many-To-Many (M-T-M) addt server behaviour. When I input some text with quotes and...
by antonio
2012-07-20 10:29
Forum: MX Kollection - Pro Edition
Topic: alternative to show thumbnails?
Replies: 12
Views: 14282

Re: alternative to show thumbnails?

Did you get it sorted? Had a look again this morning. Search for all instances of " img_not_found.gif " in the includes folder and comment them out with // This should get rid of the image not found. Just tried it on my dev site and renamed one of the images. You should be left with a lin...