Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Ocean West Posted April 26, 2015 Posted April 26, 2015 is it possible to have a visual "post number" in on each post - say next to the date posted Post 13 of 17 • Posted 3 Hours agosome people found it helpful making a mental note as to which item something was. Of being able to say look at the "5th post above" to someone.
不中用 Posted April 26, 2015 Posted April 26, 2015 . I can only find the comment ID .. and can have this result .. you can add whatever text to it to let it look better .. for now, just a quick edit as an example .. Templates > Forums > Front > Topics > Post Find this one .. <p class='ipsType_reset'> add this right underneath .. {$comment->$idField} So you will end up with this .. <p class='ipsType_reset'> {$comment->$idField} {$comment->dateLine()|raw} {{if $comment->editLine()}} ({lang="edited_lc"}) {{endif}} {{if $comment->hidden()}} · {$comment->hiddenBlurb()} {{endif}} .. </p> .
Ocean West Posted April 26, 2015 Author Posted April 26, 2015 wow thanks - but that ends up with the actual id of the post, perhaps a way too echo the iterator for the topic?
不中用 Posted April 26, 2015 Posted April 26, 2015 . I can't get it to work .. starting to hate the code ..There is a variable " $postCount " in Topics ( Templates > Forums > Front > Topics ) .. this one loops post per post ..I try to port it to postContainer as an extra parameter .. but that doesn't seem to work ..the sequence is like this : Topics > postConatiner > Post If someone else had figured something out to share a variable between 2 templates .. please let me know .. .
Recommended Posts
Archived
This topic is now archived and is closed to further replies.