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

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
MThierry64
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Feb 13, 2009 1:15 pm

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

Post by MThierry64 » Wed Mar 18, 2009 1:49 pm

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.

User avatar
DeanJP
Joomla! Intern
Joomla! Intern
Posts: 84
Joined: Sun Sep 21, 2008 8:28 pm
Location: UK, Dorset

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

Post by DeanJP » Wed Mar 18, 2009 9:49 pm

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???

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44067
Joined: Sat Apr 05, 2008 9:58 pm

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

Post by Webdongle » Wed Mar 18, 2009 10:40 pm

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.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
DeanJP
Joomla! Intern
Joomla! Intern
Posts: 84
Joined: Sun Sep 21, 2008 8:28 pm
Location: UK, Dorset

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

Post by DeanJP » Wed Mar 18, 2009 11:03 pm

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

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44067
Joined: Sat Apr 05, 2008 9:58 pm

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

Post by Webdongle » Thu Mar 19, 2009 8:10 am

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 ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

MThierry64
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Feb 13, 2009 1:15 pm

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

Post by MThierry64 » Thu Mar 19, 2009 8:22 am

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.

MThierry64
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Feb 13, 2009 1:15 pm

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

Post by MThierry64 » Thu Mar 19, 2009 8:27 am

I have put the website temporarily back online so you can look at my read more links.

Hope this helps.

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

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

Post by mcsmom » Thu Mar 19, 2009 8:48 am

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.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

MThierry64
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Feb 13, 2009 1:15 pm

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

Post by MThierry64 » Thu Mar 19, 2009 8:55 am

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.

User avatar
DeanJP
Joomla! Intern
Joomla! Intern
Posts: 84
Joined: Sun Sep 21, 2008 8:28 pm
Location: UK, Dorset

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

Post by DeanJP » Thu Mar 19, 2009 9:32 am

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!

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44067
Joined: Sat Apr 05, 2008 9:58 pm

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

Post by Webdongle » Thu Mar 19, 2009 10:40 am

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.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

MThierry64
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Feb 13, 2009 1:15 pm

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

Post by MThierry64 » Thu Mar 19, 2009 11:09 am

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.

Jan M
Joomla! Explorer
Joomla! Explorer
Posts: 252
Joined: Thu Oct 09, 2008 10:31 am

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

Post by Jan M » Thu Mar 19, 2009 11:26 am

Hi,
Might this thread help at all?
http://forum.joomla.org/viewtopic.php?t=227508
Regards,
Jan M

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44067
Joined: Sat Apr 05, 2008 9:58 pm

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

Post by Webdongle » Thu Mar 19, 2009 12:10 pm

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.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

MThierry64
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Feb 13, 2009 1:15 pm

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

Post by MThierry64 » Thu Mar 19, 2009 12:57 pm

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.
You do not have the required permissions to view the files attached to this post.

User avatar
DeanJP
Joomla! Intern
Joomla! Intern
Posts: 84
Joined: Sun Sep 21, 2008 8:28 pm
Location: UK, Dorset

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

Post by DeanJP » Thu Mar 19, 2009 6:22 pm

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.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44067
Joined: Sat Apr 05, 2008 9:58 pm

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

Post by Webdongle » Thu Mar 19, 2009 6:41 pm

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
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

MThierry64
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Feb 13, 2009 1:15 pm

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

Post by MThierry64 » Fri Mar 20, 2009 12:26 am

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 :)

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

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

Post by mcsmom » Sat Mar 21, 2009 2:21 am

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.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

MThierry64
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Feb 13, 2009 1:15 pm

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

Post by MThierry64 » Mon Mar 23, 2009 8:35 am

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?

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

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

Post by mcsmom » Mon Mar 23, 2009 7:40 pm

Did you include the component folder?

See /templates/beez/html/com_content/frontpage/ in Webdongle's post.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

MThierry64
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Feb 13, 2009 1:15 pm

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

Post by MThierry64 » Mon Mar 23, 2009 9:09 pm

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?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44067
Joined: Sat Apr 05, 2008 9:58 pm

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

Post by Webdongle » Tue Mar 24, 2009 3:30 am

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.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

MThierry64
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Feb 13, 2009 1:15 pm

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

Post by MThierry64 » Tue Mar 24, 2009 8:45 am

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.

User avatar
normdouglas
Joomla! Hero
Joomla! Hero
Posts: 2654
Joined: Fri Jan 20, 2006 11:37 am
Location: Geelong Australia

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

Post by normdouglas » Tue Apr 28, 2009 2:26 am

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.
Step1. Read the instructions. Step2. Refer to step 1. Step 3. Backup

MThierry64
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Feb 13, 2009 1:15 pm

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

Post by MThierry64 » Tue Apr 28, 2009 7:03 am

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.

User avatar
Plunk
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 147
Joined: Fri Oct 31, 2008 8:03 am

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

Post by Plunk » Wed Sep 16, 2009 7:54 pm

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).
Once I start asking questions, I usually find the answers myself.

User avatar
Plunk
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 147
Joined: Fri Oct 31, 2008 8:03 am

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

Post by Plunk » Thu Sep 17, 2009 6:54 pm

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!!!
Once I start asking questions, I usually find the answers myself.

User avatar
Plunk
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 147
Joined: Fri Oct 31, 2008 8:03 am

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

Post by Plunk » Fri Sep 18, 2009 6:23 pm

solved my problem

uninstalled component sh404sef completely...
Once I start asking questions, I usually find the answers myself.

coolbuddyrams
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Fri Oct 14, 2011 3:22 pm

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

Post by coolbuddyrams » Tue Jan 03, 2012 8:30 am

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.


Locked

Return to “General Questions/New to Joomla! 1.5”