Open BerkerSP opened 4 years ago
Hi @BerkerSP!
To apply another template for display userinfo, you shoul use additional param &template=templatename
You can add {include file="engine/modules/userbox.php?&userName=login&template=yourtemplate"}
to any place
Thank you very much for your prompt response!
I've been testing the template tag and it works perfectly but I wonder in addition to this, I've tried to make the {custom} tag work also with the Userbox module to be able to customize the image quality as well as the amount of news that are displayed but I failed, is there any method for that tag to be covered too? Thank you very much!
@BerkerSP Could give the code wich you use please?
Sure, like example i've this in main.tpl to call slider using owl-carousel
{include file="engine/modules/userbox.php?&userName=this&template=app/modules/sections/car-2"}
and i want the carousel can recognize the module userbox to use public xfvalue userfield but i'm calling menues too and with that the code to request news of site
`
</div>`
But this don't recognize with that method and the link of images appear like:
@pafnuty @lazyphpdev не забудь посмотреть этот тиккет :ticket:
Good morning, how could it be done to use the module globally? For example, adding the insert from header and that it can be used in the whole site without being limited only to the default.tpl, thanks!