#1 (permalink)  
Old 11-10-2008, 07:35 AM
Registered User
 
Join Date: Nov 2008
Posts: 1
arifahmad01 is on a distinguished road
Default Include php on header.html

Hi,

I am working on a project in which I have userd the nicecoder script
I need to include a php file on the haeder any suggestions.

Thanx in advance .
Reply With Quote
  #2 (permalink)  
Old 11-10-2008, 08:15 AM
echo@'s Avatar
Active Member
 
Join Date: Oct 2007
Location: UK Essex
Posts: 473
echo@ is on a distinguished road
Default

you could use the following for php

<%php%>
include("pathtoyour/php/file");
<%/php%>

or

<%include_php file=pathtoyour/php/file%>

for html you could use

<%fetch file=pathtoyour/php/file%>

or

<%include file="pathtoyour/php/file"%>
__________________
____________________________
http://www.articleconveyer.com
Give Your Articles Exposure


Reply With Quote
  #3 (permalink)  
Old 11-10-2008, 12:12 PM
FSGDAG's Avatar
Moderator
 
Join Date: May 2007
Location: NJ, United States
Posts: 980
FSGDAG is on a distinguished road
Default

I could be really wrong about this, but I dont think version 3.2 used the Smarty templates.

If your using a legal copy of 3.2, why not just upgrade to 5.4 or Deluxe!
__________________
FSGDAG | IndexU Hosting | Owner
Website | NiceCoder Script Hosting and More! | Blog
General Directory | Deep Links Directory | Bidding Directory
Reply With Quote
  #4 (permalink)  
Old 11-10-2008, 12:15 PM
echo@'s Avatar
Active Member
 
Join Date: Oct 2007
Location: UK Essex
Posts: 473
echo@ is on a distinguished road
Default

Whoops , I didnt see that


why not use a normal php include then
__________________
____________________________
http://www.articleconveyer.com
Give Your Articles Exposure


Reply With Quote
  #5 (permalink)  
Old 11-10-2008, 12:52 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,018
Bruceper is on a distinguished road
Default

3.2 did not use smarty, I don't remember how includes were done way back then.

Of course I will assume this is for a valid license and suggest the update to Deluxe 1.1
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
pull different header.html kosmo101 v5.x 2 02-03-2008 11:57 PM
Error in header.html SKh v5.x 14 04-04-2007 12:27 AM
--modifiction --in header.html --5.3.0 webandlinkscom Blocks and Modification 0 03-19-2007 02:43 PM
<%total_link%> in the header.html marengo v5.x 0 06-23-2004 05:19 AM

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 02:37 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate