Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I did the following:
- Created folder /sites/all/themes/MYTHEME/panels/layouts/MY_LAYOUT/
- Copied over the Grid 2 panel theme from /sites/all/themes/omega/omega/panels/layouts/grid-2 into MY_LAYOUT
- Renamed all files in MY_LAYOUT to match them MY_LAYOUT name pattern (used _ instead of - for .inc file)
- Added plugins[panels][layouts] = panels/layouts to MYTHEME.info
- Added a custom page, selected the MY_LAYOUT layout, populated content I wanted
At this point I was feeling pretty good, all that was left was to save and preview. When I save and preview nothing shows up. When I view the page on my site nothing shows up. When I go into the source code I can see that the content is there but commented out with an HTML comment tag. I can't figure out why this is happening. Any suggestions?
Comments
Comment #1
HeathN CreditAttribution: HeathN commentedComment #2
HeathN CreditAttribution: HeathN commentedComment #3
HeathN CreditAttribution: HeathN commentedComment #4
HeathN CreditAttribution: HeathN commentedEverything is fine with how it is working. The problem is in how I am building the tpl.php page. I will open another issue for that.