Postponed (maintainer needs more info)
Project:
Patterns
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2009 at 12:23 UTC
Updated:
15 May 2009 at 10:52 UTC
Jump to comment: Most recent file
Comments
Comment #1
trevortwining commentedComment #2
ChrisBryant commentedI just downloaded this file and made sure it was named pvblock.yaml and put it in the modules/patterns/patterns/ folder and it showed when reloading the patterns listing admin page.
The two things to check are:
1. Make sure it's named pvblock.yaml and not pvblock.yaml_
2. Make sure that the pattern is placed in the modules/patterns/patterns/ folder or a sub folder of that. ie: modules/patterns/patterns/provision/pvblock.yaml.
Also, note that you can keep your patterns in one of the following folders which are better places to keep your patterns:
/sites/all/patterns/
/sites/default/patterns/
sites/sitename/patterns/
You can also organize them with sub-folders and they will still be recognized.
This way when you update the module you don't have to worry about the files in the patterns module folder.
Let us know if that does the trick or if we need to debug further.
Comment #3
vaish commentedHi Trevor,
Could you please confirm if suggestions in #2 solved your problem?
Thanks,
Vaish
Comment #4
cdale commentedIt doesn't look in /sites/all/patterns does it? Be cool if it did though, but from looking at the code, it would not appear that it does.
Comment #5
vaish commentedIt didn't look at 'sites/all/patterns' till now. I just added and committed that line. Thanks for mentioning.
Also, small clarification regarding the other paths searched for patterns:
/sites/default/patterns/
sites/sitename/patterns/
Above two paths are mutually exclusive. Patterns will search either one or the other but not both. "Default" is actually kind of a special case for "sitename", i.e. if "sitename" folder doesn't exist then "default" is used.
Comment #6
vaish commentedChanging status to "need more info" until I hear back from Trevor.