Archived

This topic is now archived and is closed to further replies.

List of functions

8 posts in this topic

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

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?

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

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!

Share this post


Link to post
Share on other sites

Posted · Report post

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.

Share this post


Link to post
Share on other sites

Posted · Report post

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.

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

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.

Share this post


Link to post
Share on other sites