Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 24 Jan 2013, 10:31
epagesvb epagesvb is offline
 
Join Date: Aug 2010
registering new template variable

Hey guys,

I'm really having problem registering a new variable to my templates and you really dont get much help anywhere :(

All i want to do is to register a new variable to the template "display_contenttype_conversationstarter_threadview_Text".

So all i found was just sth like "vB_Template::preRegister('THE TEMPLATE',array('my_insertvar ' => $my_insertvar)); "
But this was only for vbulletin 4. I didnt find. I guess you have to make it in the admincp via hooks. But there are no templates which i can use for display_contenttype_conversationstarter_threadview_Text.

Could someone explain me how to register a variable for vB_Template::preRegister('THE TEMPLATE',array('my_insertvar ' => $my_insertvar)); without the hooks from the admincp, but just using a normal php file, which is used by a plugin? Should be possible or not?

Once again: All i want to do is to register a new variable for the template display_contenttype_conversationstarter_threadview_Text

Thanks in advance
kddc

Last edited by epagesvb; 24 Jan 2013 at 10:45.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:06.

Layout Options | Width: Wide Color: