Dragonsys
Member
it looks the same...He is still running XF1 version.
You can see it here on my site as well - https://www.dragons-server.com
it looks the same...He is still running XF1 version.
Hi @Jaxel
I’d like to insert content between articles on the Porta home page. I’m not using the masonry layout so have them stacked.
Could I do this:
Article 1
Article 2
Article 3
Article 4
Custom content
Article 5
Article 6
Etc etc
What would be the best way of achieving this?
Thanks
Rob.
Thanks. With this is it possible to keep things in chronological order though?I’m using article categories as a workaround.
Article widget 1 - article from category 1
Other widget
Article widget 2(default XenPorta) - article from category 2
Other widget
Article widget 3 - Article from category 3
Etc
Mind sharing your site so I can take a look?There is a few limitations. Each category has own chronological order but I think it is not a big deal. Different category different top news
Update coming soon with new features? Be good to knowJust wait.
- Added a widget position for "XenPorta > Articles list: After article". This widget position will allow you to place widgets after each article in your articles list. In addition to this, you could use the included context to limit the widget from appearing based on the iteration of the article. For instance, you could have a widget appear after every third article, etc... Check the FAQ for more information.
- Added special RSS feeds for article lists.
- Changed some entity...
admin.php?options/groups/discussionOptions/#discussionRssContentLengthIs the length of contnet defined anywhere? Wasn't able to immediately see it.
Whoops... Will fix for next version. For now, you can edit the template `EWRporta_articles_macros` and replace:Secondly, since the update, I don't appear to get inline attachments on the front page.
{{ bb_code($article.article_excerpt, 'ewr_porta_article', $article) }}
{{ bb_code($article.article_excerpt, 'ewr_porta_article', $article.Thread.FirstPost) }}
Will fix for next version.Lastly, if the author of an article hasn't been added as an author within the admin, it goes to a page that doesn't exist
<xf:if is="$context.i % 3 == 0"><div class="porta-article-item">
<div class="block-container porta-article-container">
<h3 class="block-header">{$title}</h3>
<div class="block-body block-row">
This widget will appear after every third article.
</div>
</div>
</div></xf:if>
Make two widgets? Have one show up at 6, have one show up at 3...Thanks very much for the update @Jaxel
It it possible to have a different widget appear? The code here refers to the same widget appearing after x number of articles.
Suppose I want a different widget to appear after article 6? Is that possible?
Thanks,
Rob.
Code:<xf:if is="$context.i % 3 == 0"><div class="porta-article-item"> <div class="block-container porta-article-container"> <h3 class="block-header">{$title}</h3> <div class="block-body block-row"> This widget will appear after every third article. </div> </div> </div></xf:if>
Make two widgets? Have one show up at 6, have one show up at 3...
Or you can put two if statements in a single widget.
Change theOK, I'll give it a go. From the description above it looks like 'Widget 1' will show after article 3, 6, 9 etc etc..
Thanks for your help. My page is starting to look amazing!
is="$context.i % 3 == 0"
We use essential cookies to make this site work, and optional cookies to enhance your experience.