Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A GOOD and versatile news manager needed
andyash Wrote:I'm at a loss here. I have poster a couple of posts in the modified News Manager. There is a picture in the first paragraph but it is not visible in the excerpt view. How do I get it there? And where do I use the

.compilation article p img {
margin : 5px 10px 0px 0px;
width : 160px;
padding : 4px;
border : 1px solid #d3d0bc;
background-color : #e9e6d3;
float : left;

code so it shows the image inside the excerpt as small but large inside the post view? Which code needs to be given the .compilation class?

1. Open up the following file,

2. Look for the following function (should be around line 150 or so):

3. Inside that function delete the following line:
$content = strip_tags($content);

4. Save the file and you see images in excerpts now.

Messages In This Thread
A GOOD and versatile news manager needed - by mikeh - 2011-11-19, 00:31:23

Users browsing this thread: 1 Guest(s)