Drupal: Split View by Date - drupal

I'm currently working on a small website with a list of course dates.
I am using Drupal 7 with views for this. I made a view where all courses are sorted by dates, which is a quite long list, so I'm thinking of adding a headline, with the month between the headlines.
For example, now my list looks like this:
Course 1
Course 2
Course 3
...
And I want to have:
January
Course 3
Course 4
February
Course 3
Course 4
I'm quite new to drupal and so I hope anybody can help me. Thanks!

I found a solution which is working. In drupal views you can group your fields by a field value. I found a screencast which explains how to do it:
http://www.youtube.com/watch?v=Cp2SPiwA2Qg

Related

Filtering Drupal vocabularies

Apologies if this is a duplication - I'm a total newbie to Drupal and there's a fair chance I've read the answer to my question and just not realized it.
I have a simple vocabulary with 2 tiers. Structure is:
Canton
-Town
So looks like:
Vaud
-Vevey
-Montreux
Valais
-Sion
-Brig
I am trying to build a form with 2 separate fields as drop down list, 1 for canton and 1 for town, populated from the vocabulary where list 1 has only the cantons (1st tier of vocabulary) and 2nd only has towns (2nd tier) with the relationship to the canton.
Cant figure out how to do it ... after 2 days searching coming here for help.
Any guidance much appreciated

Woocommerce reuse values in variable products

I hope someone can help me with this :)
I will be selling a product that has 10 variables, but all the choices need to be the same for all, how can I add and reuse the values once instead of copying and pasting values 10 times?
What I will be selling is a 10 meal bulk package and each meal needs the
same choice values.
Picture of what I'm trying to achieve here
Thanks for any help in advance :) Scott
I have 3 different products, 5 meals, 7 meals and 10 meals in which the customer can choose their own meals, the attribute values will also be changing weekly. which at the moment I am pasting in new values 22 times in the edit product.
If I delete and duplicate the product I lose the URL
When I go to Products > attributes still the same making 10 attributes like meal 1, meal 2, meal 3 etc I can't duplicate them and have to do it all manually up to 40 times with new values.
[Picture Front end here]
(https://dl.dropboxusercontent.com/u/61411490/Screen%20Shot%202015-09-17%20at%2009.33.32.png).
This is a very late answer, but I have encountered the same issue and my solution might be of interest to the next person who happens on this question.
I am using WP All Import and the Woocommerce extension (both free, but variable products require a license) to maintain product details in excel. Updating data on the website is as easy as uploading a new CSV. Keeping data in sync in an excel file, with references, formulas, etc. becomes much easier, and you can often completely factor out duplicate data.
Instead of using Woocommerce's variable products, I created each version as a simple product and linked between them.

Symfony, previous and next links

I'm working with Symfony2.
I have to get links to the previous and next articles of loaded article.
for instance.:
I have 3 post (1, 2 and 3).
When I'm in Article 2 need to show links to articles 1 and 3 (previous and next)
Any idea how to do it efficiently?
thanks in advance
well the best hint i can give is to query for a date.
So the next article is the first one that is older and the prev article is the first one that is newer

Aggregate Rating Rich snippets for Google

VroomVroomVroom
At above link you can see something like: Rating: 4.5/5 based on 5 reviews of 10 votes.
After reading specs i know that Aggregate rating require atleast 1 of RatingCount or ReviewCount. But, my question is that: Can i show something like: Rating: 4.5/5 based on 10 reviews. Here 10 is RatingCount, but I am using reviews keyword. I am asking this because i don't want the site to get penalized by Google. Also, I shall always be showing latest 5-10 reviews in scrolling fashion.
FYI: I am using microdata style of Rich-snippets.
After some research and talking to SEO guys, I found that its permissible to change text as we require. Only Meta tags should be correct.

Model complex permissions based on groups

I am trying to model the following permissions in Plone and would like to know the best approach I should take:
Group 1 - Senior members
Group 2 - members
Group 3 - Senior members
Group 2 - members
All the members in the groups shouldn't be able to view any content item associated with them.
Senior members should be able to view and amend content items within their sub groups but should not be able to view each others content items - these content items all have a user_id field to indicate who the content belongs.
Members in sub groups should not be able to view content associated with senior members nor each others content items.
Thank You
I think you're going to get the same answers here as you got with your mailing list post: http://plone.293351.n2.nabble.com/Implementing-bespoke-access-control-levels-in-Plone-td6986879.html
You'll need to write your own local role adapter using http://pypi.python.org/pypi/borg.localrole. Perhaps take a look at http://pypi.python.org/pypi/borg.project as well and the article introducing it: http://www.martinaspeli.net/articles/developing-with-plone-3-borg.localrole-and
Try using collective.subscribable sections. I haven't fully tested it yet, but it seems to be doing the job for me. I went the borg.localrole route, and it was a major pain, and I was never happy with my solution.

Resources