numero = 11970
interpreted = N
texte = >Even just simple counters that I want shown to just my domain, seem to be>more difficult.Gotcha. That's the classic difference between a generalized solution like WebCatalog, and a specific solution like NetCloak. Some things that NetCloak decides are important will be very short. The answer to this in WebCatalog is to use [include] so that you only have to write the stuff once, and then it's easy to include it on all your pages.OTOH, some things are impossible _without_ WebCatalog: for instance, keeping stats of all the different types of browsers that are hitting your site (I posted a short WebDNA example of this last week). Also, the MasterCounter example tracks more information like last date of access, and can display a summary of all your hits in a nice table. These are things that NetCloak can't do until they decide to add the feature. Don't get me wrong -- NetCloak is a super product, but it's not designed to address the same solutions as WebCatalog. They're in completely different niches.>[ShowIf [IPAddress]^.net-hwy.com]IPAddress is a number, not a name, so this becomes[ShowIf [IPAddress]~206.170.191] (~ means 'starts with')You probably already know about [include], but I'll mention it so others can benefit:Create a file with all of Glenn's WebDNA in it, and save it at the root of your web server folder. Call it MasterCounter.inc. Then, anywhere you want a counter in your other pages, simply put[include /MasterCounter.inc]instead of typing all that stuff over again each time.>> >I have also been working with the General Store example. When trying to>> >change the 'Banner Ads', the change never gets made. Was this a flaw in>> >the WEB DNA?>Do you have a solution that I can add??In AdEditor.tmpl, changetoGrant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>Even just simple counters that I want shown to just my domain, seem to be>more difficult.Gotcha. That's the classic difference between a generalized solution like WebCatalog, and a specific solution like NetCloak. Some things that NetCloak decides are important will be very short. The answer to this in WebCatalog is to use [include] so that you only have to write the stuff once, and then it's easy to include it on all your pages.OTOH, some things are impossible _without_ WebCatalog: for instance, keeping stats of all the different types of browsers that are hitting your site (I posted a short WebDNA example of this last week). Also, the MasterCounter example tracks more information like last date of access, and can display a summary of all your hits in a nice table. These are things that NetCloak can't do until they decide to add the feature. Don't get me wrong -- NetCloak is a super product, but it's not designed to address the same solutions as WebCatalog. They're in completely different niches.>[ShowIf [ipaddress]^.net-hwy.com]IPAddress is a number, not a name, so this becomes[ShowIf [ipaddress]~206.170.191] (~ means 'starts with')You probably already know about [include], but I'll mention it so others can benefit:Create a file with all of Glenn's WebDNA in it, and save it at the root of your web server folder. Call it MasterCounter.inc. Then, anywhere you want a counter in your other pages, simply put[include /MasterCounter.inc]instead of typing all that stuff over again each time.>> >I have also been working with the General Store example. When trying to>> >change the 'Banner Ads', the change never gets made. Was this a flaw in>> >the WEB DNA?>Do you have a solution that I can add??In AdEditor.tmpl, changetoGrant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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...