Quote:
|
Hey :)
What if I wanted to just clone the Home page? Meaning the first tab on the navbar 'Home' when you click it it takes you to the Home page where you can add articles. If I want a new page, lets call it 'Zome' I can make the new navbar tab called 'Zome' but what about the content page to go with it? Thanks |
The next part has become complicated for me. I even have no idea where to place those scripts.
|
OK I worked it out, thanks.
|
Hi,
I have a flatcast radio. So I added the following code to the php file. Code:
$HTML .='<div align="center"><IFRAME height="500">.......</IFRAME></div>' |
1 Attachment(s)
How to view a item from database
i have create a test page that followed this tutorial it work fine but i want to connect some item into the database the test.php Code:
<?php within data table i dunno how to put (variable of item) into the template page and they will show in the page any help will be appriciated also help create the xml file for this test if you guy needed i create it on local machine therefore i don't have a link |
If your variable name is $categories, then register it for use in the template:
PHP Code:
HTML Code:
{vb:raw categories.whatever} |
thanks Lynne
I tried it but nothing show Code:
$templater = vB_Template::create('TEST'); |
Well, you never did anything with $categories, so nothing is going to show up from it. You just have an empty while loop (and not even really that).
|
thanks for reply Lynne but i still dunno what is exactly your point and this is a point i'm not really got it
so, i'm going to put something in while loop like Code:
// ##### Initialize categories connection #### {vb:raw categories.name} do i have register the varialbe ($name, $des) for template? --------------- Added [DATE]1273540800[/DATE] at [TIME]1273540800[/TIME] --------------- and i tried to register them under $categories : Code:
// ###### NOW YOUR TEMPLATE IS BEING RENDERED ###### the first item name: testing 1 it shows "t" only :confused: |
All times are GMT. The time now is 05:38 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:
|