![]() |
Not sure how to pull the news onto my main page from the news.php script.
I would appreciate your help in doing this. Thanks, Gary |
Quote:
|
Well, unfortunately you cannot include the file on an index.html page.
The page has to be either .php or .phtml - whichever your server is configured to parse php code. You can then include it like so: PHP Code:
|
Thanks for everyone's help, after making the post, I thought that maybe an SSI would work.
This hack is really terrific, and you can see my site at CyberMacro Gary |
Well....it's running on my home page as an SSI and it works. And, my home page is an HTML document. :)
|
Right Rob, in my last post I did not make it clear that it is working for my as an ssi on my html based front page.
Gary |
Accually I am running mine on my index.html page. Via SSI. No problems as of yet.
|
sorry if this was answerd but
is there any news on getting vB code and line breaks to work yet ?? |
Quote:
Quote:
Oh, I just thought of something that's possible with this hack... A picture for each news post! All one would need to do is make an <IMG src="webhost.com/news/images/thumbnails/$threadid"> somewhere in the HTML, and perhaps have it link to another image with the $threadid for a full sized image. Hey, that's cool... Thanks for the hack, it's very flexible! :) |
Quote:
Line breaks and other stuff are on the way... |
All times are GMT. The time now is 07:31 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:
|