#1 (permalink)  
Old 04-22-2008, 11:05 AM
Registered User
 
Join Date: Jul 2007
Posts: 9
damurali is on a distinguished road
Default Adding new function

Hi,
I would like to add new functionality to the index page. I have written a function which reads a xml file and returns a string value based on the parameter passed.
This function is working fine as stand alone. But I unable to integrate in the index page. Can any one give me the steps to integrate a new function to the index page.
I appreciate your help.
Thanks,
Anand.

http://www.hiindians.com

Last edited by damurali; 04-22-2008 at 03:11 PM.
Reply With Quote
  #2 (permalink)  
Old 04-24-2008, 11:18 PM
Registered User
 
Join Date: Jul 2007
Posts: 9
damurali is on a distinguished road
Default

Bruce,
Could you please help me in this?

Thanks,
Anand.
Reply With Quote
  #3 (permalink)  
Old 04-24-2008, 11:49 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
Default

The short version of the answer is no. The long version is also no because I'm not a "real" programmer, I'm just a guy that can hack up some code to make some things work. I don't see why it's an issue though. Place your function inside a block and call it normally except that instead of using <?php and ?> you would use <%php%> and <%/php%>. Those are smarty tags if you weren't aware and all PHP inside those tags should parse normally.
Reply With Quote
  #4 (permalink)  
Old 04-25-2008, 11:27 AM
Registered User
 
Join Date: Jul 2007
Posts: 9
damurali is on a distinguished road
Default

thank you bruce. Actually I am a c# developer and not php developer. I gave this work to a php developer. he come back with this question. I will ask him to try this way.

Thanks,
Anand.
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
HELP! Undefined Function! TheExplorer v5.x 15 11-21-2007 05:18 PM
how can i add new Rating function? joelin v5.x 0 04-20-2007 03:06 AM
function.open fiorry v5.x 3 10-10-2006 04:26 PM
Search function dyrer v5.x 1 10-07-2005 02:28 PM

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

All times are GMT -5. The time now is 03:06 PM.


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