Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member milind's Avatar
    Join Date
    Jan 2006
    Location
    Nasik (Maharashtra), India
    Posts
    113
    cPanel/Enkompass Access Level

    Root Administrator

    Default Sidebar Banner External Link to banner

    Hello all,

    I have created one theme for cPanel and uploaded on the server which include a banner (with hyperlink to website) above notice menubox but the problem is when I click on the image it open URL "http://xxxxxxxx.com:2082/cpsess8349859924/frontend/x3/%E2%80%9Dhttp://www.xxxxxxxxxx.com/cpanelbanner.html%22 instead of opening http://www.xxxxxxxxxx.com/cpanelbanner.html

    Following is the code in index.html
    Code:
    <div id="notices">
    	<h3><cpanel langprint="Special Offers"></h3>
    	<div id="noticeboard">
    	    <a href=”http://www.xxxxxxxx.com/cpanelbanner.html" target=”_blank”><img src=http://www.xxxxxxx.com/images/cpanelbanner.gif /></a>
    	</div>

  2. #2
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default Re: Sidebar Banner External Link to banner

    Is this literally what you have?

    Code:
    <a href=”http://www.xxxxxxxx.com/cpanelbanner.html" target=”_blank”><img src=http://www.xxxxxxx.com/images/cpanelbanner.gif /></a>
    The reason that I ask is that I did not notice it myself until I tried your code on a test server, but you have a different double-quote character after your href= tag than at the end of the link. Look very carefully:

    Code:
    <a href=”
    html"
    The two characters are not the same. It needs to be the " (shift + apostrophe-key on a US keyboard).

    If I surround the link with " characters, not the ” you have at the beginning, the link works as intended.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  3. #3
    Member milind's Avatar
    Join Date
    Jan 2006
    Location
    Nasik (Maharashtra), India
    Posts
    113
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Sidebar Banner External Link to banner

    Thanks for the tip Jared. It really worked.

    Thanks again.

  4. #4
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,066

    Default Re: Sidebar Banner External Link to banner

    You are most welcome! I am happy I was able to help.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

Similar Threads & Tags
Similar threads

  1. plz help me in banner
    By skygirl20 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-04-2011, 10:28 AM
  2. How to Add the banner?
    By roti in forum New User Questions
    Replies: 4
    Last Post: 12-05-2007, 10:22 AM
  3. Banner Help
    By LRMC in forum New User Questions
    Replies: 2
    Last Post: 12-29-2006, 03:59 PM
  4. Entropy Banner How to make it open link in new window?
    By x_789 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-22-2004, 04:45 PM
  5. Banner Creator
    By jackal in forum cPanel Developers
    Replies: 7
    Last Post: 10-26-2003, 01:05 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube