I have an issue with the Recent News block.
I have promoted content, but the images aren't showing no matter how I set them up in the post. I have tried attachments and also external linked content. Also I have tried the other format options in the promote options.
Here is where it's hosted: http://thefootballleagueforum.co.uk/index.php?portal/
.prefix.prefixPrimary { display: none !important; }
Add the page name class to the beginning.
For example, a thread is .thread_view.
.recentNews .prefix.prefixPrimary
If that is the template name, yes.
Doing some further inspecting, would this be correct?
Code:.recentNews .prefix.prefixPrimary
If that is the template name, yes.
Template name for the news block is EWRblock_RecentNews, so it looks like that would be correct.![]()
I would rather useTemplate name for the news block is EWRblock_RecentNews, so it looks like that would be correct.![]()
#recentNews .prefix {display:none;}
If i'm right, you want us to create a new block for youI'm looking for something like this http://smashboards.com/. It looks like the "Recent News" block for Xenporta. How modify it more though? For example, getting the thumbnails over to the left side, removing the likes/views counters, changing the location of the author, changing the location of the number of comments etc.
<div class="postedBy">
<span class="posted iconKey"><div class="sticky"></div>{xen:phrase by_x_at_y,'user=<a href="{xen:link members, $news}" class="username">{$news.username}</a>','date=<a href="{xen:link threads, $news}">{xen:time $news.post_date, 'absolute'}</a>'}</span>
<span class="comments iconKey"><div class="new"></div><a href="{xen:link threads/unread, $news}">{xen:number $news.reply_count} {xen:phrase comments}</a></span>
</div>
Oh, so I'd have to modify the code in that RecentNews.xml then. It isn't something that is managed from the control panel. Looks like it could be challenging but I'll see what I can do. Thanks for the advice.I would rather use
Easier if you want to make a copy of this block and have the prefixes displayed.Code:#recentNews .prefix {display:none;}
If i'm right, you want us to create a new block for you
To remove the view/like, you can go to the EWRblock_RecentNews template and remove the postedBy div and put this code instead :
I would recommand you to make the block changing every class name in order to have something inline. This way it would be simpler to know which class you need to modify in order to style yout blockCode:<div class="postedBy"> <span class="posted iconKey"><div class="sticky"></div>{xen:phrase by_x_at_y,'user=<a href="{xen:link members, $news}" class="username">{$news.username}</a>','date=<a href="{xen:link threads, $news}">{xen:time $news.post_date, 'absolute'}</a>'}</span> <span class="comments iconKey"><div class="new"></div><a href="{xen:link threads/unread, $news}">{xen:number $news.reply_count} {xen:phrase comments}</a></span> </div>
For example, I did it the way I told you in order to get that : my recentnews block
I meant, I was previously looking for how to adjust the settings I wanted in the admin control panel eg. by pressing a button and sliding some settings around and as it turns out I can't adjust what I'm trying to do in that way. In order to do it the block will have to be manually created by editing code.You can't change it into the ACP? How is that?
We use essential cookies to make this site work, and optional cookies to enhance your experience.