I have a few questions about whether Design Studio is appropriate in a
given situation with D7. Please feel free to opine on any!
1. Is it a good fit for redoing a category page and product display layout
for Commerce?
2. Is there a situation where you would not use it?
3. Given a situation where a 3rd-party widget will be on the page, and its
module puts it where you don't want it, such as the social Share button,
can it 'grab' that?
Thanks.
--
---
drupal.org/user/367108linkedin.com/in/jeffrgreenbergaccidentalcoder.com / ayendesigns.com
@accidentalcoder
Hi Jeff,
The custom node template should have two dashes after "node". So for example if your content type is called "Product Type" and the machine name is "product_type", then the node template would be "node--product_type.tpl.php". Note the double dash after node and then the underscore for the content type machine name. This is a change for Drupal 7 as in Drupal 6, it was "node-" with one dash.
That being said, you can also change the entire layout contextually for Omega by using Delta + Context. This powerful combo gives you the ability to change your Omega sub-theme layout based on a context such as content type, path etc… So now with your Delta theme variation, you can move zones around or whatever you want. It's pretty powerful and amazing.
I'd say the difference between using a custom node template and Delta + context is if you have specific fields that you want to theme that are unique to a content type, then use a custom node template or even Display Suite for that matter. If you want to entirely change regions and zones for a content type, i.e., change the page layout, then perhaps use Delta + Context.
A use case for Delta + Context then would be if you completely want to change the page layout for your home page. Omega 3.x does not use page.tpl.php or a variation thereof so in this case you would want to create a Delta template for <front> and then use a context for that.
Reference:
http://drupal.org/project/deltahttp://drupal.org/project/contexthttp://drupal.org/project/ds
I think there are some tutorials for this out there as well for Delta + Context.
-- Danny
Hi!
We are looking for a part time Drupal Consultant to help us design and develop Drupal themes. Please find the job description in the attachment.
Thanks!
Beiyi
Hello i'm building a site which theme is wine. The site is for online
selling of wines.
I come to ask if u could advice me a them for the effect.
--
Sérgio Araújo.
Hello everyone,
I have a quick question regarding Bootstrap and a Drupal theme I am developing and planning to add to drupal.org. The theme uses Bootstrap, and I was wondering what the rules are regarding including the Bootstrap CSS and JS files within the theme itself. Is this acceptable to do? Or do I need to leave it out and instruct users to manually download it and add the files in the necessary folder within the theme like I have seen some other Bootstrap themes on drupal.org do?
Thank you very much.
Brad