NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on March 10, 2021, 04:35:11 AM

Title: how to create a Grid Card in NT
Post by: osquiabro on March 10, 2021, 04:35:11 AM
hi, i create successfully(https://fecipur.org/Eventos) a horizontal grid(aka browse) card with nt, but i need create another grid card with image to the left and a fields to right like as attached example image, is possible with NT?
Title: Re: how to create a Grid Card in NT
Post by: Bruce on March 12, 2021, 03:28:07 AM
I've not done this, but I presume it's possible. Either via CSS, or via setting the "span rows" setting for the picture field to 6 or 7 or whatever. And the first field (picture) is likely not first in row.

That's on a form, on a browse it's easier.

Cheers
Bruce
Title: Re: how to create a Grid Card in NT
Post by: osquiabro on March 12, 2021, 06:35:41 AM
hi bruce, i have tried multiple options with "span rows" and "span columns", without results and i don't understand when you said "And the first field (image) is probably not the first in the row" [/ i] this is it a new setting? my version is 11.43

if is possible do you can create a small demo for this?

thanks
Title: Re: how to create a Grid Card in NT
Post by: osquiabro on March 22, 2021, 03:32:17 AM
Bruce any tips for this..
Title: Re: how to create a Grid Card in NT
Post by: JohanR on March 29, 2021, 11:31:16 PM
Hi,

Perhaps not the best way, but could work.
If you have the HTML code that creates the desired layout and effect,
you could create a NTWS source procedure that will output the correct HTML and you just need to load the data in the correct positions inside the HTML.


regards

Johan




Title: Re: how to create a Grid Card in NT
Post by: Bruce on March 30, 2021, 01:14:49 AM
my first tip would be;
don't do this...

>> you could create a NTWS source procedure that will output the correct HTML and you just need to load the data in the correct positions inside the HTML.
Title: Re: how to create a Grid Card in NT
Post by: Bruce on March 30, 2021, 02:17:03 AM
For the NT 12.12 build I've updated example File Upload (26) so it's laid out like this.
Check the settings for Mai:MailBoxPicture field.

Cheers
Bruce
Title: Re: how to create a Grid Card in NT
Post by: osquiabro on March 30, 2021, 03:03:20 PM
thanks bruce, but i need it in the browser, the example works but only in table mode, not in div mode
Title: Re: how to create a Grid Card in NT
Post by: Bruce on March 30, 2021, 06:34:18 PM
>> thanks bruce, but i need it in the browser

eh? where else would it be?
I'm not sure I understand what you mean by this.

>> the example works but only in table mode, not in div mode

try Grid mode instead of Div mode...
(remember you can set a specific form to table / div / grid etc)

cheers
Bruce
Title: Re: how to create a Grid Card in NT
Post by: osquiabro on March 31, 2021, 01:42:23 AM
the example is in a form i need the same effect in a browse(Mailboxes Browse Control), in Grid Mode don't work, only work in table mode but this is not responsive.

thanks..
Title: Re: how to create a Grid Card in NT
Post by: Bruce on March 31, 2021, 11:30:21 PM
you mean something like https://www.clarionlive.com/ where the browse of the webinars there is a picture on the left, and some text on the right?

Title: Re: how to create a Grid Card in NT
Post by: osquiabro on April 01, 2021, 08:26:46 AM
yes that's what I mean