question on action templates, can u define wut u mean by actions more precisely im a lil confused.
|
like.
search.php?do=getnew is a vB3 action, and it does a specific / more refined / predetermined function |
k
so something like blah.php?do=redirect is one? |
Thanks Faranth! I read the whole thread and now I understand a little more how the whole thing is working :)
The "actions", are they all included in one php file? But I guess not, they must be spread evywhere. To list all these actions, is the way to do that to Ctrl-F through all the files and search for "do=" ??? And also, where are all the functions, do we simply need to require global.php for all the functions beeing available? Noobish cheers :nervous: :) |
Really useful 'hack' (or guide, whatever). Got my first VB based page up and running in no time at all.
thanks a lot :D. |
Hi Zachery,
I tested the first & second examples but I keep getting the following lines in my browser: HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> PHP Code:
Please help. R.L. :) |
You didnt print any templates...
your missing the most important line eval('print_output("' . fetch_template('TEMPLATE') . '");'); You just made some varibles, you didnt tell the script to display a template i suggest trying generic shell eval('print_output("' . fetch_template('GENERIC_SHELL') . '");'); |
Got it! It worked :)
Thanks Zachery. |
Quote:
I have a lot of content outside of my forums which I'd love to be able to include the header and footer from the template on! This way I could update the style of my whole site, forums and static content, through the admincp. I've tried almost everything I can think of, if someone has a simple test page they can show me I'd be really, really greatful :) |
how can a do one code for ?do= and thene whene i make a new template i can do ?do=test and so that i can do it at's mutch as i want. please help my. :d
|
All times are GMT. The time now is 09:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|