Recent Topics

Modifying the appearance of the horrible "Read More&quo

Started by on Feb 17, 2005 – Contents updated: Feb 17, 2005

Feb 17, 2005 15:15    

Hi!

How to modify the appearance of that horrible "Read More" icon?

Thank you very much

Feb 17, 2005 15:29

/img/smilies/icon_arrow.gif

;)

Feb 17, 2005 15:30

Not sure what horrible icon you are talking about - but....

To change any image on your site -

right click the image and select properties - note down the full path to the image and the name of the image eg horrible.gif

make a new image in your chosen application - photoshop, paint shop or just plain paint.

save that new image with the same name that you want to replace - horrible.gif.

Open your ftp program and find the folder where horrible.gif is and upload your new horrible.gif

Your web page will display the new image instead of the old one.

Feb 17, 2005 15:43

Search for the

$Item->Content()


repleace with something like :

<?php $Item->content('#','#',$Item->get('title'),'','<p>Read full text of ','...</p>','htmlbody',10); ?>


or

$Item->content( '#', '#', 'Read More', '' );

Feb 25, 2005 12:00

Thanks a lot. Surprising how a function this obvious is so difficult to find a solution for.

Feb 26, 2005 23:23

where do you find that code? i use the "read more" feature a lot. i hate the little arrow icon and would like to change it.

Mar 07, 2005 09:35

My "Read More" ends up with the icon plus an irritating exclamation point, ala

=> Read More!

I just want to remove the exclamation but can't find it in the code. Any ideas?

Mar 07, 2005 12:16

use the same sollution as discribed before.

<?php $Item->content( '#', '#', 'Read More', '' ); ?>

Mar 09, 2005 07:37

... that indeed removes the ! but it also removes the icon ... any idea which parameter I can adjust to get that back?

Mar 09, 2005 08:42

Everything you put in there will be shown.
So if you want that horrible icon, just put the icon !

<?php $Item->content( '#', '#', '=> Read More', '' ); ?>

Mar 09, 2005 09:07

Is this the same for the ::next page>> code?
I've been working my ass of to find the code for that but couldn't find it!

Where can I adjust this?

Mar 12, 2005 04:46

I appreciate that -- I really am new at this! I'm also perplexed as how to get it to align right instead of center ... In Mozilla, it indicates that is is class=bMore, but I don't know where to find that one.

Mar 12, 2005 06:18

mwester, the .bMore class should be found in the css file that goes with your skin (eg. custom.css). In mine it's towards the bottom. To get it to align right the following may work:

.bMore {
text-align: right;
}

Neluus, I can see the "next page" code in _functions_bposts.php file in the /b2evocore directory. There may be a less intrusive way to alter it but I don't know how.

Mar 13, 2005 04:09

Nate wrote:

mwester, the .bMore class should be found in the css file that goes with your skin (eg. custom.css). In mine it's towards the bottom. To get it to align right the following may work:

.bMore {
text-align: right;
}

Neluus, I can see the "next page" code in _functions_bposts.php file in the /b2evocore directory. There may be a less intrusive way to alter it but I don't know how.

thanks for that. I am using a css that does not have a bMore defined at all in the custom.css file ... can I just stick the code in? Will it override something defined somewhere else?

Mar 13, 2005 15:14

mwester, I'd try inserting the code for .bMore into your style sheet. If that still doesn't help maybe you can give us a link to your site so we can see what needs to be done.

Aug 20, 2005 02:57

I'm using the following code to remove the arrow icon and replace it with text that reads "Read full text of... 'title of post'"

<?php $Item->content('#','#',$Item->get('title'),'','<p>Read full text of ','...</p>','htmlbody',10); ?>

In the spirit of making the link more accessibility compliant, how would one add:

title="Read full text of... TITLE OF POST" into the href?

jj.

Aug 20, 2005 09:57

Have you even read this one treath ?

the answer is on post 3 !

Topanga wrote:

Search for the

$Item->Content()


repleace with something like :

<?php $Item->content('#','#',$Item->get('title'),'','<p>Read full text of ','...</p>','htmlbody',10); ?>

Aug 20, 2005 14:45

Umm, yes I did, but did you read my question, or just asssumed you knew what I was asking...? ;) The code you included in your post is almost verbatim what I am [u]already using[/u], and is not what I'm asking.

So, here's my code again:

<?php $Item->content('#','#',$Item->get('title'),'','<p>Read full text of ','...</p>','htmlbody',10); ?>

And here's what I'd like to accomplish:

Read full text of... <a href="blahblahblah.php" title="Read full text of... Title of Post">Title of Post</a>

jj.

Aug 20, 2005 15:42

then you have to tell me the difference..
Because that's what I'm using on my former skin.

Aug 20, 2005 16:05

Thanks Topanga. I'm going to add this to the everything skin. jibberjab if you want a title tag in your link you're going to have to hack the function itself. As-is there is no title tag, so you would have to (a) add one and (b) make it pick up the post title.

Aug 20, 2005 16:08

The difference is that I'm trying to insert a title=" " tag *inside* the href, which shows the title of the post. This is helpful for 508 compliance. The code I'm currently using generates this:

Read full text of... <a href="blahblahblah.php">Title of Post</a>

I'd like it to generate this:

Read full text of... <a href="blahblahblah.php" title="Read full text of... Title of Post">Title of Post</a>

EdB: But that's the whole point of my original post... I don't know *how* to do it and was asking for some assistance...

jj.

Aug 20, 2005 16:41

To be honest I didn't catch what you were asking for in your first post. Keep in mind this thread is about the *appearance* of the link - not the fact that the underlying code doesn't include a title tag. Kind of odd to me that I never noticed it doesn't since I went through a phase where I felt like title tags should be everywhere. I guess I didn't have posts with the more link back then so of course I wouldn't notice that one. Shortly after that I decided to write a skin that was xhtml1(trans) compliant with the absolute smallest possible bandwidth hit to the visitor so I stripped out all the title tags. :roll:

Anyway I'll take a look at it and post over in plugins and hacks since the answer will be a hack.


Form is loading...

CCMS – This forum is powered by b2evolution CMS, a complete engine for your website.