Forums

This topic is locked

Advanced Conditonal Region

Posted 18 Feb 2003 23:06:44
1
has voted
18 Feb 2003 23:06:44 Jason Glass posted:
Can someone help me with using the Advanced Conditional Region extension with Dreamweaver MX? I used to use the Conditonal Region with UltraDev 4, and despite DMXZone telling me that the advanced version is so much cooler, I can get the thing to work (and the old one won't work in DMX).

I just need an extension that works like Waldo Smeets' old Conditonal Region extension.

Thanks for your help.

-- Jason

Replies

Replied 19 Feb 2003 03:29:32
19 Feb 2003 03:29:32 asp asp replied:
Well here's the deal!! look at the error you get?? seem's to me it's looking for a file called. "Recordset.htm" in a folder called ASP, "C:\Program Files\Macromedia\Dreamweaver MX\Configuration\DataSources\asp" to be exact, well have a look and you will see that folder does not exist, what i did was create the folder and do a SEARCH for "Recordset.htm" drop in in the new folder you made called "ASP" i did it and it works fine for me!! in MX, how ever it is a simple if structure and to be honest its just as fast to create a snippet or type it out , good luck
Replied 19 Feb 2003 20:35:44
19 Feb 2003 20:35:44 Jason Glass replied:
Thanks for the help. I also found a newer version of Conditional Region (version2) at www.newmanzone.com/downloads/index.asp?offset=10

which seems to work fine in DW MX, except that there is almost no help available.

What I am trying to do is display a name, job title and company name from a database (ie John Doe, Webmaster, MRI). Some of the people in our DB don't have job titles, or don't have company names (or both), so I want to hide the "," if the field is empty (it is a blank field, not a null). What do I put in the script to not show a region if a field is blank?

Thanks for your help.

-- Jason
Replied 19 Feb 2003 21:54:14
19 Feb 2003 21:54:14 asp asp replied:
hi! well simple,

Select *
From yourTable
Where Job_Title IS NOT NULL

Edited by - asp on 19 Feb 2003 21:59:41

Reply to this topic