By Jay on Saturday, 24 February 2018
Posted in General Issues
Replies 3
Likes 0
Views 639
Votes 0
On the back end, when I look at the Posts listing it shows in the last column an ID. We would like to be able to see that in the front end but I can't figure out how to do that?
Hey Itamar,

I am really sorry for the delay of this reply as it is a weekend for us here. We do not actually render the ID of the post on the front end but I don't really see any reasons for having an ID eh?
·
Sunday, 25 February 2018 21:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Our thoughts are for ticket tracking - we were going to look at ways to manually enter a ticket number but then since every post already has an ID it makes sense to use that.
Jay
·
Monday, 26 February 2018 00:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, if that is the case, you could just output the $post->id variable in the theme file to display the post id. Example code:

[gist]
Ticket: #<?php echo $post->id;?>
[/gist]

You can place this code in /components/com_easydiscuss/themes/wireframe/posts/item.php
·
Monday, 26 February 2018 00:54
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post