Training, Open Source computer languages

This is page http://www.wellho.net/forum/Other-issues/DreamWea ... ripts.html

Our email: info@wellho.net • Phone: 01144 1225 708225

 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
DreamWeaver Template Tags and Scripts

Posted by TedH (TedH), 2 March 2008
I won't use DreamWeaver because of it's poor coding techniques. However one of my clients does and I have just spent most of a weekend tearing my hair out over a vertical shifting between her pages and the ones I'm doing that are running from some Perl scripts.

It's taken me a day to realise that the DW template tags create vertical spaces. HTML is expecting something here, making room for it and of course it isn't there - but the space remains.

That is because they are exactly like server side include tags, with: a less than bracket, two hyphens, a space, the code, a space, two hyphens and the more than bracket.

Now this is alright if all you ever use is DreamWeaver, but once you begin to do stuff in a server side language you will run into this problem. the solution is to include the tags into any HTML code that will show on the site from the script. I would assume this will also apply to Java, PHP, Ruby, TCL and every other scripting language. You will have to play around until the shift stops. In this case there were "TemplateBeginEditable" and "TemplateEndEditable" tags in the HTML header.

If you are calling a script in the middle of a page, this might also happen depending on where the template tags are in relation to your SSI tag. It will more than likely be a trial and error method to get things stable.

Posted by admin (Graham Ellis), 3 March 2008
Many thanks for that tip, Ted!



This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.

© WELL HOUSE CONSULTANTS LTD., 2024: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho