• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Adding a website link

Adding a website link 10 years 2 months ago #26499

  • graham05
  • graham05's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Could anyone please help. I would like to add a field where the user can add a website address as an active link.

Tried various fields and nothing seems to work, any help appreciated.

Regards

Graham
The administrator has disabled public write access.

Adding a website link 10 years 2 months ago #26507

  • ssegerstedt
  • ssegerstedt's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 2
What I got from the support desk was

<div><strong>Website:</strong><a href="{website-address}" target="new">{website-address}</a></div>

and it works the only thing is you have to go to the description template box, click on Tools, source code and edit it there. Hope that helps.
The administrator has disabled public write access.
The following user(s) said Thank You: graham05, gina.crainic

Adding a website link 10 years 3 weeks ago #26962

  • kateydid
  • kateydid's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
i got these full instructions from support, just posting in case it helps someone else:


- first you will need to create a textbox field where the actual URL will be inserted. This is done from Components > RSDirectory! > Fields > New;
- after this is done you will need to go to Components > RSDirectory! > Forms and select your desired form;
- in the form configuration set the "Use description template" option to `YES`;
- in the "Description template" add the previously mentioned syntax:

<a href="{textbox-name}"> {textbox-name} </a> (make sure you insert this in code view not text editor)

you will need to use the exact name of the textbox you have created previously;
- after this is done you will need to re-generate the description. This is done by going to Components > RSDirectory! > Tools, selecting the form and description elements and clicking the `Start` button.
The administrator has disabled public write access.

Adding a website link 10 years 1 week ago #27082

  • ianpics
  • ianpics's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
can this be done for anywhere other than the description ...i.e. small subtitle ??
Thank you
The administrator has disabled public write access.

Adding a website link 9 years 11 months ago #27408

this is not working for me at all.
The administrator has disabled public write access.

Adding a website link 9 years 11 months ago #27422

  • alexp
  • alexp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 2253
  • Thank you received: 180
thecorsican wrote:
this is not working for me at all.

Can you please be more precise on this ? Perhaps share an URL so we can have a look at what exactly have you tried to implement ?
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Adding a website link 9 years 5 months ago #29374

  • ralphd
  • ralphd's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
Did anyone get this working, if so how.
The administrator has disabled public write access.

Adding a website link 9 years 5 months ago #29397

  • cosmin.cristea
  • cosmin.cristea's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 756
  • Thank you received: 144
My help is not official customer support. To receive your support, submit a ticket by clicking here
The administrator has disabled public write access.
The following user(s) said Thank You: wdiggles

Adding a website link 9 years 4 months ago #29443

  • weredigi
  • weredigi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
cosmin.cristea wrote:
Would be great if you included in the tutorial the syntax needed to display the website url with out defaulting to the website

i used <a href="http://{WebSite}"> {WebSite} </a> which works fine
or to use your format
<a href="http://{linkto}"> {linkto}
The administrator has disabled public write access.

Adding a website link 9 years 4 months ago #29444

  • weredigi
  • weredigi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Here's what you need it's missing from the tutorial if you using external link

Would be great if it was included in the tutorial as if not it defaults to the website the directory is on.

I used: <a href="http://{WebSite}"> {WebSite} </a> which works fine
or to use rsjoomla tutorial example
<a href="http://{linkto}"> {linkto}

Not you need to add the portion "http://" with in the quotes of your href to have it work for external links
The administrator has disabled public write access.

Adding a website link 9 years 3 weeks ago #30747

  • cdwc
  • cdwc's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
that doesnt work for me..
<a href="http://{WebSite}"> {WebSite} </a>
or
<a href="http://{linkto}"> {linkto}

i made a new field, called it linkto, inserted it in subtitle template.... dont work..
The administrator has disabled public write access.

Adding a website link 8 years 8 months ago #31857

Right now this is very clearly not working in the Small subtitle template. It does work in the Description template. I used the exact same syntax in both at the same time to test this. This is what I used;

<div><a href="{Website}">Visit our Website</a></div>

I also tried it in the Small subtitle template, without <div> tags, and it still did not work in that location. There seems to be a problem here.
The administrator has disabled public write access.

Adding a website link 8 years 8 months ago #31903

Here is the solution for adding a website link to the Small subtitle template.

Step 1. Ensure that html is enabled for the template. Go to; Components>RS Directory>Fields>small-subtitle. In the "General" tab, scroll down to "Allow HTML" and click "Yes". Save and Close.

Step 2. Insert your URL. Go to; Components>RS Directory>Your Form. Choose the "Layout" tab. Scroll to "Use small subtitle template". Click "Yes" and the template entry area will appear. Insert the following code; <a href="{name-of-your-website-field}">Your anchor text</a>. Save and close.

Step 3. Regenerate form. Go to; Components>RS Directory!>Tools. Select the "Regenerate titles" tab. Select Your Form, under the "Select Form(s)" check-box. Select Small subtitle, under the "Elements" check-box. Click the "Start" button. A pop-over will appear. Click the "OK"button.

Once you've done all of that, the link will work correctly in the Small subtitle template.
Last Edit: 8 years 8 months ago by accounts65. Reason: revision
The administrator has disabled public write access.

Adding a website link 7 years 8 months ago #35599

  • webadmin24
  • webadmin24's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
I wanted to open this topic again as I this was working fine for me, thanks to the posts here, but now it seems to have broken. I don't know if it was due to an update from RS Directory or one from Joomla.

The syntax I have in the form is <a href="{congregationalwebsite}" target="_blank">{title} Website</a>. The field {congregationalwebsite} is the weblink with instructions to be written with http or https, which is what I have used in testing the field. It was appearing fine and the link was opening to a new window.

At some point after one of the upgrades (as I said, I am not sure if it was RS Directory or Joomla or what), this no longer resulted in a clickable link. What now appears is something like this in the directory listing:

WWW.EXTERNALWEBSITE.ORG/" TARGET="_BLANK">EXTERNAL WEBSITE

The first part of this, the WWW.EXTERNALWEBSITE.ORG/ is a clickable link, but not to an external link, but rather a page on our website that does not exist. The link in our case is to www.nacar.org/%3Ca%20href=.

Nothing after that is a link and appears as I have entered it here, including the everything from TARGET on forward.

I have tired everything listed here in the forum and everything suggested here: https://www.rsjoomla.com/support/documentation/rsdirectory/frequently-asked-questions/how-to-create-a-clickable-link-in-rsdirectory.html

As I said, it was all working great before.

Thanks for any assistance.
The administrator has disabled public write access.

Adding a website link 7 years 8 months ago #35621

  • webadmin24
  • webadmin24's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
I just wanted to add a bit to the post here and the problem I am having. I have found a "work-around," but have not solved the issue yet.

If I leave it just as a website field and not put in any code (e.g., href), the website automatically gets converted to a link. That is why when I do use a code, the first website address, what should be the href, is getting converted to a link and the rest of the code after that is messed up.

My "work-around" is to just leave the link as is. The only problem here is I cannot insert the target code so that the link opens in a new tab/window and I cannot create a link other than one that had the http:// or https:// before the link. I wish I knew whether it is RS Directory that is automatically changing it to a link or something else in Joomla. If anyone knows I would deeply appreciate it.

Thanks!
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!