barroncuadro 0 Report post Posted March 3, 2011 Hi guys, Just curious, is there a visual reference for all the hook placements in Platform Pro? Sometimes it's hard to nail exact placement without testing, but that process takes a while. I know Thesis users have this: http://thesishooks.com/ Is there something like this for Platform? Been Googling for a while and haven't found anything. This would be a great addition to your docs / resources for users. If this already exists, could you point me to it? Thanks. Share this post Link to post Share on other sites
cmunns 16 Report post Posted March 3, 2011 The hooks are listed in the template setup sections and most of them are pretty descriptive ie pagelines_inside_top_theloop But perhaps a map would be helpful. Share this post Link to post Share on other sites
barroncuadro 0 Report post Posted March 4, 2011 The problem with the hooks listed in the template setup is 1.) you can't easily copy/paste, and 2.) it seems to be incomplete, or maybe I just don't understand what "View template for additional hooks and filters" is referring to. A big ol' list would be super helpful! Also, am I missing something re: "view template for additional hooks and filters"? Which template? Where? haha. thanks Share this post Link to post Share on other sites
mosley301 0 Report post Posted March 4, 2011 I agree, you can't copy and paste them. Also is there hooks above the #page? I want to place an ad outside of the branding box. I wish there was a list. Share this post Link to post Share on other sites
mosley301 0 Report post Posted March 4, 2011 --Double post-- sorry. Share this post Link to post Share on other sites
barroncuadro 0 Report post Posted March 4, 2011 Same here, a comprehensive list is something I've been looking for. Do the pagelines folks have that lying around somewhere? Share this post Link to post Share on other sites
pemburu 0 Report post Posted March 6, 2011 guess i'm having the same problem here: http://www.pagelines.com/forum/topic.php?id=6906 Support team, please come out with a list/mapping for the hooks. Share this post Link to post Share on other sites
barroncuadro 0 Report post Posted March 20, 2011 wondering if the pagelines crew thinks this is a possibility by the next release? would be super duper helpful for the advanced peeps trying to add elements, etc. Share this post Link to post Share on other sites
Simon 248 Report post Posted March 20, 2011 We are working on something better than a plain 'map', and its nearly ready! Share this post Link to post Share on other sites
samyone 0 Report post Posted March 20, 2011 Great ! I think it's a good idea Barron Cuadro... Something like a Vade-mecum or Cheat sheets. Template areas with hooks associated. Sometimes i really difficult to find where you can hook the area. Share this post Link to post Share on other sites
mickradford 0 Report post Posted March 20, 2011 Might be a little specific for this thread but does anyone know how to place an object in the nav section where the search box is? I have a "button" that launches a music player and this would be a great spot for it. Initially I created a custom section using the "pullquote" example (very well documented code BTW) but that places it above or below the nav. Then I experimented placing it directly with the navigation custom hooks and again, above, below etc but didn't get it in-line. Just wondering if there are any other hooks besides the four listed and if so how do I find them? Thanks! Share this post Link to post Share on other sites
cmunns 16 Report post Posted March 21, 2011 If you want it inline you probably will have to float it and play with the width for certain selectors. Share this post Link to post Share on other sites
parsac 0 Report post Posted August 14, 2011 Hi there, Any progress on a guide/map to all the hooks? Share this post Link to post Share on other sites
catrina 103 Report post Posted August 14, 2011 Here's a complete list of hooks: footer.php: 30 : pagelines_after_footer includes/core.init.php: 137 : pagelines_setup includes/core.init.php: 207 : pagelines_hook_init includes/config.templates.php: 71 : pagelines_register_sections includes/library.templates.php: 86 : pagelines_code_before_head sidebar.php: 12 : pagelines_before_sidebar_wrap sidebar.php: 48 : pagelines_after_sidebar_wrap sections/section.soapbox.php: 253 : pagelines_soapbox_links sections/section.soapbox.php: 258 : pagelines_soapbox_inside_bottom sections/section.twitterbar.php: 40 : pagelines_before_twitterbar_text sections/brandnav/section.brandnav.php: 35 : brandnav_after_brand sections/brandnav/section.brandnav.php: 46 : brandnav_after_nav sections/features/section.features.php: 368 : pagelines_feature_before sections/features/section.features.php: 371 : pagelines_fcontent_before sections/features/section.features.php: 376 : pagelines_feature_text_top sections/features/section.features.php: 390 : pagelines_feature_text_bottom sections/features/section.features.php: 393 : pagelines_fcontent_after sections/features/section.features.php: 400 : pagelines_feature_media_top sections/features/section.features.php: 411 : pagelines_feature_after sections/features/section.features.php: 427 : pagelines_feature_nav_before sections/boxes/section.boxes.php: 222 : pagelines_box_inside_bottom header.php: 12 : pagelines_before_html header.php: 18 : pagelines_head header.php: 27 : pagelines_before_site header.php: 30 : pagelines_before_page header.php: 33 : pagelines_before_header header.php: 39 : pagelines_before_main template.branding.php: 4 : pagelines_before_branding_icons template.branding.php: 13 : pagelines_branding_icons_start template.branding.php: 26 : pagelines_branding_icons_end template.branding.php: 31 : pagelines_after_branding_wrap template.postloop.php: 34 : pagelines_loop_post_start template.postloop.php: 38 : pagelines_loop_page_title_after template.postloop.php: 59 : pagelines_loop_post_header_start template.postloop.php: 84 : pagelines_after_excerpt template.postloop.php: 92 : pagelines_loop_before_post_content template.postloop.php: 106 : pagelines_loop_after_post_content template.postloop.php: 114 : pagelines_loop_post_end template.postloop.php: 125 : pagelines_loop_clipbox_start template.postloop.php: 130 : pagelines_loop_clip_start template.postloop.php: 151 : pagelines_loop_clip_excerpt_end template.postloop.php: 155 : pagelines_loop_clip_end template.postloop.php: 158 : pagelines_loop_clipbox_end template.content.php: 4 : pagelines_content_before_columns template.content.php: 7 : pagelines_content_before_maincolumn template.content.php: 15 : pagelines_content_before_sidebar1 template.content.php: 21 : pagelines_content_after_sidebar1 Please read the docs before posting. Please do not private message me unless I ask you to. Designer | Catrina Dulay Founder | Catrina and Mouse Share this post Link to post Share on other sites