Code development

Latest techniques in site development; simpletests, coding practices, scalability, deployment and so on.
ohtakazuki's picture

特定のユーザにコンテンツを表示し、既読/未読を管理したい

質問させて頂き、ありがとうございます。
以下ようなコンテンツを作りたいと考えています。当方、Drupalのスキルが低く、実現可能かどうかも分からない状況です。アドバイス頂けるととてもありがたく思います。
・ユーザをグループ化
・特定のグループに対してお知らせのようなコンテンツを配信
・既読/未読を管理

<前段階>
 ユーザをグループ化
 既読情報を格納するテーブルを用意?

<項目(管理画面でコンテンツ入力時)>
 件名
 本文
 配信対象の(コンテンツに権限のある)グループを指定(チェックボックスでチェックなど)

<項目(管理画面で入力済コンテンツを表示時)>
 件名
 本文
 配信対象のユーザ一覧と、既読/未読の識別

<項目(サイト側)>
 件名
 本文

質問
・上記のようなことを実現できるモジュールはありますでしょうか。
・ない場合、作り込みのアドレスを頂ければ幸いです。
 管理画面でコンテンツ入力時:
  hook_ENTITY_TYPE_createでグループからユーザを取得してコンテンツの項目として保存
 サイト側:
  配信対象のユーザが参照したら、既読情報をテーブルに保存
 管理画面で入力済コンテンツを表示時

Read more
ilericiler's picture

Could not get help from related module issue pages.

Addressfield_autocomplete / location_taxonomize problem. Could not get help from related module issue pages.

When addressfield_autocomplete module is active, location_taxonomize/location_taxonomize_af module can not parse location as taxonomy terms.
The alternative "addressfield_geocomplete" works normally but, it doesnt support map pinning.

The server is ready to debug and all necessary files are editable with an online editor. I will be sending the password (Same for Drupal User & Folder Access) if you can help me. Thank you.

Read more
rfmarcelino's picture

Drupal Dev Days

Start: 
2018-07-02 (All day) - 2018-07-06 (All day) Europe/Lisbon
Event type: 
Drupalcamp or Regional Summit

Drupal Dev Days 2018 Lisbon

Drupal Dev Days 2018

It's official! Save the date for Drupal Developer Days Lisbon 2018: 2 - 6 July, at ISCTE-IUL University.



More information about tickets and call for sessions coming soon!

Read more
daggerhart's picture

Views: Beginner to Advanced

Start: 
2017-09-11 16:00 - 17:30 America/New_York
Organizers: 
Event type: 
User group meeting

A practical exploration the Views module in Drupal 8 with discussion of best practices. We will create many views, both simple and complex, for a film review website. By the end of this presentation and discussion you should be much more familiar with the capabilities of Views and how to create almost any view to fit your needs.

Stream: https://www.twitch.tv/daggerhart

Read more
vacho's picture

Drupal 8 Transaction with entities

Is there any kind of transactional mechanism for Entities (D8), similar to SQL transactions, so that I could conveniently rollback in case of an error?

Read more
antoniomanco's picture

Schema and Microdata: How to add field content = myurlimage and Itemid = id_url in slideshow.tpl.php file?

Hi there

I'm adding directly in code: Schema Microdata and my website, but I have two problems:

1- I want to show the URL of my images in the slideshow.tpl.php module. I need only include the URL of the image in "content = url my first picture

As shown below:

I tried these codes php but without success:

<?php
print render($content['field_image']);
?>

<?php
echo render(file_create_url($node->field_image['und'][0]['uri']));
?>

thanks for your help

Read more
phparchitect's picture

php[world] 2015

Start: 
2015-11-16 08:00 - 2015-11-20 13:00 America/New_York
Organizers: 
Event type: 
Related event (ie. not Drupal specific)

From everyone at php[architect], we welcome you to this year’s php[world] conference. We strive to create an amazing experience for the greater PHP community that brings together developers from Drupal, WordPress, Joomla!, Magento, Zend Framework, Symfony, Laravel, CakePHP and more.

We invite you to explore the website to learn more about the conference, and if you have any questions for us, please don’t hestitate to contact us for more information.

Read more
frankgil's picture

Expert in Drupal 7 online course – Try it free for a week!

Only local images are allowed.
What are you waiting for join the most comprehensive training program in Drupal 7? Now you can try it free for a week!

And if you want to continue with the entire course, you can get a 10% off using the coupon code TRAINING10.

The Expert in Drupal 7 course includes Site Building and Development and is made up of 60 units and divided into 3 modules: Beginner, Intermediate and Advanced, with a total of 420 certified hours in 7 months.

Read more
aks22's picture

How to create Book based search in drupal 7.

Hi I want to know is there any way to create book based search.
If i have two books of content type book and want to set up a search which should be book based that is it should have filter where we can select book1 and book2.
As this need comes because in both the books there are some similar content and when
user is searching then the results are showing from both the books.
I tried several modules but all are Content Type based search provider and not book based.

Read more
plettster's picture

Drupal 7 Module Development - 2 day Online Course!

Start: 
2013-05-08 09:00 - 2013-05-09 16:30 America/Chicago
Organizers: 
Event type: 
Training (free or commercial)

Can't travel for training, but need to figure out how to build custom functionality into your Drupal 7 site? Join us via Webex for a 2 day course. Module Development will teach you how to get custom functionality using Drupal's hook system, as well as how to extend or alter contributed module functionality. 'plettster', our own Margaret Plett, will be the instructor. Cost is $800 per student, ask about group discounts.
May 8th and 9th from 9-4:30 both days.

Do you need Drupal 6, 7 or 8 training? Theming? Site Building? Module Development?

Read more
Subscribe with RSS Syndicate content

Drupal Dojo

Group organizers

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: