GPUK.net

 
 

Help on Editing the Text on Pages

Customise the Text on your Pages.

You can change the text of most of the pages to suit your requirements. Be sure to view the finished result to make sure that it works as you intended.

You may use the onscreen editor provided (linked from your admin page) or you may prepare and upload text files. We describe both methods, firstly the onscreen editor.

If you are editing a standard page then any text that you enter will automatically be enclosed in justified paragraph tags, so there is no need for you to enter anything other than text. If you created a new page and selected a plain page format without any formatting then it is up to you to provide your own html tags. You may include any html tags including tables, hyperlinks etc.

Automatic File Listing

Particularly in relation to the Freedom of Information Act you will need to make some files available to the public. To make this easier for you do on your website we have introduced an automated file listing. It works as follows:

  • Create a page on which you wish to list the files (or use an existing page, but in that case first read the notes below).
  • Upload your files to the directory for that page.
  • Edit the text of that page - include any introductory text for your file listing.
  • At the point where you want to list the files put the following as the only text on a line: %%filelist
  • You may include further text below the filelisting if you wish.
  • That's all you need to do - your files should now be listed automatically. You may do this on as many pages as you wish, e.g. a different page for each section of your Publication Policy.

Notes:

  1. If wanting to list files on an existing page that you have made yourself (i.e. this does not apply to the standard pages such as homepage and repeat prescriptions) you will need to update the page to include the new code. Simply go to the admin option to "Create Pages" and create a page of the exact same name and type as your existing page - this will not clear your existing content but it will update the code of the page to include the %%filelist function.
  2. Filenames should not include any spaces. However if you wish them to be displayed without spaces so as to give a legible title then use _underscores_ in place of spaces - when the file link is displayed the underscore will be replaced by spaces. e.g. filename "Our_Publications_Policy.pdf" will be displayed as "Our Publications Policy"
  3. Filenames should end with the appropriate extension to indicate the type of file e.g. .pdf or .doc
  4. Filetype (e.g. pdf) and filesize (e.g. 34kb) will be displayed automatically. e.g. filename "Our_Publications_Policy.pdf" will in fact be displayed as a clickable link "Our Publications Policy pdf 34kb"
  5. Currently this automatic listing works for files of types pdf, doc, rtf, xls, wpd, ppt, pps. If you need to list other filetypes then email support@gpuk.net and specify which filetypes you would like to be added to the list.

HTML tags which you may find useful

If you wish you can include most html tags. Below are some examples of html tags you may find useful, though you can also use others. Most tags are used in pairs, an opening tag to indicate the start of some formatting, and a closing tag to indicate the return to standard formatting.

It is actually better to use the style sheet to set style and formatting, but that is more complicated and for minor matters such as highlighting in bold, using the tags below is quite acceptable.

  • To make a word or words appear in <B>bold</B> use tags like this.

  • To make a word or words appear in <I>italic</I> use tags like this.

  • Try making text <big>big</big> or

    <big><big>bigger</big></big>

    or perhaps you prefer <small>small</small> or

    <small><small>smaller</small></small>

  • To make words appear in colour use tags like this:

    <FONT COLOR="RED">colour</FONT>

  • To include a hyperlink enter a filename and a description like this

    <A HREF="filename">Link Description</A>

    "filename" could be

    • just the name e.g. opentimes.html if that file is in the same directory as your page, or

    • include the directory "docs/filename.html" if it is in your docs subdirectory, or

    • the full address if it is a link to somewhere else "http://www.myserver.co.uk/subdirectory/filename.html"

  • To include a picture upload the file to your images directory and include a link like this

    <IMG SRC="images/filename" alt "description of picture" height = "73" width = "124">

    give the full address if the picture file is somewhere else e.g. instead of "images/filename" put "http://www.myserver.co.uk/subdirectory/imagefile.jpg"

Uploading Preprepared Text

You may prepare your text in advance and upload the files. If you wish to do this then follow these few rules for success.

  1. The file must be called "Page Name.txt" where the page that you are editing is called "Page Name". i.e. the filename is the same as the pagename and is the same as the directory name, with .txt added to the end. It is case sensitive e.g. in the example above "page name.txt" would not work. The correctly named file should be uploaded to the directory of the same name (which will have been created when you created the new page using the Admin screen). There are some exceptions to this naming structure and they are listed below.

  2. Files must be in plain text format (e.g. use notepad in Windows, don't use Word).

  3. Do not wordwrap the text i.e. just keep typing even after reaching the end of a line, unless you want to start a new paragraph.

  4. To start a new paragraph press Enter or Return to start a new line.

  5. Blank lines will be ignored. If you want to include a blank line for layout purposes you could use the symbol &nbsp; which will put a space on a line on the page.

  6. You can completely take over the default page that we provide if you upload a file called index.html or index.htm to your contacts directory, but this must be a properly constructed html page. (If you subsequently wish to revert to our page then simply delete your uploaded file and our page will again be displayed automatically).

Exceptions:

  • The Home Page text file is called hometext.txt and should be uploaded to the root directory, i.e. the first directory that you are offered on the uploading page.

  • Also in the Home Page directory there is the file menulinks.txt which controls links on the menubar.

  • Also in the Home Page directory there is the file homepagestaffnames.txt which controls the presentation of staff names on the menubar.

  • By default the Home Page shows the name, address, and tel/fax of the surgery as a header at the top of the page. If you wish to remove this e.g. to design your own header, then this may be selected as an additional option when using the home page text editing page.

  • The text for the top of the Links page is controlled by the file linkstext.txt in the links directory.

  • Also in the links directory there is the file url.txt which controls the links on the Links page.

  • The Contact page uses three files contact.txt, email.txt, footer.txt in the contact directory, described on the Contact Configuration Help page.

  • The Gallery page uses files intro1.txt, intro2.txt, and intro3.txt for the introductory paragraphs, and for each picture there is the picture file photo1.jpg, photo2.jpg etc, a title in file title1.txt, title2.txt etc, and a description in file caption1.txt, caption2.txt etc.

  • Appointments and prescriptions pages currently use a different method of updating text and for these you cannot edit them by uploading text files.

And finally, you may also edit the error messages that visitors receive if they enter a URL for a page that does not exist. These are the messages that you see such as "404 File not found" on some websites. On GPUK.net your visitors see your own style of page with a menu like that on your homepage, with some text which can be edited by you. Load a spurious page address to see the current message. To alter the message upload a plain text file (like those mentioned above) called 404.txt and place it in your root directory.

   
 
         

© 2001-2007 Simon Child