XF 2.2 Articles and Expanded View

Mendalla

Well-known member
I am experimenting with an article forum in my dev that I eventually plan to use in my live. In testing the various views, though, I notice that Expanded display style is always showing the full article no matter what I put in Article Snippet Length (I have been putting 500 characters). I just re-read the relevant HYS and it seems to say Expanded View should use snippet length. Preview works fine and I may end up using that anyhow but I'd like to know what's up with this. Anyone else encountered this or am I doing something wrong? Settings are below.

1596896189722.png
 

Brogan

XenForo moderator
Staff member
Article thread posts always show in full on the first page, regardless of the forum.

Only from page 2 onwards does the post require expanding.

Is that what you mean?
 

Brogan

XenForo moderator
Staff member
Again, that is normal from page 2 onwards.

If you want to show the first post in full on every page (which I wouldn't recommend), add this to the extra.less template:

Less:
.message-expandWrapper .message-expandContent
{
    max-height: 100%;
}
 
Top