Forums

Add URL Link to Returned Query

JoeKMT 02 Dec, 2010
Hello,
I was wondering if this is possible to do, through CC I am viewing a list of available course dates and would like to have the returned "Course# and Title" be a link to the Course Description article. If possible how would this be done?

Thanks,

Joe

Using ChronoConnectivity 2.0 RC3
GreyHead 02 Dec, 2010
Hi Joe,

You'd need to get the article id linked to the course table somehow; then you can just build the appropriate link in the ChronoConnectivity Body box.

Bob
JoeKMT 02 Dec, 2010
Thanks Bob,
I was excited to get the ChronoConnectivity working with my very limited knowledge so I wouldn't know where to begin to "get the article id linked to the course table somehow". Do you know of someone I can talk with that might be able to help on this.

Thanks,

Joe
GreyHead 02 Dec, 2010
Hi Joe,

How do you know which article belongs to which course?

Bob
JoeKMT 03 Dec, 2010
Hi Bob,
I could add a 'article id field' to my form to include the Joomla id. I was actually thinking about that last night so you may be reading my mind. So if I'm thinking correctly, I can then query that article id to show as a link?

Thanks for your help,

Joe
JoeKMT 03 Dec, 2010
Hi Bob,
Just to let you know I'm reading your Cookbook, chapter 12 on using PHP to create "Select" dropdowns to query the article title and id number in my Course Dates form. I am then assuming this will provide the info I need regarding "what article belongs to which course".
Please let me know if I'm on the right track.

Thanks,

Joe
GreyHead 03 Dec, 2010
Hi joe,

Not strictly speaking. That recipe lets you get the current article title if the form is on an article page. If I understand correctly you need to add the article id to your table and then get that in the ChronoConnectivity query?

Bob
JoeKMT 03 Dec, 2010
Hi Bob,
Yes that is correct, I will know the article id so I can add it to the table through the form and then query it.

Joe
Jason1308 06 Feb, 2011
My question is along this same line. I simply want to know the script for getting a URL to display as a hyperlink instead of plain text. I also need to know how to display an email address as a link and not simply text. I'm not a programmer, so please be specific.😀

Thanks!
GreyHead 06 Feb, 2011
Hi Jason1308,

This is basic HTML - see any decent HTML tutorial, here and here for example.

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger