![]() |
Quote:
|
What type of "functions" do you have on your homepage?
|
Basically everything that site uses... I have all my functions defined in one file, such as sql queries, php, all the html... and then I just call them in on the main pages, so I can edit everything in one place.
|
by functions I mean defining stuff using php:
PHP Code:
PHP Code:
I am just wondering how to get it to work thats all :) hehe. |
You could try to load it in an iframe on your homepage. Only netscape-users can't see this.
|
That might work, i'd have to look up the code to make the iframe transparent as the cell its in has a background image.
|
The easiest way: just put your functions into webtemplates. I really played around with wt and you can do a lot of things with it.
|
Ok, thanks for your help all the same... I may just add a fully fledged welcome bar onto my home page and be done with the whole thing :)
|
Quote:
If you still have the problem, I need some clarification: Can't you make webtemplates work all together or does it work but just $user_username not works? Also please mention if it works if you use it default: ie. you call show.php?pg=template_name directly without PHP includes.. |
Ok, what I did was:
Create a new webtemplate that contained PHP Code:
Hope that clears it up! |
All times are GMT. The time now is 02:17 PM. |
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:
|