Jump to content

Post number


Ocean West

Recommended Posts

Posted

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 ago

some 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

.

 

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 ..

 

2015-04-26_11-27-36.thumb.png.ae3769dd84

 

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()}}
				&middot; {$comment->hiddenBlurb()}
     {{endif}}
     ..
</p>

 

 

.

Posted

.

 

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 ..

 

.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...