link banner to internal article

This forum is for general questions about extensions for Joomla! version 1.5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
kenjnz
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Mon Aug 27, 2007 4:38 am

link banner to internal article

Post by kenjnz » Sun Jan 23, 2011 3:02 am

I need to link a banner to an internal article. I see the "click URL" parameter but I am not sure what to enter in to link to the particular article.

User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 19203
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

Re: link banner to internal article

Post by ranwilli » Sun Jan 23, 2011 3:22 am

the url, starting with "index.php"
Don't HACK the Joomla! core, Instead "Extend" and/or "Override."
Stay ON the update path.
https://harpervance.com

kenjnz
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Mon Aug 27, 2007 4:38 am

Re: link banner to internal article

Post by kenjnz » Sun Jan 23, 2011 4:08 am

ranwilli:
are you saying to put "index.php/http://mysite.com/folder/article"? I kind of need it spelled out for me. Thanks

User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 19203
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

Re: link banner to internal article

Post by ranwilli » Sun Jan 23, 2011 4:20 am

No.

your url would be something like:

index.php?option=com_content&view=article&id=XX&Itemid=XX

the best place to get this is the menu item that calls that article.
Don't HACK the Joomla! core, Instead "Extend" and/or "Override."
Stay ON the update path.
https://harpervance.com

kenjnz
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Mon Aug 27, 2007 4:38 am

Re: link banner to internal article

Post by kenjnz » Sun Jan 23, 2011 4:40 am

Thanks, worked perfectly! I appreciate your time.

irosas
Joomla! Apprentice
Joomla! Apprentice
Posts: 39
Joined: Mon Nov 01, 2010 5:42 pm

Re: link banner to internal article

Post by irosas » Thu Feb 05, 2015 8:11 pm

I also want to use banners to link to internal pages, but, I have SEF URL's set to yes. I am trying to enter a URL such as: /pageiwanttolinkto, but it ain't working. What is the format of the URL that I must enter for a banner to point to an internal page when SEF URLs are in use? I am using Joomla 3.3.6. Thanks.

User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 19203
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

Re: link banner to internal article

Post by ranwilli » Thu Feb 05, 2015 8:16 pm

index.php?option=com_content&view=article&id=XX
Don't HACK the Joomla! core, Instead "Extend" and/or "Override."
Stay ON the update path.
https://harpervance.com

irosas
Joomla! Apprentice
Joomla! Apprentice
Posts: 39
Joined: Mon Nov 01, 2010 5:42 pm

Re: link banner to internal article

Post by irosas » Thu Feb 05, 2015 9:10 pm

Hi! Thanks for the quick response. When I enter that code you wrote, with the ID filled in for the article I want to open, and the extra characters removed ("amp"and ";", etc) so that it looks like a joomla link, and I go to save it, the click url field adds http:// before index.php... consequently, when I go to the site, the link doesn't work...

irosas
Joomla! Apprentice
Joomla! Apprentice
Posts: 39
Joined: Mon Nov 01, 2010 5:42 pm

Re: link banner to internal article

Post by irosas » Thu Feb 05, 2015 9:11 pm

this is what I type:
index.php?option=com_content&view=article&id=5
this is what gets saved:
http://index.php?option=com_content&view=article&id=5

User avatar
ranwilli
Joomla! Master
Joomla! Master
Posts: 19203
Joined: Sun Feb 19, 2006 6:47 pm
Location: Toledo, OH
Contact:

Re: link banner to internal article

Post by ranwilli » Thu Feb 05, 2015 9:31 pm

Don't HACK the Joomla! core, Instead "Extend" and/or "Override."
Stay ON the update path.
https://harpervance.com

irosas
Joomla! Apprentice
Joomla! Apprentice
Posts: 39
Joined: Mon Nov 01, 2010 5:42 pm

Re: link banner to internal article

Post by irosas » Fri Feb 06, 2015 11:54 am

Ah! I guess that is what I was trying to avoid. I am working on localhost on my PC and was trying to avoid absolute links... From your answer, I guess there's no way around it... Thanks, I'll do that.


Locked

Return to “Extensions for Joomla! 1.5”