![]() |
php help (I am dummy)
Ok I feel stupid because my php knowledge is terrible, mostly hunt and peck.
Anyway I just need a little help with including a custom template on my usercp page. I have made a custom template called photoincp that I wish to include on the user control panel page. Basically the template is just a link that would point to a members upload page to upload a photo (brad c's photo upload hack which I got working). Anyway I have added the template name in the $templatesused part but am unclear on basic php how to call that template up in the file. Could anyone help? Mike |
eval("\$varname = \"".gettemplate('templatename')."\";");
then yo can use $varname in your callingtemplate |
Thanks Xenon your the best!!! :D
|
:)
too much honor :) you're welcome |
All times are GMT. The time now is 10:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|