Closed (fixed)
Project:
Ajaxify Drupal with JQuery Ajax
Version:
7.x-1.7
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2013 at 13:29 UTC
Updated:
26 Apr 2013 at 11:56 UTC
please add theme hook suggestions for custom page templates
Comments
Comment #1
roshkovanv commentedI used something like this:
Comment #2
serjas commented@roshkovanv , Thanks for the suggestion. You sure this will work even if we didnt copy the tpl to our theme?
Comment #3
roshkovanv commentedit will use 'page__ajax' if you don't have ex: 'page_news_ajax' template
Comment #4
serjas commentedComment #5
serjas commentedCan you give me one example test case , like when we need to use this?
Comment #6
serjas commentedIgnore my last comment.
With this commit , theme developer can alter page--ajax.tpl.php for particular path. For example if yoursite.com/user needed a different tpl than page--ajax.tpl.php, just create a page--user--ajax.tpl.php in your theme folder :)
Working on it now
Comment #7
serjas commentedcommited to latest 7.x-1.x-dev . Please check and give feedback
Comment #8
serjas commented