Jump to content

Post number


Ocean West
 Share

Recommended Posts

.

 

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>

 

 

.

Edited by IN10TION
Link to comment
Share on other sites

.

 

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

 

.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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