Re: [WebDNA] add rows dynamically

This WebDNA talk-list message is from

2018


It keeps the original formatting.
numero = 114292
interpreted = N
texte = 1901 --000000000000a4bfec056e868cb3 Content-Type: text/plain; charset="UTF-8" I might be misunderstanding the placement of the showif part in the solution/example provided I'm now getting a single column of 6 items. The end/start of a row or the next row seems to be messed up? On Wed, Jun 13, 2018 at 8:32 AM, Alex McCombie wrote: > > [Search db=admin/kp.db&eqACTIVEdatarq=Yes] > [founditems] > > > [showif [index]\4][/showif] > [/founditems] > [/search] >
> >
> > > This is the easiest solution as it will simply make your rows 4 columns > wide each time. > > HTH > AJ > > > > On Jun 13, 2018, at 9:27 AM, Richard Kwasniewski > wrote: > > > > I searched in the talklist archives, actually found entries and examples > on what might be part of the solution back in 2011 and similar years, but > for some reason, all the code is either jumbled or non-existent. > > > > After a search, I need to populate a table and have a maximum of 4 table > cells per row > > > > If the search returns 6 items, I need to add a second row. > > > > [showif [index]\4] > > seems to be part of the answer, but that's where I stopped seeing code > examples in the old archives > > > > This is my table/search code so far stripped down to the very basics. > > > > > > [Search db=admin/kp.db&eqACTIVEdatarq=Yes] > > [founditems] > > > > > > > > [/founditems] > > [/search] > >
> > > >
> > > > > > What was I missing in those talklist entries??? > > > > > > > > --------------------------------------------------------- This message > is sent to you because you are subscribed to the mailing list > talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: > http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list talk@webdna.us > To unsubscribe, E-mail to: talk-leave@webdna.us > archives: http://www.webdna.us/page.dna?numero=55 > Bug Reporting: support@webdna.us > --000000000000a4bfec056e868cb3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I might be misunderstanding the placement of the showif=C2= =A0part in the solution/example provided

I'm now get= ting a single column of 6 items.
The end/start of a row or the ne= xt row seems to be messed up?


On Wed, Jun 13, 2018 at 8:32 AM, Alex McCo= mbie <alex@mccombie.com> wrote:
<table width=3D"100%" border=3D"0&= quot; align=3D"center">
[Search db=3Dadmin/kp.db&eqACTIVEdatarq=3DYes]
[founditems]
<tr>
<td align=3D"center" width=3D"200">
<img src=3D"images/middle/[thumbnail]" border=3D"1&q= uot;>
</td>
[showif [index]\4]</tr><tr>[/showif]
[/founditems]
[/search]
</table>


This is the easiest solution as it will simply make your rows 4 columns wid= e each time.

HTH
AJ


> On Jun 13, 2018, at 9:27 AM, Richard Kwasniewski <richiekwas@gmail.com> wrote:
>
> I searched in the talklist archives, actually found entries and exampl= es on what might be part of the solution back in 2011 and similar years, bu= t for some reason, all the code is either jumbled or non-existent.
>
> After a search, I need to populate a table and have a maximum of 4 tab= le cells per row
>
> If the search returns 6 items, I need to add a second row.
>
> [showif [index]\4]
> seems to be part of the answer, but that's where I stopped seeing = code examples in the old archives
>
> This is my table/search code so far stripped down to the very basics.<= br> >
> <table width=3D"100%" border=3D"0" align=3D&quo= t;center">
> [Search db=3Dadmin/kp.db&eqACTIVEdatarq=3DYes]
> [founditems]
> <tr>
> <td align=3D"center" width=3D"200">
> <img src=3D"images/middle/[thumbnail]" border=3D&quo= t;1">
> </td>
> </tr>
> [/founditems]
> [/search]
> </table>
>
>
> What was I missing in those talklist entries???
>
>
>
> -----------------------------------------------------= ---- This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To unsubscribe, E= -mail to: talk-leave@webdna.us = archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us=

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@webdna.us
To unsubscribe, E-mail to: talk-lea= ve@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55
Bug Reporting:
support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --000000000000a4bfec056e868cb3-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] add rows dynamically (Richard Kwasniewski 2018)
  2. Re: [WebDNA] add rows dynamically (Alex Mccombie 2018)
  3. Re: [WebDNA] add rows dynamically (Richard Kwasniewski 2018)
  4. Re: [WebDNA] add rows dynamically (Kenneth Grome 2018)
  5. Re: [WebDNA] add rows dynamically (Alex McCombie 2018)
  6. Re: [WebDNA] add rows dynamically (Richard Kwasniewski 2018)
  7. Re: [WebDNA] add rows dynamically (Alex McCombie 2018)
  8. [WebDNA] add rows dynamically (Richard Kwasniewski 2018)
1901 --000000000000a4bfec056e868cb3 Content-Type: text/plain; charset="UTF-8" I might be misunderstanding the placement of the showif part in the solution/example provided I'm now getting a single column of 6 items. The end/start of a row or the next row seems to be messed up? On Wed, Jun 13, 2018 at 8:32 AM, Alex McCombie wrote: > > [Search db=admin/kp.db&eqACTIVEdatarq=Yes] > [founditems] > > > [showif [index]\4][/showif] > [/founditems] > [/search] >
> >
> > > This is the easiest solution as it will simply make your rows 4 columns > wide each time. > > HTH > AJ > > > > On Jun 13, 2018, at 9:27 AM, Richard Kwasniewski > wrote: > > > > I searched in the talklist archives, actually found entries and examples > on what might be part of the solution back in 2011 and similar years, but > for some reason, all the code is either jumbled or non-existent. > > > > After a search, I need to populate a table and have a maximum of 4 table > cells per row > > > > If the search returns 6 items, I need to add a second row. > > > > [showif [index]\4] > > seems to be part of the answer, but that's where I stopped seeing code > examples in the old archives > > > > This is my table/search code so far stripped down to the very basics. > > > > > > [Search db=admin/kp.db&eqACTIVEdatarq=Yes] > > [founditems] > > > > > > > > [/founditems] > > [/search] > >
> > > >
> > > > > > What was I missing in those talklist entries??? > > > > > > > > --------------------------------------------------------- This message > is sent to you because you are subscribed to the mailing list > talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: > http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list talk@webdna.us > To unsubscribe, E-mail to: talk-leave@webdna.us > archives: http://www.webdna.us/page.dna?numero=55 > Bug Reporting: support@webdna.us > --000000000000a4bfec056e868cb3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I might be misunderstanding the placement of the showif=C2= =A0part in the solution/example provided

I'm now get= ting a single column of 6 items.
The end/start of a row or the ne= xt row seems to be messed up?


On Wed, Jun 13, 2018 at 8:32 AM, Alex McCo= mbie <alex@mccombie.com> wrote:
<table width=3D"100%" border=3D"0&= quot; align=3D"center">
[Search db=3Dadmin/kp.db&eqACTIVEdatarq=3DYes]
[founditems]
<tr>
<td align=3D"center" width=3D"200">
<img src=3D"images/middle/[thumbnail]" border=3D"1&q= uot;>
</td>
[showif [index]\4]</tr><tr>[/showif]
[/founditems]
[/search]
</table>


This is the easiest solution as it will simply make your rows 4 columns wid= e each time.

HTH
AJ


> On Jun 13, 2018, at 9:27 AM, Richard Kwasniewski <richiekwas@gmail.com> wrote:
>
> I searched in the talklist archives, actually found entries and exampl= es on what might be part of the solution back in 2011 and similar years, bu= t for some reason, all the code is either jumbled or non-existent.
>
> After a search, I need to populate a table and have a maximum of 4 tab= le cells per row
>
> If the search returns 6 items, I need to add a second row.
>
> [showif [index]\4]
> seems to be part of the answer, but that's where I stopped seeing = code examples in the old archives
>
> This is my table/search code so far stripped down to the very basics.<= br> >
> <table width=3D"100%" border=3D"0" align=3D&quo= t;center">
> [Search db=3Dadmin/kp.db&eqACTIVEdatarq=3DYes]
> [founditems]
> <tr>
> <td align=3D"center" width=3D"200">
> <img src=3D"images/middle/[thumbnail]" border=3D&quo= t;1">
> </td>
> </tr>
> [/founditems]
> [/search]
> </table>
>
>
> What was I missing in those talklist entries???
>
>
>
> -----------------------------------------------------= ---- This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To unsubscribe, E= -mail to: talk-leave@webdna.us = archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us=

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list talk@webdna.us
To unsubscribe, E-mail to: talk-lea= ve@webdna.us
archives: http://www.webdna.us/page.dna?numero=3D55
Bug Reporting:
support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --000000000000a4bfec056e868cb3-- . Richard Kwasniewski

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

autocommit problem (1998) WebCat b13 CGI -shownext- (1997) Webcat causing crashes left and right! (1997) Limit picture size on upload (2005) Erotic Sites (1997) [BoldWords] WebCat.acgib15Mac (1997) Referrer field to header field conversion (1997) Bug Report, maybe (1997) locking variables? (2000) Three new problems, maybe a fourth (1997) One Hour Email (2002) Sum of Quantities (1997) Bug Report, maybe (1997) [WebDNA] Problem with [ListDatabases] - WebDNA CE 6.0a - Windows (2010) WebCat templates for TyphoonPro admin (1999) Web Catalog 2 demo (1997) WCS Newbie question (1997) help (2003) Site Builder & IE Mac (2004) Email problem (1998)