link banner to internal article
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.
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.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Mon Aug 27, 2007 4:38 am
link banner to internal article
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.
- ranwilli
- Joomla! Master
- Posts: 19203
- Joined: Sun Feb 19, 2006 6:47 pm
- Location: Toledo, OH
- Contact:
Re: link banner to internal article
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
Stay ON the update path.
https://harpervance.com
-
- Joomla! Apprentice
- Posts: 7
- Joined: Mon Aug 27, 2007 4:38 am
Re: link banner to internal article
ranwilli:
are you saying to put "index.php/http://mysite.com/folder/article"? I kind of need it spelled out for me. Thanks
are you saying to put "index.php/http://mysite.com/folder/article"? I kind of need it spelled out for me. Thanks
- ranwilli
- Joomla! Master
- Posts: 19203
- Joined: Sun Feb 19, 2006 6:47 pm
- Location: Toledo, OH
- Contact:
Re: link banner to internal article
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.
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
Stay ON the update path.
https://harpervance.com
-
- Joomla! Apprentice
- Posts: 7
- Joined: Mon Aug 27, 2007 4:38 am
Re: link banner to internal article
Thanks, worked perfectly! I appreciate your time.
-
- Joomla! Apprentice
- Posts: 39
- Joined: Mon Nov 01, 2010 5:42 pm
Re: link banner to internal article
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.
- ranwilli
- Joomla! Master
- Posts: 19203
- Joined: Sun Feb 19, 2006 6:47 pm
- Location: Toledo, OH
- Contact:
Re: link banner to internal article
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
Stay ON the update path.
https://harpervance.com
-
- Joomla! Apprentice
- Posts: 39
- Joined: Mon Nov 01, 2010 5:42 pm
Re: link banner to internal article
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...
-
- Joomla! Apprentice
- Posts: 39
- Joined: Mon Nov 01, 2010 5:42 pm
Re: link banner to internal article
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
index.php?option=com_content&view=article&id=5
this is what gets saved:
http://index.php?option=com_content&view=article&id=5
- ranwilli
- Joomla! Master
- Posts: 19203
- Joined: Sun Feb 19, 2006 6:47 pm
- Location: Toledo, OH
- Contact:
Re: link banner to internal article
you can include your domain name:
http://yourdomainname.com/index.php?opt ... ticle&id=5
http://yourdomainname.com/index.php?opt ... ticle&id=5
Don't HACK the Joomla! core, Instead "Extend" and/or "Override."
Stay ON the update path.
https://harpervance.com
Stay ON the update path.
https://harpervance.com
-
- Joomla! Apprentice
- Posts: 39
- Joined: Mon Nov 01, 2010 5:42 pm
Re: link banner to internal article
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.