Page 1 of 2

How to remove the article title in the read more link?

Posted: Wed Mar 18, 2009 1:49 pm
by MThierry64
Hi,

I'm looking for a way to disable the fact that we see the article title included in the button "read more" at the end of the article samples displayed in the greeting page of my website:

http://www.mairie-les-arcs-sur-argens.fr (in French, read more is "lire la suite").

I'm on Joomla 1.5.9 (even though it keeps displaying 1.5.8, I don't know why...) and am using mixxmag rocket theme template.

It is annoying because, according to the title's size that is in the read more link, it can change the display of the article.

Thierry.

Re: How to remove the article title in the read more link?

Posted: Wed Mar 18, 2009 9:49 pm
by DeanJP
I am having the same problem...I have read that using the sh404SEF component, there is anoption where you can select to remove the title sat next to Read more: 'title'. However, when i applied this setting, the titles were still there.

I am using Beez template to override. I have found where the read more functions are situated, but i dont know PHP very well and dont want to fiddle with an core lookup code.

Does anyone know any other method to do this? Any code I can remove to get rid of article title???

Re: How to remove the article title in the read more link?

Posted: Wed Mar 18, 2009 10:40 pm
by Webdongle
All i can see is the Login page. But if i understand you correctly then the answer you need is in the Article Parameters. Edit the Article and check out the Parameters (Advanced) at the bottom.

I hope that is what you need.

Re: How to remove the article title in the read more link?

Posted: Wed Mar 18, 2009 11:03 pm
by DeanJP
No because in the parameters you can only totally remove the 'Read More' link or show it. I want the title that appears after this 'Read More' link to be rid of. There is no option for this :(

Thanks for trying though

Re: How to remove the article title in the read more link?

Posted: Thu Mar 19, 2009 8:10 am
by Webdongle
Scank wrote:No because in the parameters you can only totally remove the 'Read More' link or show it. I want the title that appears after this 'Read More' link to be rid of. There is no option for this :(

Thanks for trying though
If you can do a screen shot so that i can understand what you mean ?

Re: How to remove the article title in the read more link?

Posted: Thu Mar 19, 2009 8:22 am
by MThierry64
Oh yeah, that's right, I'm afraid I cannot display the website so far because its owner does not want me to. Sorry, forgot about that.

And yeah, seems like in the advanced parameters, all we can do is remove or display the read more link, but we cannot configure it obviously.

This is the first time I have this issue and I suspect it is linked to mixxmag template. So, if you want to reproduce my issue, you might want to install it perhaps.

I also have read that post about configuring sef: http://forum.joomla.org/viewtopic.php?f=469&t=285831
But I haven't found what parameter it could be.

Also, I have seen a forum where they helped you "adding" that title to the read more link: http://docs.joomla.org/Add_article_titl ... _more_link

But nothing about removing it and in all the files mentionned at that link, I have this command line already: echo JText::sprintf('Read more...');

So, I'm confused as it should thus not display the title according to what they say.

Thanks in advance if anybody has got any idea.

Re: How to remove the article title in the read more link?

Posted: Thu Mar 19, 2009 8:27 am
by MThierry64
I have put the website temporarily back online so you can look at my read more links.

Hope this helps.

Re: How to remove the article title in the read more link?

Posted: Thu Mar 19, 2009 8:48 am
by mcsmom
It's important to have text in the readmore link because visually impaired people need to be able to differentiate between all of the possible "read more" links on your page.

Re: How to remove the article title in the read more link?

Posted: Thu Mar 19, 2009 8:55 am
by MThierry64
It has never been a requirement in the previous websites I have done really because those read more links are attached to the very article they are in. It is annoying because this link can easily take too lines if the title attached to it is too long.

Re: How to remove the article title in the read more link?

Posted: Thu Mar 19, 2009 9:32 am
by DeanJP
The parameter in the sh404SEF component is u nder the header; Meta/SEO, it simply says 'Remove article title next to Read More... link'.

However because I have made my own template, this may effect it, because when i select to not view the title, it still does not get rid of it!! AAHHH!!!

Can anyone tell me specific code to remove in order to remove the title next to the read more link. How do the professional joomla templaters do it? Because from memory none of them have title next to read more!

Re: How to remove the article title in the read more link?

Posted: Thu Mar 19, 2009 10:40 am
by Webdongle
If placing your own text in the 'Alternative readmore text' box does not do it try looking in your language .ini file

I altered the text in mine manualy joomladirectory/language/en-GB/en-gb.ini I put xxxx after what was there and it showed up on the pagee as "Read more... xxxx".

Will keep looking for an answer.

Re: How to remove the article title in the read more link?

Posted: Thu Mar 19, 2009 11:09 am
by MThierry64
I don't seem to have that "Alternative readmore text" neither in en-gb.ini or fr-fr.ini files.

I have:

READMORE=Lire la suite.
READ MORE...=Lire la suite...

But even by editting this, it does not change anything. I have created a new article and the read more link hasn't even changed with what I edited...

Also, I don't think I have anything any header in the sh404SEF component such as: Meta/SEO. Or maybe I don't know the configuration panel of Joomsef well enough.

Again, thanks all for your help.

Re: How to remove the article title in the read more link?

Posted: Thu Mar 19, 2009 11:26 am
by Jan M
Hi,
Might this thread help at all?
http://forum.joomla.org/viewtopic.php?t=227508
Regards,
Jan M

Re: How to remove the article title in the read more link?

Posted: Thu Mar 19, 2009 12:10 pm
by Webdongle
Jan M wrote:Hi,
Might this thread help at all?
http://forum.joomla.org/viewtopic.php?t=227508
Regards,
Jan M
I doubt if that is what he wants, that just alters the display.

As altering the text did not work, then your template .css has a custom definition that overides the normal readmore.

look for 'a.readon' in your template either edit it or comment out the class. Then see what the read more >> link shows.

If you can attach your template .css file i will have a look. Attach all the template files and i will have a play around with the template on my site with my content.

Re: How to remove the article title in the read more link?

Posted: Thu Mar 19, 2009 12:57 pm
by MThierry64
I have played with the a.readon with no luck.

Here is my template.css file but I doubt the answer is in this file or I think I would have found it with firebug.

Re: How to remove the article title in the read more link?

Posted: Thu Mar 19, 2009 6:22 pm
by DeanJP
Ok thanks to webDongle!

I have found the solution to this problem... Simple as said >

Goto Article Manager > Select your article which displays the read more link.

Where it says 'alternative read more text' simple put there whatever you like!! Then it will appear instead of read more: article title.

Woo!! Cannot belive how easy that was.

Re: How to remove the article title in the read more link?

Posted: Thu Mar 19, 2009 6:41 pm
by Webdongle
Scank wrote:Ok thanks to webDongle!

I have found the solution to this problem... Simple as said >

Goto Article Manager > Select your article which displays the read more link.

Where it says 'alternative read more text' simple put there whatever you like!! Then it will appear instead of read more: article title.

Woo!! Cannot belive how easy that was.
Yes but that only works on some templates. Beez and Ja_purity have a folder in them called 'html', within that folder are mods and coms specialised.

the default_item.php file found in /templates/ja_purity/html/com_content/frontpage/ contains code that overwrites joomla.

And so does /templates/beez/html/com_content/frontpage/

So the answer to MThierry64's question is edit the functions in ..... /templates/yourtemplate/html/com_content/frontpage/default_item.php

Re: How to remove the article title in the read more link?

Posted: Fri Mar 20, 2009 12:26 am
by MThierry64
Thank you very much Webdongle!

The line to change is line number 124:

echo JText::sprintf('Read more', $this->item->title);

to

echo 'Read more';

And you get rid of the title in the "read more" link.
You are a Joomla! expert :)

Re: How to remove the article title in the read more link?

Posted: Sat Mar 21, 2009 2:21 am
by mcsmom
Don't edit the file, copy the file to the template html folder and edit it there.
Otherwise you will lose the changes when there is an update.

Re: How to remove the article title in the read more link?

Posted: Mon Mar 23, 2009 8:35 am
by MThierry64
Thanks for the tip mcsmom.
I have copied that default_item.php file to mixxmag/html/ folder but none of the changes I was doing to that line 124 would have any effect.

Did I miss anything?

Re: How to remove the article title in the read more link?

Posted: Mon Mar 23, 2009 7:40 pm
by mcsmom
Did you include the component folder?

See /templates/beez/html/com_content/frontpage/ in Webdongle's post.

Re: How to remove the article title in the read more link?

Posted: Mon Mar 23, 2009 9:09 pm
by MThierry64
I'm sorry but I'm confused now.

/templates/<my_template>/html/com_content/frontpage/ is where I can find the file that I have modified.

Where exactly do you think I should copy it to in order to then edit it?

Re: How to remove the article title in the read more link?

Posted: Tue Mar 24, 2009 3:30 am
by Webdongle
MThierry64 wrote:I'm sorry but I'm confused now.

/templates/<my_template>/html/com_content/frontpage/ is where I can find the file that I have modified.

Where exactly do you think I should copy it to in order to then edit it?
I suggest that you edit it on th server with Notepad. You can do this by selecting Notepad as the default editor in your FTP program, then right click the file.... edit ..... and upload.

Then on you PC create a folder call Templates in your working directory and download the rocket theme folder and all its files to that. Then you have a back up in a corrisponding folder.

Re: How to remove the article title in the read more link?

Posted: Tue Mar 24, 2009 8:45 am
by MThierry64
Oh, I have that already :)
Always keep a backup of your website, especially when you manipulate its code.

Thanks for your help everybody!

As a side note, I have another issue, with Artforms: http://forum.joomla.org/viewtopic.php?f=471&t=361856 see last post. Nobody yet has come up with any idea, so, if any of you hasn't seen it yet, I wouldn't mind if you could get a quick look at it and see if you've already come across such an issue.

Re: How to remove the article title in the read more link?

Posted: Tue Apr 28, 2009 2:26 am
by normdouglas
Seems this problem has only started happening after 1.5.10

I too have experienced this issue with a custom template of mine, that to my knowledge didn't do this prior to 1.5.10.

Thanks all for the information.

Re: How to remove the article title in the read more link?

Posted: Tue Apr 28, 2009 7:03 am
by MThierry64
It occured prior to 1.5.10 for me, if you see the date this thread has been created, Joomla was at 1.5.9 at that time.

Re: How to remove the article title in the read more link?

Posted: Wed Sep 16, 2009 7:54 pm
by Plunk
I have a strange example:
http://www.allergie-weg.nl/index.php/Getuigenissen/

1 article has a readmore without titel. All the others have a title.
The one without title is copied 2 times for testing. Both copies carry title, original does not!???

I compared original and copies, can't find any differences (exept id).

Re: How to remove the article title in the read more link?

Posted: Thu Sep 17, 2009 6:54 pm
by Plunk
Do more people here use joomlacomment?

Because if I turn off plugin "Content - !JoomlaComment", something alters: the only article without title now also gets a title...
Vvery confusing!!!

Re: How to remove the article title in the read more link?

Posted: Fri Sep 18, 2009 6:23 pm
by Plunk
solved my problem

uninstalled component sh404sef completely...

Re: How to remove the article title in the read more link?

Posted: Tue Jan 03, 2012 8:30 am
by coolbuddyrams
Here is where I made the change in sh404sef:

Configuration > Meta/SEO tab > Insert title in Read more ... links (= no)

This solved my problem with Joomla 1.5.25. Thanks a lot.