[8WR] XenPorta (Portal)

[8WR] XenPorta (Portal) 1.6.0

No permission to download
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/

Did you ever resolve this? Recent News block is the only one I use and it always contains an image so this would be a big issue for me.
 
I uninstalled this yesterday prior to upgrading to 1.4 as I no longer use it. It didn't uninstall cleanly. There were two tables left in the database - EWRporta_catlinks and EWRporta_categories. In addition, a template was also not uninstalled - EWRblock_FaceBook.css. I've removed these manually but really I would expect uninstallation to remove everything.
 
I am using the AI.X style and with it moved my sidebar to the left hand side, which I found earns me more ad revenue. However in Xenportal it shows the sidebar on the left (which is good, however to the right of that is my Left XenPortal Blocks. How do I move the blocks to the right? I want 3 columns SIDEBAR - Recent News - BLOCKS

How do I do this? Thanks!
 
Does anyone know how to hide prefixes on the portal?

I know part of the class and CSS I need, I just don't know what I need to add to the class so it only affects the portal page. This is what I have right now.

Code:
.prefix.prefixPrimary { display: none !important; }
 
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. :)

Its correct not just because of the template name though. Each section has a .recentNews class div so that works fine. The entire block has an ID of recentNews so #recentNews would have worked as well or both to be super specific :p I think the ID matching the template goes for Brogan, the sections having the same name for a class is just happened for whatever reason Jaxel chose.
 
I'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.
 
Last edited:
Template name for the news block is EWRblock_RecentNews, so it looks like that would be correct. :)
I would rather use
Code:
#recentNews .prefix {display:none;}
Easier if you want to make a copy of this block and have the prefixes displayed.

I'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.
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 :
Code:
<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>
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 block :)

For example, I did it the way I told you in order to get that : my recentnews block
 
I would rather use
Code:
#recentNews .prefix {display:none;}
Easier if you want to make a copy of this block and have the prefixes displayed.


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

For example, I did it the way I told you in order to get that : my recentnews block
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.
 
You can't change it into the ACP? How is that?
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.
 
Last edited:
Back
Top Bottom