-
AuthorPosts
-
Aratype Friend
Aratype
- Join date:
- August 2007
- Posts:
- 797
- Downloads:
- 41
- Uploads:
- 60
- Thanks:
- 194
- Thanked:
- 98 times in 6 posts
November 3, 2011 at 1:32 pm #170347I 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…
Thanking you in advance,
Aratype
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 4, 2011 at 6:46 am #423181I 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 FriendAratype
- Join date:
- August 2007
- Posts:
- 797
- Downloads:
- 41
- Uploads:
- 60
- Thanks:
- 194
- Thanked:
- 98 times in 6 posts
November 4, 2011 at 6:58 am #423182Thank 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 Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 4, 2011 at 7:11 am #423183Ok. 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 FriendAratype
- Join date:
- August 2007
- Posts:
- 797
- Downloads:
- 41
- Uploads:
- 60
- Thanks:
- 194
- Thanked:
- 98 times in 6 posts
November 4, 2011 at 7:31 am #423189Thank 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 Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 4, 2011 at 7:58 am #423193What version of joomla and contentslider do you use?
Aratype FriendAratype
- Join date:
- August 2007
- Posts:
- 797
- Downloads:
- 41
- Uploads:
- 60
- Thanks:
- 194
- Thanked:
- 98 times in 6 posts
November 4, 2011 at 8:02 am #423195Joomla 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 Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 5, 2011 at 4:50 am #423292It’s weird. Because I still uses same version. Could you give me username+password of your backend and ftp to check it?
Aratype FriendAratype
- Join date:
- August 2007
- Posts:
- 797
- Downloads:
- 41
- Uploads:
- 60
- Thanks:
- 194
- Thanked:
- 98 times in 6 posts
November 5, 2011 at 9:42 am #423311Thank 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 Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 6, 2011 at 12:17 pm #423412You 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>
1 user says Thank You to khoand for this useful post
Aratype FriendAratype
- Join date:
- August 2007
- Posts:
- 797
- Downloads:
- 41
- Uploads:
- 60
- Thanks:
- 194
- Thanked:
- 98 times in 6 posts
November 6, 2011 at 4:13 pm #423438Khoand, 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 Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
Aratype FriendAratype
- Join date:
- August 2007
- Posts:
- 797
- Downloads:
- 41
- Uploads:
- 60
- Thanks:
- 194
- Thanked:
- 98 times in 6 posts
November 6, 2011 at 5:01 pm #423445Many 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 Friendosola
- Join date:
- June 2012
- Posts:
- 37
- Downloads:
- 42
- Uploads:
- 7
- Thanks:
- 11
- Thanked:
- 1 times in 1 posts
March 26, 2014 at 11:05 am #528236I 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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 27, 2014 at 4:37 am #528304Module may strip out the <a> tag, please try to follow this thread: http://www.joomlart.com/forums/topic/why-do-the-module-and-artcile-intros-strip-out-all-my-formatting/#post-521952
1 user says Thank You to Saguaros for this useful post
-
AuthorPosts
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