Closed (fixed)
Project:
Bootstrap
Version:
7.x-3.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2014 at 19:00 UTC
Updated:
15 Mar 2015 at 13:07 UTC
Jump to comment: Most recent
Comments
Comment #2
markhalliwellComment #4
claudiu.cristeaI updated to latest from 3.x by cloning with Git. After the update my template preprocess suggestion from a custom module,
mymodule_preprocess_message(), is no more invoked. It's true that I altered the registry and removed the 'base hook' from 'message' so that I cann provide the above suggestion but it worked till now with a Bootstrap build from February 2014. Now it's broken.Comment #5
shaundychkoTo get a theme suggestion working for a node template I had to set
$variables['theme_suggestion'] = 'node__type__viewmode';inTHEME_preprocess_node(&$variables).$variables['theme_suggestions'][] = 'whatever';is ignored.Then, in
THEME_preprocess_node__type__viewmodeit's necessary to set$variables['theme_suggestions'][] = 'node__type__viewmode'.Comment #7
heylookalive commentedHey Mark! +1 on this, I've got a custom template (harmony-post.tpl.php) in a module which has it's own preprocess (template_preprocess_harmony_post) and it's not being called. It only happens when I bring in a custom template into my bootstrap subtheme, weird! The template is used but the preprocess function doesn't get called. Weird! I think this is potentially related though could end up it's own issue.
Comment #8
markhalliwellI'm not entirely sure, but I think this is a dup of this related issue. Regardless, I know there is some weird stuff going on with that one, of which I am having a hard time reproducing out of the box. I've asked @ryan.armstrong to help in trying to track this down or at least provide some steps to reproduce. Maybe try 7.x-3.1-beta2?
Comment #9
heylookalive commentedMe neither now, I'm roaming around in entity api so am far away from specific themes so may have been a red herring. Once fixed will update but I'm thinking bootstrap isn't the problem!
Comment #10
heylookalive commentedYep ignore me, apologies. My issue was caused by Entity API stuff.
Comment #11
mosesdog commentedI'm having a similar issue with trying to do a page.tpl.php override by content type. I've put the appropriate preprocess_page code in the template.php file in the subtheme and added the page--contenttype.tpl.php file. Cleared the cache. It's not being called. Other things are being called from the template.php correctly. Any thoughts?
Comment #13
markhalliwellThis was fixed in 7.x. I had moved it to 8.x for porting, but that has been done as well already.
Do not re-open this issue, create a new one (if a valid bug) with clear steps on how to reproduce from stock core/bootstrap.
Re #11:
Pages do not have content type suggestions out of the box. #2128129: Provide setting to change sidebar/content widths attempted to add this capability, but was reverted and postponed for a later major.