Closed (fixed)
Project:
Patterns
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Feb 2012 at 06:56 UTC
Updated:
20 Feb 2012 at 04:02 UTC
Referencing this comment (http://drupal.org/node/436590#comment-1489686) I am under the impression that Patterns module is designed to be able to find pattern YAML files in multiple pre-designated locations.
In this version, it looks like the module only sees them if they are in /sites/all/patterns/patterns.
I put valid pattern YAML files in /sites/default/patterns and it did not locate them.
-- text from interface --
Patterns will be looked for in files under the following locations:
sites/all/modules/patterns/patterns/
--
Comments
Comment #1
csko commentedThanks for your report. You are indeed right, this is an undocumented change.
This behavior has been changed quite a few times in the 7.x version, there has been a confusion among us whether this change is a "bug" or a "feature". we'll revise this once more and put an end to this. It should be fixed this week.
Comment #2
csko commentedWe've added some additional paths, making it similar to what it used to be. Also, now you can specify an extra path in the Settings tab. Let us know if that works for you.
Paths might change later, but hopefully not too much.
Comment #3
davidcsonka commentedSounds good, much less likely to accidentally lose my pattern files if they aren't stored in the module folder.
Comment #4
davidcsonka commentedTested on latest dev build. Functions as intended - thanks!
Comment #5
csko commentedThanks!