Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Calling the Link functions?

    I am developing a mod and am wanting to build links to products and categories using id's.

    what file(s) would I need to include to be able to call upon the zen_href() type functions?

    also would it be require once, inclue, or include once?

    Thanks
    Phil Rogers
    A problem shared is a problem solved.

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Calling the Link functions?

    Quote Originally Posted by philip937 View Post
    what file(s) would I need to include to be able to call upon the zen_href() type functions?
    /includes/functions/html_output.php

    Quote Originally Posted by philip937 View Post
    also would it be require once, inclue, or include once?
    I'm not 100% sure, but as far as I know this file is included by default via one of the init scripts, so you should be able to just call them as needed.

    Cheers
    Rod

  3. #3
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Calling the Link functions?

    what else do I need to call? I obvioulsy nee application_top dont I for getting connectio to the database to run my queries on it..

    anything else I would need?
    Phil Rogers
    A problem shared is a problem solved.

  4. #4
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Calling the Link functions?

    actually don't worry, I can probably work it out looking at another standalone script like googlefroogle.php which also creates links etc so what ever is needed must be called at the top of that file hey!
    Phil Rogers
    A problem shared is a problem solved.

  5. #5
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Calling the Link functions?

    well I was wrong, Im assuming that google froogle has its own logic built in somewhere to deal with creating the links..

    I have for now resorted to just statically putting the links in and just using the category and product id's to make a link, but ideally would like to get the proper way of building links incorporated. any more advice much appreciated.
    Phil Rogers
    A problem shared is a problem solved.

  6. #6
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Calling the Link functions?

    Quote Originally Posted by philip937 View Post
    well I was wrong, Im assuming that google froogle has its own logic built in somewhere to deal with creating the links..

    I have for now resorted to just statically putting the links in and just using the category and product id's to make a link, but ideally would like to get the proper way of building links incorporated. any more advice much appreciated.
    You do realise that we have no idea what it is you are trying to do, don't you?

    Cheers
    Rod

 

 

Similar Threads

  1. Calling for the 'product type'
    By nehoward64 in forum General Questions
    Replies: 4
    Last Post: 6 Jul 2010, 07:33 PM
  2. Create Link by Calling Up Product ID
    By vivaknievel in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 3 Aug 2008, 07:55 AM
  3. Calling admin defined functions from catalog files?
    By yellow1912 in forum Contribution-Writing Guidelines
    Replies: 3
    Last Post: 21 Aug 2007, 05:26 AM
  4. Calling Functions - cart total in header
    By Chriz in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 29 Jan 2007, 05:40 AM
  5. How to find the calling function?
    By harmeet in forum General Questions
    Replies: 2
    Last Post: 11 May 2006, 06:00 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
  •  
disjunctive-egg