frm
Well-known member
It would be nice if that "custom placement" was an option for custom thread fields. I believe that the below screenshot speaks volumes as to why we need custom placement.
But, to those that it don't understand the above: It's not necessary have
Instead, the below, unnecessary, modification doesn't have to be made to
From
As you can see, with more custom fields needed to be hidden, more AND statements have to be added. As I customize more and more and add schema and other Open Graph statements, the hidden values need to be edited in the template one by one to hide it.
Please consider adding a "custom placement" to where
But, to those that it don't understand the above: It's not necessary have
og:title
as a visible item, before the message, after the message or within the thread status block. This is because og:title
tells Facebook (and all other social networks) what your "title" is (and would not use your <title>
tag).Instead, the below, unnecessary, modification doesn't have to be made to
custom_fields_macros
(which may or may not be the most optimal way of doing things):
Code:
<xf:if is="$fieldDefinition.hasValue({$set.{$fieldDefinition.field_id}}) AND $fieldDefinition.title != 'og:title'">
Code:
<xf:if is="$fieldDefinition.hasValue({$set.{$fieldDefinition.field_id}})">
As you can see, with more custom fields needed to be hidden, more AND statements have to be added. As I customize more and more and add schema and other Open Graph statements, the hidden values need to be edited in the template one by one to hide it.
Please consider adding a "custom placement" to where
$thread.custom_fields.threadOGTitle
(and all other custom fields made this way) is the only way it can be called/seen in a thread for complete custom placement (in the above example, arg-title).
Upvote
31