Module

Developer
Supported

Threaded Comments

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Yuri Salimovskiy

     

You must be logged in to post.

Global variable within exp:threaded_comments:display ?

Support Request

Rab
Rab

Hi there,

I have a user-defined custom variable that I am trying to use within

{exp:threaded_comments:display}
  {comments}
    {custom_global_variable}


I have tried to add parse=“inwards” to the {exp} but no luck?

Any suggestions?

Thanks!

Rab
# 1
Rab

Further testing - my {custom_global_variable} is accessible outside of the {comments}...{/comments} tags.

Any way to have it accessible inside?

Rab
# 2
Rab

One last update, changing my global variable over to a snippet worked

loemrntdherid1
# 3
loemrntdherid1