Jump to content


Photo
- - - - -

List of functions


This topic has been archived. This means that you cannot reply to this topic.
7 replies to this topic

#1 ashriver

ashriver

    Member

  • Members
  • PipPip
  • 28 posts

Posted 02 January 2011 - 07:51 PM

Hello is there any documentation on the functions that are being used in Platform Pro. I think I could handle moving elements around using hooks if I knew the function name of say the callout section. Does that make sense? Thanks! Amber

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts

Posted 02 January 2011 - 07:56 PM

In the Template Setup (under Theme Options), there is an "Advanced Setup" list of the hook names for each area of the template. Is this what you're looking for?

#3 ashriver

ashriver

    Member

  • Members
  • PipPip
  • 28 posts

Posted 03 January 2011 - 01:04 AM

Catrina - Thanks but I am looking for a list of what the functions are called like the main navigation, callouts, sidebars, etc... Make sense?

#4 Kate

Kate

    Advocate

  • Members
  • 3039 posts

Posted 03 January 2011 - 07:21 AM

Hi Amber - Aside from what Catrina mentioned, to the best of my knowledge, we haven't provided that yet. But, it's a good idea. I'm going to move this to the "ideas and feedback" section. Thanks for the input!

#5 ashriver

ashriver

    Member

  • Members
  • PipPip
  • 28 posts

Posted 04 January 2011 - 08:23 PM

Thanks Kate I think it would be very very helpful. I've figured out what I need to do for the most part but my code isn't pretty but it's doing the trick.

#6 greggsky

greggsky

    Advanced Member

  • Members

  • 77 posts

Posted 17 January 2011 - 01:44 AM

Is there a list of the hooks anywhere? I'm trying to insert a javascript into the head, but the Site Header section seems to be everything after the head.

#7 Kate

Kate

    Advocate

  • Members
  • 3039 posts

Posted 17 January 2011 - 08:05 AM

Hey Gregg - I'm assuming you checked out the "Template Setup" area that Catrina mentioned above, correct?

#8 greggsky

greggsky

    Advanced Member

  • Members

  • 77 posts

Posted 19 January 2011 - 04:34 AM

Yeah, I know the template setup area, but it'd be helpful to just have an index of hooks and where they tie in. And are their hooks independent of the sections? For example, i want to have add a function after the page-main div. For regular content pages, pagelines_before_maincontent is the hook, but for feature pages, that doesn't work...would be nice to have reference to see what hook would work...if any. Since the Features section doesn't have any hooks, perhaps I'm stuck.