Hyperlinks in Batgung posts

  • strict warning: Non-static method view::load() should not be called statically in /nfs/c03/h01/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/views/views.module on line 879.
  • strict warning: Declaration of content_handler_field::options() should be compatible with views_object::options() in /nfs/c03/h01/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/cck/includes/views/handlers/content_handler_field.inc on line 208.
  • strict warning: Declaration of date_handler_field_multiple::pre_render() should be compatible with content_handler_field_multiple::pre_render($values) in /nfs/c03/h01/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/date/date/date_handler_field_multiple.inc on line 185.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /nfs/c03/h01/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/views/handlers/views_handler_argument.inc on line 745.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /nfs/c03/h01/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/views/handlers/views_handler_filter.inc on line 589.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /nfs/c03/h01/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/views/handlers/views_handler_filter.inc on line 589.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /nfs/c03/h01/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /nfs/c03/h01/mnt/51424/domains/batgung.com/html/drupaldir/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.

I've been asked: "Wondering if you can help me with something - have been struggling with how to do hyperlinks in batgung posts."

Let's say you're writing about the weather, and you want to include a link to the Observatory's website. Here are three ways you could do that:

  1. For more information, you can also visit the Observatory's website: http://www.hko.gov.hk/contente.htm
  2. For more information, you can also visit the Observatory's website: http://www.hko.gov.hk/contente.htm
  3. For more information, you can also visit the Observatory's website.

#1 is the most basic - just cut & paste the URL of the web page you want to link to. But if another reader wants to visit the site, they have to copy the URL from this page, and paste it into their browser before they can see that other site.

#2 makes it a bit easier for other readers. Now it is a live link that users can click, to be taken directly to the other site. To do this:

  • First you must be logged in
  • Paste the url into the text, then highlight it. Click the 'Insert/edit link' icon that is shown below the editor window (it looks like three links of chain). In the window that appears, paste the URL into the 'Link URL' field', and click the 'insert' button.

#3 works the same way as #2, but just looks a bit neater. This time, after writing 'Observatory's website', you'd highlight that text. Then, as in #2 you'd click the 'Insert/edit link' icon that is shown below the editor window (it looks like three links of chain). In the window that appears, paste the URL into the 'Link URL' field', and click the 'insert' button.


Hopefully it is straightforward to do, but let me know if you run into any problems.

MrB

PS another tip: after highlighting the text you want to turn into a link, you can press the 'ctrl-k' keys instead of clicking the icon. It's a bit quicker.