Welcome to Geeklog, Anonymous Monday, May 06 2024 @ 09:39 am EDT

Geeklog Forums

How do I create a hyperlink for an image in an article?


Michael

Anonymous
How do I create this hyperlink for an image in my article? They image shows.. but no hyperlink.

Text Formatted Code
<a title="Google" href="http://www.google.com"></a>[image2_right]


Thanks,
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
If it is 1 picture it should work like this in story editor setting 'html'
Text Formatted Code
<a title="Google" href="http://www.google.com">[image1_right]</a>
 Quote

Michael

Anonymous
Thanks 1000.

Can you not have these links open in a new window?
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hi Michael,

Text Formatted Code
<a title="Google" href="http://www.google.com" target="_blank">[image1_right]</a>


::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Michael

Anonymous
I know that's normally how it's done.. but I asked the question because that doesn't work for me. It removes the target="_blank" when I save.
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Michael,

In the Config >> Miscellaneous >> HTML filtering: you can set Skip HTML Filter for Root to true to allow you all html.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Michael

Anonymous
Perfect! You fixed my other problem of not being able to use adsense in articles, as well. Looks great now. Many thanks!
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Michael, putting Adsense in you articles is easier if you use the Autotags plugin. This plugin allows you to make an autotag like [adsense-rectangle:] or [adsense-banner:] which generates the Adsense code which you stored in the Autotags admin.
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Michael

Anonymous
Quote by: beewee

Michael, putting Adsense in you articles is easier if you use the Autotags plugin. This plugin allows you to make an autotag like [adsense-rectangle:] or [adsense-banner:] which generates the Adsense code which you stored in the Autotags admin.



Thank you!! Great tip that I was unaware of!
 Quote

All times are EDT. The time is now 09:39 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content