Resource icon

Simple Portal 1.1.0 RC1

No permission to download
Status
Not open for further replies.
What would you exactly want to show?

Description and Version?

Exactly as you picture EL but add the tagline.

Title, Tagline, Author, Author avatar, Version, Description (+ Read more)

Version to be optional.
 

Attachments

  • portal RMA.webp
    portal RMA.webp
    44.5 KB · Views: 77
  • Like
Reactions: Dan
If I can figure out the photo issue, I think I've tested everything I wanted to test.

The checkmark for "add attachment" has to be made at the time the thread is promoted. I was trying to edit after. I have to unpromote and re-promote to select that block. Works great.

It doesn't seem to resize linked images.

Still looking for a way to get a photo over the headline and adjust the vertical spacing. I like what I see so far.

http://www.gotitans.com/xf/
I can't confirm the resize problem. It's the same resize feature like in the threads.
 

Attachments

  • image.webp
    image.webp
    73.8 KB · Views: 70
Version to be optional.
The options will come later. I have some great ideas for this, because it needs to be easy to extend to allow all the item handlers to include own options(e.g. threads have view counts, replies, but no version and resources have no view counts and replies, but they have a tag line and a version.
portal.webp

(The content above the resource is from [bd] Widget Framework ;) )
 
The checkmark for "add attachment" has to be made at the time the thread is promoted. I was trying to edit after. I have to unpromote and re-promote to select that block. Works great.
Yes, that's the only "workaround" for this ATM.
 
I hope it's something we can figure out. I wonder if the issue would continue if done as three columns?
I wouldn't recommend to use 3 columns with your fixed style.
Your pagewidth is 1077px . Remove now 300px for the sidebar = 777px / 3colums - some pixels for the margin = ~240 - 250px for each column. I'm not sure if you would be happy with the 250 px columns.
 
I wouldn't recommend to use 3 columns with your fixed style.
Your pagewidth is 1077px . Remove now 300px for the sidebar = 777px / 3colums - some pixels for the margin = ~240 - 250px for each column. I'm not sure if you would be happy with the 250 px columns.
You're probably right. One option for me might be to make everything the same depth since my goal is to have a same-sized photo on every promoted thread.

Which template controls where the attached photos appear? If I can move it above the head, I think it will all work out.
 
You're probably right. One option for me might be to make everything the same depth since my goal is to have a same-sized photo on every promoted thread.

Which template controls where the attached photos appear? If I can move it above the head, I think it will all work out.
simpleportal_itembit
That's the relevant code.

Code:
<div class="message">
<xen:if is="{$item.attachment_id}"><img src="{xen:link 'attachments', {xen:array 'attachment_id={$item.attachment_id}'}}" class="itemimg" /></xen:if>
</div>
and the styling of this is inside the simpleportal.css
Code:
<xen:if is="!{xen:property portal_imgAlign}">
.itemimg
{
background: {xen:property primaryLightest};
float: right;
padding: 3px;
max-width: {xen:calc "{xen:property portal_maxImgWidth} -0"}px;
max-height: {xen:calc "{xen:property portal_maxImgWidth} -0"}px;
margin: 0px 10px 10px 10px;
border: 1px solid {xen:property primaryLighter};
border-radius: 3px;
}
<xen:else />
.itemimg
{
background: {xen:property primaryLightest};
float: left;
padding: 3px;
max-width: {xen:calc "{xen:property portal_maxImgWidth} -0"}px;
max-height: {xen:calc "{xen:property portal_maxImgWidth} -0"}px;
margin: 0px 10px 10px 10px;
border: 1px solid {xen:property primaryLighter};
border-radius: 3px;
}
</xen:if>
 
Very good. I have the attachment now above the title but need now to adjust the gaps in the article. My goal is to have every article be the same height.

http://www.gotitans.com/xf

Here's where I am with the code:
PHP:
<xen:if is="@portal_two_columns">
    float: left;
    width: 48%;
    margin:0 0 0 10px;
</xen:if>
}
<xen:if is="@portal_two_columns">
.itembit .messageText
{
    margin: 90px 5px 10px 5px;
height: 350px;
}
.simpleportal_index .messageList
{
    overflow: hidden;
}
</xen:if>
 
threads have view counts, replies, but no version and resources have no view counts and replies, but they have a tag line and a version.
View attachment 44629
(The content above the resource is from [bd] Widget Framework ;) )

EL pretty please show this on your demo. It's hard to understand outside context.
I think the widget part confuses me and I don't understand why there are tabs on this image but not on your site.
 
Oh and do I promote an RM Category to the Portal?

Thing is I would also really like the Portal to show Latest Threads and Latest Resources, admin set eg 6 latest.
In my top big section with space below for me to write editorial.
 
Mockup

Portal.webp

NOTES
# The links to WHAT'S NEW are buttons only my graphics aren't up to it. I think these are very important as What's New is a core use function - my users mainly explore by using it and nothing else.
Having a Whats New for Resources is just the landing page for the RM but presented in the same way as the threads Whats New for easy comprehension.
# Admin sets how many links to latest items appear.
# I don't think these links should be cluttered as it's a busy page. Maybe date, but not views etc.
# A Resource shows its tagline.

# I think a homepage/ portal like this could be such an important hub it justifies having a link to the Home at the end of all pagination sequences EVERYWHERE and if none (single page) a link to Home appears in the same place on its own.
 
Status
Not open for further replies.
Top Bottom