Attention:

Support Rules and Guidelines
Before you post your support topic, please remember to:
  • Read the support forum rules.
  • Check the wiki and use search to see if your problem can be answered there first.
  • Link your board please, and make sure that the problem on your board is visible to guests or provide a test account.
  • Do not post Board Wrappers and CSS unless requested. With a board link, this is not necessary.
  • Be as descriptive as you can and use as many details as possible when describing your problem.
  • Please briefly mark any links to forums that may not be work-safe.
This will help ensure your support issue will be attended to in a quick and efficient manner.

  Add ReplyNew TopicNew Poll

 post_icon variable not working in HTML template
#
I've replaced post macros with trigger warnings in the acp macro menu. I would like to display them on the post. It works fine on the default post layout, but when I try to include the !-- |post_icon| -- variable inside the template, it doesn't display.

I checked the default HTML for post layouts and it is present. Is this a bug or am I doing something wrong?

http://covet.jcink.net/index.php?showtopic=4&st=0&#entry4

CODE
<a name='entry<!-- |pid| -->'></a>

<div id="post-<!-- |pid| -->" class="post mg-<!-- |g_id| -->">
   <div class="post-title">
<div class="title-left">
    <strong><!-- |name| --></strong> <!-- |post_icon| --> <!-- |post_date| -->
</div>

<div class="title-right">
    <!-- |report_link| --><!-- |delete_button| --><!-- |edit_button| --><!-- |quote_button| --> Permalink
    <span class="modbox"><!-- |mod_checkbox| --></span>
</div>
   </div>

   <!-- |mini_profile| -->

   <div class="postcolor">
<!-- |post| -->
   </div>
</div>


(Yes, I know it's ugly, I haven't finished styling the post layout yet)

This post has been edited by widowspeak: Jun 28 2018, 11:54 PM
PM
#
Don't be so hard on yourself, it's looking great! I'm not staff here so I can't officially confirm, but I believe it's a bug because I've had these issues myself - I think it's just not actually added to the post template system yet.

This post has been edited by owl: Jun 29 2018, 03:18 AM

signature
Kindly do not contact me on Discord or PM me for support.

user posted image
#
<!-- |posticon| --> isn't a variable for the post row remplates actually. We didn't get around to adding it yet. Sorry about that. We do need to add it. For future reference, this page will always tell you what variables are available in each section (post icon is not listed under post rows at the moment).

https://jcink.com/main/wiki/jfh-html-templates

signature
email: admin@jcink.com :: blog: John C.
#
Please fix this soon, I need this to work asap.
PM
#
Is does work in the topic rows, as listed in the link above.

signature
Kindly do not contact me on Discord or PM me for support.

user posted image
#
Thanks for the reply, Owl. It's nice to know I didn't break something!

John, I didn't see it on the list but I did see it in the default HTML, which is why I was confused. Do you have a rough ETA for when the functionality will be added to the post row template system?

This post has been edited by widowspeak: Jun 29 2018, 05:59 PM
PM
#
QUOTE (widowspeak @ Jun 29 2018, 05:51 PM)
Thanks for the reply, Owl. It's nice to know I didn't break something!

John, I didn't see it on the list but I did see it in the default HTML, which is why I was confused. Do you have a rough ETA for when the functionality will be added to the post row template system?

I do not at this time, sorry.

signature
email: admin@jcink.com :: blog: John C.
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | General Support | Next Newest »

Options Add ReplyNew TopicNew Poll