Re: ShowNext (was New WebCatalog Site)

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15426
interpreted = N
texte = Sorry...should have changed the Subject to ShowNext in previous message...here it is once again:Dale Stokdyk wrote:> Paul, > > Thanks! > > Did this solo, and found it hard to get my head around the coding while doing > the rest of it as well (HTML, graphics, product sourcing, photos, setting up > bookkeeping, yadaa yadaa....). As budding entrepreneur (fingers crossed), I > get to do it all, including taking out the trash. ;-) > > I think I shared this coding on the mail list, way back when there was first > a flurry on the topic of ShowNext. I never could get the ShowNext to work > properly while using a combination of link and form-based wesearching > (probably my fault), so am only sure that this works with searching via > links. I'll revisit this when I get some more products, as I would really > like to offer a keyword search. > > As you saw, I did a simple ShowIf at the top of the results page, which > could easily be modified to provide more information (items 21-30, or items > searched for, etc.): > > > [showif [searchTitle]=All] >

Your search for All Products found > [numFound] items:

> [/showif] > > [hideif [searchTitle]=All] >

Your search found [numFound] > items:

> [/hideif] >
> > > Then, at the bottom of the search results page, I used ShowNext to display > the Next and Previous GIFs and links, grouping the results by ten (since > I'm using thumbnail JPEGS of 2-3000K > each and didn't want more than 30,000K/page). I also used tables and a clear > GIF to place things: > > SRC=/GiftStore/Images/Gifs/cleardot.gif WIDTH=30 HEIGHT=1> > [ShowNext position=begin&max=1] > SRC=/GiftStore/Images/Gifs/previous.gif ALIGN=RIGHT VALIGN=TOP WIDTH=51 > HEIGHT=30 BORDER=0> >
Previous > [start]-[end]
 [/ShowNext] > [foundItems][/foundItems] > [ShowNext position=end&max=1] HREF=GiftResults.tmpl$search?[searchstring]> SRC=/GiftStore/Images/Gifs/next.gif ALIGN=LEFT VALIGN=TOP WIDTH=51 > HEIGHT=30 BORDER=0> >
Next [start]-[end][/ShowNext] > > > Hope this helps, Paul. In return, let me know if you have a nice way to > combine form and link-based searches and still get this to work? > > Regards, > > Dale Stokdyk > World Romance > Romantic Gifts from Around the World > http://www.me2u.com > > Paul Uttermohlen wrote: > > > >With a few stops and starts....have launched a new WebCatalog site! Check > > >it out at: > > > > > >http://www.me2u.com > > > > > > > Very nice Dale! > > > > Did you do this solo or as part of a team? > > > > I noticed the slick implementation of view next 11-20 and then view > > previous 1-10 and view next 21-30 on the following page. > > > > I am struggling with this now myself. Would you be willing to share your > > coding on this. > > > > thanks, Paul > > > > _/_/_/_/_/_/_/_/_/_/_/_/|\_\_\_\_\_\_\_\_\_\_\_\_ > > _/_/_/Paul Uttermohlen, Internet Marketspace, Inc. \_\_\_\_ > > _/_/_/ mailto:paul@ims1.com - Website Development \_\_\_\_ > > _/_/_/ Business - _\_\_\_\_\_\_\_\_\_\_ > > _/_/_/ Real Estate - _\_\_\_\_ > > _/_/_/Websites - Children _/ _\_\_\_ > > _/_/_/_/_/_/_/_/_/_/_/_/_/_/ | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Associated Messages, from the most recent to the oldest:

    
  1. Re: ShowNext (was New WebCatalog Site) (Dale Stokdyk 1997)
Sorry...should have changed the Subject to ShowNext in previous message...here it is once again:Dale Stokdyk wrote:> Paul, > > Thanks! > > Did this solo, and found it hard to get my head around the coding while doing > the rest of it as well (HTML, graphics, product sourcing, photos, setting up > bookkeeping, yadaa yadaa....). As budding entrepreneur (fingers crossed), I > get to do it all, including taking out the trash. ;-) > > I think I shared this coding on the mail list, way back when there was first > a flurry on the topic of ShowNext. I never could get the ShowNext to work > properly while using a combination of link and form-based wesearching > (probably my fault), so am only sure that this works with searching via > links. I'll revisit this when I get some more products, as I would really > like to offer a keyword search. > > As you saw, I did a simple ShowIf at the top of the results page, which > could easily be modified to provide more information (items 21-30, or items > searched for, etc.): > > > [showif [searchTitle]=All] >

Your search for All Products found > [numFound] items:

> [/showif] > > [hideif [searchTitle]=All] >

Your search found [numFound] > items:

> [/hideif] >
> > > Then, at the bottom of the search results page, I used ShowNext to display > the Next and Previous GIFs and links, grouping the results by ten (since > I'm using thumbnail JPEGS of 2-3000K > each and didn't want more than 30,000K/page). I also used tables and a clear > GIF to place things: > > SRC=/GiftStore/Images/Gifs/cleardot.gif WIDTH=30 HEIGHT=1> > [ShowNext position=begin&max=1] > SRC=/GiftStore/Images/Gifs/previous.gif ALIGN=RIGHT VALIGN=TOP WIDTH=51 > HEIGHT=30 BORDER=0> >
Previous > [start]-[end]
 [/ShowNext] > [founditems][/foundItems] > [ShowNext position=end&max=1] HREF=GiftResults.tmpl$search?[searchstring]> SRC=/GiftStore/Images/Gifs/next.gif ALIGN=LEFT VALIGN=TOP WIDTH=51 > HEIGHT=30 BORDER=0> >
Next [start]-[end][/ShowNext] > > > Hope this helps, Paul. In return, let me know if you have a nice way to > combine form and link-based searches and still get this to work? > > Regards, > > Dale Stokdyk > World Romance > Romantic Gifts from Around the World > http://www.me2u.com > > Paul Uttermohlen wrote: > > > >With a few stops and starts....have launched a new WebCatalog site! Check > > >it out at: > > > > > >http://www.me2u.com > > > > > > > Very nice Dale! > > > > Did you do this solo or as part of a team? > > > > I noticed the slick implementation of view next 11-20 and then view > > previous 1-10 and view next 21-30 on the following page. > > > > I am struggling with this now myself. Would you be willing to share your > > coding on this. > > > > thanks, Paul > > > > _/_/_/_/_/_/_/_/_/_/_/_/|\_\_\_\_\_\_\_\_\_\_\_\_ > > _/_/_/Paul Uttermohlen, Internet Marketspace, Inc. \_\_\_\_ > > _/_/_/ mailto:paul@ims1.com - Website Development \_\_\_\_ > > _/_/_/ Business - _\_\_\_\_\_\_\_\_\_\_ > > _/_/_/ Real Estate - _\_\_\_\_ > > _/_/_/Websites - Children _/ _\_\_\_ > > _/_/_/_/_/_/_/_/_/_/_/_/_/_/ | \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Dale Stokdyk

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:

why won't this work, please tell me??? (2001) hidden (phantom) file downloads (2000) Counting LineItems (2000) How true is this? (1999) [writefile] remotely (2000) Not really WebCat (1997) Problem displaying search result (1997) Cannot get subtotal to work (1997) math variable security (2000) [convertchars] HELP!!! (1999) [include] affect on filepaths for links? (1997) UPS QuickCost and More (2000) Unexpected comparison behavior change in 4.5.1 (2003) ssl and invoic.tpl and back bttn (2002) For those of you not on the WebCatalog Beta... (1997) Pulldown Menu (2000) [WebDNA] WebDNA 7 (2011) syntax question, not in online refernce (1997) 5.0 feature request: Sort for ListWords (2001) Replace context problem ... (1997)