Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Using php includes as content
Dodger57
Newbie

Posts: 1
Registered: 3/25/2007
Member Is Offline
posted on 3/25/2007 at 11:08 PM Reply With Quote
Using php includes as content


Hi all,

I need to be able to enter the contents to the scroller using php includes like this:

Code:
<?php $CatID='53'; include('news/News.php'); ?>


This includes pulls the info from a new updater and is much easier for me to use than editing a js file.

I don't seem to be able to get this to work however ... is it indeed possible to use the includes like above in Tigra Scroller?

I tried it like this within the scroll.tpl0.js file.

Code:
'file': '',
'content': '<?php include("http://www.ktbb.com/homenews.php")?>',
'pause_b': 2,
'pause_a': 0
}


Thanks
Dodger
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 3/26/2007 at 02:47 PM Reply With Quote

try:

Code:
{
'file': 'homenews.php',
'content': '',
'pause_b': 2,
'pause_a': 0
}


the php page must be in the same domain.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Scroller
Product Demonstrations Live Demos:
Multiple vertical scrolling
Horizontal scrolling
Free Download Free Download
Product Documentation Documentation:
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
   
Tigra Scroller PRO
Product Demonstrations Live Demos
Vertical automatic scrolling
Horizontal manual scrolling
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004