Results 1 to 4 of 4

Thread: Adding new function

  1. #1
    Join Date
    Jul 2007
    Posts
    14

    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 02:11 PM.

  2. #2
    Join Date
    Jul 2007
    Posts
    14

    Default

    Bruce,
    Could you please help me in this?

    Thanks,
    Anand.

  3. #3
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    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.

  4. #4
    Join Date
    Jul 2007
    Posts
    14

    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.

Similar Threads

  1. HELP! Undefined Function!
    By TheExplorer in forum v5.x
    Replies: 15
    Last Post: 11-21-2007, 04:18 PM
  2. how can i add new Rating function?
    By joelin in forum v5.x
    Replies: 0
    Last Post: 04-20-2007, 02:06 AM
  3. function.open
    By fiorry in forum v5.x
    Replies: 3
    Last Post: 10-10-2006, 03:26 PM
  4. Search function
    By dyrer in forum v5.x
    Replies: 1
    Last Post: 10-07-2005, 01:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •