Welcome, Guest

How do I make an image link to a form?
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: How do I make an image link to a form?

How do I make an image link to a form? 2 years ago #11790

I need to have a button graphic in my navigation bar link to a Breezingform. How do I do that? I can get text links to go to forms, but images with links assigned don't seem to work.

Any help would be appreciated.
Steve
  • topgun21
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0

Re: How do I make an image link to a form? 2 years ago #11821

Can you give us a link to an example? As far as I know, it should be no different than adding a link to any other image, but maybe there's something different in your setup??

Terry
  • terrywmu
  • OFFLINE
  • Administrator
  • Posts: 527
  • Karma: 8

Re: How do I make an image link to a form? 2 years ago #11822

Yes, if you look at this site:
174.120.106.221/~katecomm/index.php

You'll see a red button on the right "Edit Hotline" I'm trying to link it to a breezingform. I made a "custom HTML" module, and inserted the image in the html. Then I hyperlinked it using the long URL to the breezingform. When rendered in the browser, the button links to the wrong page because something within Joomla is removing part of the link and I get a 404 error.

Is there better way to link to a breezingform? I've always used text links in the menu manager and those work fine. But my client is insisting on this button graphic.
  • topgun21
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0

Re: How do I make an image link to a form? 2 years ago #11823

Can you tell me the URL for the actual link to the form?

Thanks,

Terry
  • terrywmu
  • OFFLINE
  • Administrator
  • Posts: 527
  • Karma: 8

Re: How do I make an image link to a form? 2 years ago #11824

terrywmu wrote:
Can you tell me the URL for the actual link to the form?

Thanks,

Terry



174.120.106.221/~katecomm/index.php?option=com_facileforms&Itemid=25
  • topgun21
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0

Re: How do I make an image link to a form? 2 years ago #11826

This suggestion might work for you...

Rather than linking to the form itself, you could add the form as an article to your site (which would maintain your header, etc.) rather than trying to link directly to the form. To do that, you would create an article and then enter the following code as the page content:

{FacileForms: formname}


(obviously replacing 'formname' with your actual form name, taken from the 'Name' field - not the Title - of your form.) Then, publish the article.

Now, if you have a Hidden menu, you can add the article to it. If you DON'T have a hidden menu, you can create it as follows:

  • Go to Administration > Menus > Menu Manager
  • Click the 'New' icon on the upper right-hand side.
  • Fill in the fields - you could use something like this:
    • Unique Name: hidden
    • Title: Hidden Menu
    • Description: Hidden Menu
    • Module Title: hiddenmenu
  • Now go to Menus > Hidden Menu
  • Click on the 'New' icon on the upper right-hand side of the screen.
  • Choose Articles > Article Layout and on the right-hand side, select the article that you just created.
  • On the left-hand side of that screen, you will now see the link which starts with index.php?option=com etc. Copy it.
  • NOW open the module where you added the image. Once on that screen, click on the image and then click on the 'Link' icon above to edit the URL.
  • Delete the existing URL and paste in the one you just copied, then save.
  • Now try it and see if that works. If not, give me a shout.

Hope this helps!

Terry
  • terrywmu
  • OFFLINE
  • Administrator
  • Posts: 527
  • Karma: 8
  • Page:
  • 1
  • 2
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.43 seconds

About

Crosstec GmbH & Co. KG

Bergisch-Gladbacher-Str. 829

51069 Cologne, Germany