Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • Aratype Friend
    #170347

    I try to do a small link in the introduction text but it does not accept to do this….

    Could be so kind as to indicate me the code that I have to add in order to let it accept a link…

    http://www.aratypo.net

    Thanking you in advance,

    Aratype

    khoand Friend
    #423181

    I tested it and it works normally. Example: my contenslider module uses articles of From our journal category. I add a link http://www.google.com.vn into Harry Potter and the Deathly article (of From our journal) by
    – edit the article
    – click toggle edit button to switch HTML edit mode
    – add this code

    <a href="http://www.google.com.vn">http://www.google.con.vn</a>
    before

    <hr id="system-readmore" />
    like that

    <p><img src="images/sampledata/erio/sam_sc_1.jpg" border="0" alt="Sample image" /></p>
    <p>Sed ipsum enim, <a href="http://www.google.com.vn">http://www.google.con.vn</a>, mollis eu pellentesque a, ullamcorper at sem. Mauris eugiat, dui vel cursus elementum, nulla metus bibendum neque, in tincidunt tellus lorem vitae metus. Nulla a ante urna. Suspendisse sed dui vel risus sollicitudin commodo.</p>
    <hr id="system-readmore" />

    Aratype Friend
    #423182

    Thank you, what I mean is:

    in the intro text of this article “Sed ipsum enim, mollis eu pellentesque a, ullamcorper at sem. Mauris eugiat, dui vel cursus elem”

    I want to add an external link to one word for example, let us say “ullamcorper”…

    I added a link in the backside with the text editor but it does not appear in the frontside

    khoand Friend
    #423183

    Ok. You just follow my way. You click toggle edit button to switch HTML edit mode, and change

    ullamcorper
    with

    <a href="external link">ullamcorper</a>
    How do you do? What article do you change? Could you give me username+password of your backend to check it?

    Aratype Friend
    #423189

    Thank you… This what I did and I see the link when I open the article… However it does not appear in the intro text in the home page

    In the article:

    In the intro:

    I am sure that we have to add a code to the mod_jacontentslider.css in order that intro text show an active link inside…

    khoand Friend
    #423193

    What version of joomla and contentslider do you use?

    Aratype Friend
    #423195

    Joomla 1.72

    contentslider with the JA pack… the last one I think as I update my files.

    JA Contenslider module for Joomla 1.7 Date: 10-01-2011 Version: 1.1.5

    khoand Friend
    #423292

    It’s weird. Because I still uses same version. Could you give me username+password of your backend and ftp to check it?

    Aratype Friend
    #423311

    Thank you Khoand,

    My colleagues request me to not maintain this possibility as it will not be correct to use it for “read more…” in the intro text.

    However, I would like to know how it is possible to let the intro text does as the title: when the mouse on it becomes in blue/active link and one opens the article upon clicking on it…

    My idea is to open the article without having “read more…” in the intro text… This is a good economy of space…

    I hope it is clear for you.

    Thanking you in advance.

    khoand Friend
    #423412

    You replace this code from /templates/ja_erio/html/mod_jacontentslider/default.php


    <div class="ja_slideintro"> <?php echo ( $params->get('numchar') ) ? $contn->introtext1 : $contn->introtext; ?> </div>

    with


    <div class="ja_slideintro"> <?php echo '<a href="'.$link.'" title="">'.(( $params->get('numchar') ) ? $contn->introtext1 : $contn->introtext).'</a>'; ?> </div>

    Aratype Friend
    #423438

    Khoand, this is excellent, many thanks…

    This is almost what I need, only I would like to have the text in black and when the mouse is on it, it will become in blue… As in the title….

    As you can understand, it is easier to reader to have the text in black!

    khoand Friend
    #423442

    You add this code into template.css


    div.ja_slideintro a {
    color: #222;
    font-weight: 100;
    }
    div.ja_slideintro a:hover, div.ja_slideintro a:focus, div.ja_slideintro a:active {
    color: #3EA3D2;
    }

    Aratype Friend
    #423445

    Many thanky Khoand, I hope that JArt team will find this idea interesting… We do not need now to add read more space as one can open the article from the image, title & introtext!

    osola Friend
    #528236

    I have the same problem but this is not my solution, in your solution i will get a link with the text inserted, and i need put a text and a link.

    my text is for exapmle: Hello to my <a href=”external link google maps”>home</a>

    thanks!!

    Saguaros Moderator
    #528304
Viewing 15 posts - 1 through 15 (of 15 total)

This topic contains 15 replies, has 4 voices, and was last updated by  Saguaros 10 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum