Showing posts with label Editpad Lite. Show all posts
Showing posts with label Editpad Lite. Show all posts

Wednesday, 28 November 2007

TIP - Polls in a Post

Time to get 'down and dirty' with an attempt to include a "Poll in a Post".

If it works, at least David is going to be a happy turkey!

Here goes ...

---------------------------------------------------------------------------------

1. Backup your old template!

--------------------------------------------------------------------------------

2. The object of this exercise is to let the Blogger engine do all the work and for us to simply copy and paste the result into the space (the Post) that we want to use it in. With that in mind, it is time to generate a Poll that Blogger will happily build for us and stick in the R/H panel wherever we choose to put it.

 

--------------------------------------------------------------------------------

3. Here is the Poll, displayed in all its glory in the sidebar of the page. It is necessary to actually 'publish' the Poll to have the code generated, but it won't remain here for long, so where you place it is quite irrelevant:

 

--------------------------------------------------------------------------------

4. Now comes the cunning part. Right-click anywhere on your page and select 'View Source'. The resulting HTML code will be shown to you in your text editor, probably Notepad, because you've not taken my advice previously and downloaded EditPad Lite. "Leading a horse to water ..." is the phrase that springs to mind but hey, each to his or her own!

 

--------------------------------------------------------------------------------

5. Do a search for Poll1 (if you already have Polls on your page, then this might be different, i.e. Poll2, or Poll3, or Poll4) in the text editor (much easier if you're using EditPad Lite!) and when the required 'word' has been found, you will see almost exactly the same code as I've displayed in the screencap below. I've highlighted a couple of areas in green and yellow as they become important a little later, but for the moment just remember that this is the Poll ID that Blogger has built for you.

Copy the code from the first "<div" to the last "</div>" of the area I've highlighted in the screencap (no, no, NO ... not the screencap ... your text editor!) and paste it into a new page (much easier in EditPad Lite because of the tabbed display!):

 

 

The next image is for INFORMATION only. It shows how the same code looks in a Blogger template and if you have an interest in this stuff, compare it with the HTML above to see how 'Blogger-speak' works:

 

--------------------------------------------------------------------------------

6. Here comes the 'fiddly' stuff!

  • Go to the piece of code you saved in the last step.
  • Add this line of text at the top (copy/paste if you wish)
    <div align='center'>
  • Change the height to '160'. This depends on the length of your question and answers, so check the display and increase it if necessary, or you will end up with a vertical scrollbar.
  • Add a final </div> at the bottom.

 

--------------------------------------------------------------------------------

7. Pay attention at the back! We're nearly there.

I will assume that the majority of readers of this article compose their 'Posts' using the 'Compose' or WYSIWYG editor. Unfortunately, this is where you have to dip your toes into the muddy waters of HTML. If you are using the 'Compose' method, stop wherever you wish to insert the Poll and switch to 'Edit Html'. You will be able to see where you stopped typing, so all you need to do is insert a couple of new lines, copy the text from your text editor (the stuff you've been hacking in the previous steps), and paste it into the editing window. It's as easy as that!

 

--------------------------------------------------------------------------------

8. When you're satisfied with the 'Preview' you can hit 'SAVE' (you're saving it as a 'draft'), because you aren't finished - yet!

BTW, the 'Preview' almost always shows you a distorted view of your Post, or rather, it displays differently on your page than it does in the 'Preview'. You have been warned!

--------------------------------------------------------------------------------

9. Finally! Go to Template | Page Elements, select 'Edit' for the Poll you created earlier, then select 'REMOVE PAGE ELEMENT' in the 'Create a poll' window that opens up. You're done with this one, and if you don't remove it, the one in your Post won't appear!

--------------------------------------------------------------------------------

10. Time to take a look at how the Poll displays when it is posted:

 

Q. Test Question

 

--------------------------------------------------------------------------------

Ahhh, satisfaction! The colours aren't exactly what I want, and if this was a 'real' Poll for my site I would tweak things a bit further, but I am sure you are able to do this for yourselves.

Now, sit back and wait for the feedback to your Poll ...

back to the top

 

Thursday, 17 May 2007

The Tools . . .

I am sure that each of you has your own personal favourite for the categories I mention below. These are mine, and most of them are FREEWARE!

Text Editors

A good text editor is absolutely essential when you're working with the web. Word-processing packages just don't cut it. Honest! I have two in this category. Both are FREE. I use the first one constantly (disclaimer: I use the Pro version), perhaps because I discovered it first. If the first programme can be considered a superb replacement for Notepad, the second is "Notepad on steroids". However, I doubt that many 'first-timers' will want to use the second because of its apparent complexity!

  • EditPad Lite: This is a general-purpose text editor, designed to be small and compact, yet offer all the functionality you expect from a basic text editor. EditPad Lite works with Windows NT4, 98, 2000, ME, XP and Vista. If you are a Notepad user you will wonder how you managed to get things done before you discovered EditPad.
  • ConTEXT: This is a small, fast and powerful freeware text editor, developed mainly to serve as a secondary tool for software developers. The designer says that, after years and years of searching for a suitable Windows text editor, he was unable to find one that completely satisfied his needs, so he wrote his own. I suspect that this little beauty won't remain 'freeware' for much longer, so grab a copy while you can. You may start to use it some time in the future!

FTP Clients

My own personal favourite is WS_FTP Pro, a paid-for tool, that forces me to exclude the link here. The ones I have included are 'freeware' clients, but I have only used the first one and find it a superb tool for the job. I have not actually tried the others although they continue to get rave reviews (for freeware) in the computer press!

  • FileZilla: FileZilla is a free, open source FTP client for Windows. It supports FTP, SFTP, and FTPS (FTP over SSL/TLS). The main features are the site manager, message log, file and folder view, and the transfer queue. The site manager allows a user to create a list of FTP sites along with their connection data, such as the port number to use, the protocol to use, and whether to use anonymous or normal logon. For normal logon, the username is saved and optionally the password. The message log is displayed along the top of the window. It displays the console-type output showing the commands sent by FileZilla and the remote server's responses. The file and folder view, displayed under the message log, provides a graphical interface for FTP. Users can navigate folders and view and alter their contents on both the local and remote machines using an Explorer-style tree interface. Users can drag and drop files between the local and remote computers. The transfer queue, displayed along the bottom of the window, shows the real-time status of each queued or active file transfer.
  • AceFTP: Visicom Media’s AceFTP 3 Freeware is the easiest-to-use free FTP client software available for transferring files over the Internet. Its cool, uncluttered drag-and-drop interface, designed in a Windows XP fashion, lets you transfer files quickly and efficiently and navigate with ease between folders, both on Web sites and on your computer. This robust, free FTP software is a high-speed FTP program. It enables you to perform multiple file transfers simultaneously. Simply put, it beats many paid-for FTP client software products hands down.
  • FTP Commander: Simple and easy to use. It's really the bare minimum with no extra frills or thrills. It offers a no-nonsense interface consisting of two side-by-side local computer and FTP server panels. It's easy as pie to establish a connection. Pre-configuring a list of most frequently accessed servers will make your life easy. All you have to do is select the server you want on the list and push the Connect button. This FTP program occupies far less space on hard drives and RAM than other similar paid programs. It also allows you to delete, rename and and copy files, create and delete directories in the FTP server and work in command line mode. The program is absolutely free and does not contain any annoying ad banners.
  • SmartFTP: A solid freeware FTP client, SmartFTP offers loads of handy features, including a Windows Explorer-like interface, drag & drop support and resumption of broken transfers. Free for personal, as well as educational and non-profit usage. Unfortunately you also get a nag screen asking you to buy the product, but it is not crippled in any way.

Graphics Manipulators

This is a difficult one. Simply put, you get what you pay for! There aren't many 'freeware' programmes in this category, unless you count 'Paint', Microsoft's bundled graphics programme which is almost as good as useless. I use a combination of Adobe Photoshop (that's an OUCH! in the $$$'s department) and Xara Xtreme (much more affordable - and it can do things you never dreamed of!), but when it comes to 'bang-for-buck' the FREE IrfanView takes a bit of beating. Hunt around and you can get many plug-ins for this 'viewer' that will allow you to 'manipulate' your photographs. And did I mention it is FREE?

  • Irfanview: IrfanView is a very fast, small, compact and innovative (FREEWARE - for non-commercial use) graphic viewer for Windows 9x/ME/NT/2000/XP/2003/Vista. It tries to simplify things for beginners, and yet it can be a powerful tool for professionals. IrfanView tries to create new or interesting features in its own way, unlike some other graphic viewers. IrfanView was the first Windows graphic viewer WORLDWIDE with Multiple (animated) GIF support, one of the first graphic viewers WORLDWIDE with Multipage TIF support, and the first graphic viewer WORLDWIDE with Multiple ICO support. Some of the feature set for IrfanView are: Extensive list of supported file formats Multi language support Thumbnail/preview option Toolbar skins option Slideshow (save slideshow as EXE/SCR or burn it to CD) Show EXIF/IPTC/Comment text in Slideshow/Fullscreen etc. Support for Adobe Photoshop Filters Fast directory view (moving through directory) Batch conversion (with image processing) Multipage TIF editing File search Email option Multimedia player Print option Change color depth Scan (batch scan) support Cut/crop IPTC editing Effects (Sharpen, Blur, Adobe 8BF, Filter Factory, Filters Unlimited, etc.) Capturing Extract icons from EXE/DLL/ICLs Lossless JPG rotation Many hotkeys Many command line options Many PlugIns Only one EXE-File, no DLLs, no Shareware messages like "I Agree" or "Evaluation expired" No registry changes without user action/permission! and much much more.

Those are just a few to be getting on with. What are you waiting for?

back to the top