Closed (fixed)
Project:
Embed Views Display
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 May 2009 at 01:07 UTC
Updated:
15 Jun 2009 at 11:30 UTC
Jump to comment: Most recent file
views-view--embed.tpl.php is it working? from your blog post it seems not.
There is a similar issue with Views attach
#380248: views_attach displays do not have own template files; hilarity ensues
but it is not fixed either..
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | theme-path.patch | 853 bytes | merlinofchaos |
| #4 | 473784.patch | 4.31 KB | grndlvl |
Comments
Comment #1
pasqualleViews: #473786: Automatic theme template suggestion for new display types
Comment #2
pasqualle-
Comment #3
grndlvl commentedThanks for the heads up. I will try to get to this this weekend.
Thanks,
Jonathan
Comment #4
grndlvl commentedHere is the patch to implement the change for adding ability to theme embed views display.
I will commit once it has been tested.
Please let me know if this works out for you.
Thanks,
Jonathan
Comment #5
grndlvl commentedComment #6
pasqualleis this the only 1 template? and why embed_views_display_view is the template name? I really need all the additional display type templates provided by views.
like: (note: embed_1 is the display name in the examples, view_name is the view name)
without these I can't switch to embed display type..
Comment #7
grndlvl commentedOut of curiosity does all of the templates work w/ attach views... ? Maybe I did something wrong.... Not sure, this is turning out to be more in depth than I had originally thought.... will spend more time on it this weekend.
Thanks for you input Pasqualle.
Jonathan
Comment #8
grndlvl commentedComment #9
merlinofchaos commentedI just installed this to test. There's one minor problem. 'theme path' needs to be set to the Views theme directory so that the views-view.tpl.php file can be found.
Other than that, I tried a couple of different variations from the list provided in theme: information on the embed display and they work perfectly. Any problems you are experiencing are likely not the fault of the display here.
Comment #10
merlinofchaos commentedThis patch fixes the wrong theme path.
Comment #11
pasqualleconverted all my views with block display to embed display
renamed my "embed" style templates
cleared the cache
everything works correctly
Thank you Earl, perfect solution..
Comment #12
grndlvl commentedCommitted. Available in 6.x-1.1.
Thanks,
Jonathan