Drupal Planet

Syndicate content
Drupal.org - aggregated feeds in category Planet Drupal
Updated: 11 hours 49 min ago

Valuebound: Drupal 8: How to create a custom block programatically

Mon, 12/19/2016 - 2:33am
span property=schema:name data-quickedit-field-id=node/212/title/en/rss class=field field--name-title field--type-string field--label-hiddenDrupal 8: How to create a custom block programatically/span span data-quickedit-field-id=node/212/uid/en/rss rel=schema:author class=field field--name-uid field--type-entity-reference field--label-hiddena title=View user profile. href=/user/9 lang= about=/user/9 typeof=schema:Person property=schema:name datatype= class=usernameJaywant.Topno/a/span span property=schema:dateCreated content=2016-12-19T07:33:52+00:00 data-quickedit-field-id=node/212/created/en/rss class=field field--name-created field--type-created field--label-hiddenMon, 12/19/2016 - 02:33/span
Categories: Drupal Feeds

Valuebound: Drupal 8: Custom Block Creation programmatically

Mon, 12/19/2016 - 2:33am
span property=schema:name data-quickedit-field-id=node/211/title/en/rss class=field field--name-title field--type-string field--label-hiddenDrupal 8: Custom Block Creation programmatically /span span data-quickedit-field-id=node/211/uid/en/rss rel=schema:author class=field field--name-uid field--type-entity-reference field--label-hiddena title=View user profile. href=/user/9 lang= about=/user/9 typeof=schema:Person property=schema:name datatype= class=usernameJaywant.Topno/a/span span property=schema:dateCreated content=2016-12-19T07:33:52+00:00 data-quickedit-field-id=node/211/created/en/rss class=field field--name-created field--type-created field--label-hiddenMon, 12/19/2016 - 02:33/span
Categories: Drupal Feeds

DrupalCon News: Expanding Drupal's Horizons

Mon, 06/27/2016 - 5:43pm
div class=field field--name-body field--type-text-with-summary field--label-hiddendiv class=field__itemsdiv class=field__item evenpWe already know that Drupal is more than just PHP. Now that the community has embraced the proudly found elsewhere mantra with the adoption of software projects outside the Drupal ecosystem, we're looking even further beyond. We want to hear about all the interesting ideas and projects you've been working on at the fringes of Drupal. We're not only interested in technical solutions, but also thoughts around what we can learn as a community from all the other people out there building things on the Internet./p/div/div/div
Categories: Drupal Feeds

Attiks: Dream Fields for Drupal 8 - part 2

Mon, 06/27/2016 - 4:36pm
pFollow up post, to catch up read a href=/blog/dream-fields-for-drupal-8the first post/a/p pThis time I went to a href=https://attiks.com/Zo8Drupal Dev Days in Milan/a to work some more on the new Field UI proposal. a href=https://attiks.com/ZoX@Bojhan/a a UX specialist suggested to use images/tiles to make it easier to use, he started working on designing some images, while I adapted the code./p pBy a href=https://attiks.com/peter-droogmans?pk_campaign=planetpk_kwd=authorPeter Droogmans/a /p
Categories: Drupal Feeds

DrupalCon News: Building the sites of tomorrow

Mon, 06/27/2016 - 11:17am
div class=field field--name-body field--type-text-with-summary field--label-hiddendiv class=field__itemsdiv class=field__item evenpIt’s often said that you can can find 80% of what you need to build a site in Drupal with a smart combination of Drupal core and the right contributed community modules./p pMastering site building in Drupal can save thousand of hours of development and coding time, reinventing a wheel that is already spinning perfectly in thousands of other websites./p/div/div/div
Categories: Drupal Feeds

Tim Millwood: Workflow Initiative: What am I doing?

Mon, 06/27/2016 - 10:45am
The Workflow Initiative was announced just over a month ago and since then I have been working on...
Categories: Drupal Feeds

Liip: Personal report about Drupal Developer Days Milano 2016

Mon, 06/27/2016 - 7:55am
pa href=http://milan2016.drupaldays.orgDDD/a is mostly for #8211; surprise! #8211; Drupal developers. This year it took place between 21 and 26 of June in Milan. People were on code sprints all week long and on Thursday, Friday and Saturday there were sessions and workshops as well./p pI went to 2 sessions. The a href=http://milan2016.drupaldays.org/keynotes/bojan-zivanovickeynote/a of a href=https://www.drupal.org/u/bojanzBojan Živanović/a was about building reusable php libraries. Bojan is the architect behind Drupal Commerce 2 which is a prominent example of adopting the #8220;leave the Drupal island#8221; principle. They are not only advocating the usage of external solutions in Drupal but also creating libraries that are usable outside Drupal./p pThe a href=http://milan2016.drupaldays.org/node/119session/a of a href=https://www.drupal.org/u/zsofimajorMajor Zsófi/a about organizing Drupal events could not have been given from a more authentic source. She shared her experience about the practical aspects of building a community and the importance of providing coffee/a./p pAll session recordings are or will be available online./p pI attended three workshops. A a href=http://milan2016.drupaldays.org/node/135really excellent one/a by a href=https://www.drupal.org/u/floretanFlorian Loretan/a was about the trending search solution, elasticsearch. a href=https://www.drupal.org/u/pfrenssenPieter Frenssen/a had a a href=http://milan2016.drupaldays.org/node/115workshop/a about Automated testing in Drupal 8. For me this proved to be the most valuable one since I could not keep up with the changes in this field since Drupal 7 and I need it in my contrib work. All my respects to Pieter who was able to present for 3.5 hours in a way that noone fell asleep even though we were just after lunch./p pThe third a href=http://milan2016.drupaldays.org/node/63workshop/a I attended was my own 2 hours workshop about Caching in Drupal 8. I learnt a lot about this important topic during preparation and since only around one person left the room it might have been useful for the audience as well./p pIn the sprint room I joined the Commerce team. The team seemed to have been cursed. A laptop was stolen from the sprint site on Wednesday. Then on Thrusday night Bojan#8217;s MacBook got also stolen from a restaurant with days of uncommitted work. In spite of this we could finish several issues in the Commerce, Commerce Migrate, Token and Address modules./p div id=attachment_8397 style=width: 310px class=wp-caption alignlefta href=https://blog.liip.ch/content/uploads/2016/06/IMG_0396.jpgimg class=wp-image-8397 size-medium src=https://blog.liip.ch/content/uploads/2016/06/IMG_0396-300x200.jpg alt=Sightseeing with drupalists //ap class=wp-caption-textSightseeing with drupalists/p/div pBut the most important part of DDD was the social aspects. I met old friends and got to know new interesting people. Wednesday evening there was a quantitywise challenging dinner for speakers. On other nights we visited several parts of the beautiful city of Milano. Huge thanks to all the organisers, you did an amazing job! Hope to see you next year!/p
Categories: Drupal Feeds

Vardot: Most Popular Drupal University Websites in the Middle East

Sun, 06/26/2016 - 8:04am
a href=/blog/categories/case-studiesCase Studies/a span class=read-timeRead time: 15 minutes/span img typeof=foaf:Image class=img-responsive src=https://www.vardot.com/sites/default/files/styles/large/public/content/blog/blog_10051_716_1466946296.png?itok=dbiJSFWK width=695 height=347 alt=Most Popular Drupal University Websites in the Middle East title=Most Popular Drupal University Websites / p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThere are several interesting rankings of/spana href=http://www.zyxware.com/articles/2823/the-top-10-government-sites-built-with-drupal top government sites built with Drupal/a. However, Drupal is good not only for Ministries and NGOs - it is also a great choice for schools and universities. Harvard, Yale, MIT and many other of the most prominent schools worldwide choose Drupal as a CMS for their sites because of its scalability, flexibility and security./p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853ecea href=https://www.vardot.com/blog/why-drupal-always-win-you-626Complete list of Drupal advantages/a/span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceBut what about the Middle East? Do Arab universities and schools realize the benefits that Drupal can give them or do they still use cheaper solutions? Only a deep dive into the knowledge pool of various universities’ websites can help us reach a conclusion. Thus, we made a detailed study into the same and prepared the list of 10 most popular Arabic educational Drupal websites according to Alexa global rank./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceBeing formatted in ascending order, the list contains the basic introduction about each university, its Drupal version, Alexa global rank and the general features of its website witnessed by a common visitor. Here are the top 10 universities located in Middle East./span/p p /p h3 dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853ece10. /spana href=http://psut.edu.jo/Princess Sumaya University For Technology/a/h3 p dir=ltrimg alt= Princess Sumaya University For Technology title= King Saud University height=306 width=627 class=media-element file-default img-responsive typeof=Image src=https://www.vardot.com/sites/default/files/10.png //p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceAlexa Global Rank: 293,597/span/em/p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceDrupal Version:  7.3x/span/em/p p dir=ltr /p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceFounded by the Royal Scientific Society in 1991, Princess Sumaya University for Technology is actually the most prominent Applied Research Center situated in Jordan. It is a non-governmental and non-profit university that offers Bachelor amp; Master programs in all the engineering disciplines. Apart from this, the university offers higher education programs in Business Management as well./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853ecePrincess Sumaya University for Technology consists of four schools; each school delivers quality education in its specialized discipline. This means Computer Science, Engineering, Business Management, and Research each have their own specialized school at the university./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThe university website is a unique blend of creativity and technical capabilities. The design itself displays an excellent thought process utilized in its development. The usability, user experience and easy navigation are the features this website contains. The high definition pictures of the university kept in homepage slide add a feather to the cap of this user-friendly website./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceA homepage in 5.97 MB size takes only 4 seconds to load shows its feature of speed friendly website. Rather than filling the homepage with so many elements, the most prominent features such as e-services, e-learning, media, video gallery, sitemap etc. have been given a highlighted space. All other informative links have their perfect position in the header and footer./span/p p /p h3 dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853ece9. /spana href=http://www.gju.edu.jo/German Jordanian University/a/h3 p dir=ltrimg alt= German Jordanian University title=German Jordanian University height=322 width=622 class=media-element file-default img-responsive typeof=Image src=https://www.vardot.com/sites/default/files/9.png //p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceAlexa Global Rank: 276,566/span/em/p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceDrupal Version:  7.3x/span/em/p p dir=ltr /p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceGerman Jordanian University, founded in 2005 in Mushaqqar, Jordan comes on 9th position among top 10 Universities in Middle East. The university was established with a motto of enhancing knowledge transfer between Jordan and Germany by blending together their best educational models./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceCurrently, the university is offering 20 undergraduate and graduate programs to approximately 5000 students in which female students are almost the half. The university has its own specific curriculum different from all the other Jordanian universities, because it has been developed in relevance to the German Applied Sciences model./span      /p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceJust like its unique curriculum and rich education methodologies, the Website of the German Jordanian University is also a unique one in its thought process. The best designed and the easiest usability makes it better than all the previous options. The homepage slide containing the real pictures of university students and campus displays everything you want to know about the university. The color theme, graphics and other technical elements are excellently utilized and thus, make it a user-friendly website./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThe Homepage is 4.1 MB, but still takes only 3.34 seconds to load. Both the header and footer contain links that directly navigate you to the information you are looking for. Thus, the usability, user experience, and speed are better than your expectations. See the announcements slide below the university pictures. You are kept updated with all the latest announcements on the Homepage itself./span/p p /p h3 dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853ece8. /spana href=http://ub.edu.sa/University of Bisha/a/h3 p dir=ltrimg alt= University of Bisha title=University of Bisha height=252 width=629 class=media-element file-default img-responsive typeof=Image src=https://www.vardot.com/sites/default/files/8_1.png //p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceAlexa Global Rank: 202,495/span/em/p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceDrupal Version:  7.4x/span/em/p p dir=ltr /p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThe eighth position among top 10 universities in Middle East has proudly been secured by University of Bisha located in Saudi Arabia. Founded only a couple of years ago the university has achieved a worldwide recognition by offering quality higher education. Certain features such as quality education, modern infrastructure, students’ friendly campus especially for girls and latest educational amp; technical amenities are responsible for giving the best learning experience to students, here, at University of Bisha./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853ece‘Simplicity dipped into soberness’ is the easiest phrase to describe its website in short. The homepage itself exhibits the uniqueness of thought process, utilized while developing the website. The very first positivity that hits a visitor is its multilingual accessibility. The website is accessible both in Arabic and English language making it easy for non-Arabic visitors to find the information they need./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceApart from this, the header is designed with a feature of easy navigation, especially for the students and faculty. Here the students and employees are given an easy navigation to the links they need as the information in these links each have its specific page. And in the footer every link has been individualized with a specific logo.  /span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceWhen we look into the technical features of the website, we find it perfect here also. The homepage is made of 7.8 MB size that takes only 6.50 seconds to load making a speed-friendly. In a nutshell, the university website has all the features to recognize it as a user-friendly website.  /span/p p /p h3 dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853ece7. /spana href=https://www.gust.edu.kw/Gulf University for Science amp; Technology/a/h3 pimg alt= Gulf University for Science amp;amp;amp; Technology title=Gulf University for Science amp;amp;amp; Technology height=331 width=625 class=media-element file-default img-responsive typeof=Image src=https://www.vardot.com/sites/default/files/7.png //p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceAlexa Global Rank: 155,830/span/em/p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceDrupal Version:  7/span/em/p p dir=ltr /p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceFounded in 2002, Gulf University of Science amp; Technology (GUST) commonly known as Gulf University is a private university located in West Mishref, Kuwait. It seems really surprising that a young University that celebrated its first commencement ceremony in June 2007 stands on the 7th position among the top 10 universities in Middle East./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceCurrently, Gulf University has been inculcating capable professionals in various technical and professional disciplines. Approximately 145 well-known academic faculty members from 31 different countries have been saturating their meticulous knowledge and skills to thousands of students./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThe blue and white color combination of the website makes it catchy and attractive. The website has been developed in relevance to the usability and user experience. Though the heavy homepage of 2.4 MB slows down its speed as it takes 7.61 Seconds to load yet the easy navigation and smooth functioning makes a visitor forget the speed issue. And also, the website is available in English version only, it sometimes creates language problem for Arabic native speakers./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceSimple but impressive exhibition of all the website elements and relevant links makes it a user friendly website. There is no hustle-bustle of content, sections, or links on the homepage. You will find only the required information on it. Thus, it can be called a cutting edge website that has the capacity to grab good reviews from the visitors./span/p p /p h3 dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853ece6. /spana href=http://psau.edu.sa/Prince Sattam Bin Abdulaziz University/a/h3 p dir=ltrimg alt= Prince Sattam Bin Abdulaziz University title=Prince Sattam Bin Abdulaziz University height=282 width=611 class=media-element file-default img-responsive typeof=Image src=https://www.vardot.com/sites/default/files/6.png //p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceAlexa Global Rank: 38,831/span/em/p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceDrupal Version:  8/span/em/p p dir=ltr /p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceAmong top 10 universities in the Middle East, Prince Sattam Bin Abdulaziz University owns the proud position of being on the sixth rank. Formerly known as Prince Salman Bin Abdulaziz University or the University of Al-Kharj, Prince Sattam Bin Abdulaziz University was established in 2007 in the city of Al-Kharj, Saudi Arabia./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThe current name of the university was adopted in the beginning of 2015. Currently, the university is delivering higher education to approx 30,000 students in 80 different programs. It is only the quality education that has brought various national and international accreditations for different programs./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThe university has an excellently designed website that is built with the latest Drupal 8. It greatly /spanspanspeaks about the university, its features, academic programs, and guidelines for a new visitor. The header in the website contains everything in a nutshell. Whatever information is required related to administration, courses, jobs, research programs, and more, the header will provide a direct link to the same. Thus, the website features an easy navigation for a visitor./span/p p dir=ltra href=https://www.vardot.com/blog/7-reasons-why-now-right-time-move-drupal-8-606Main reasons to migrate to Drupal 8/a/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThe homepage that acquires a size of 1.1 MB takes 4.2 seconds to load. It designates the website to be speed-friendly. The social media platforms of the university have been given a place at the right top. All the other useful links have been placed in the footer. The website, thus, provides a user-friendly experience as well. So, the overall experience of the website is very positive./span/p p /p h3 dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853ece5. /spana href=https://www.mu.edu.saMajmaah University/a/h3 p dir=ltrimg alt= Majmaah University title=Majmaah University height=263 width=626 class=media-element file-default img-responsive typeof=Image src=https://www.vardot.com/sites/default/files/5.png //p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceAlexa Global Rank: 37,501/span/em/p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceDrupal Version:  7.4x/span/em/p p dir=ltr /p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceFounded in 2009 in Al Majma'ah region, Majmaah University can be regarded as one of the youngest universities located in Saudi Arabia. Having a total number of 13 academic schools, the university has been established with a motto of expanding higher education around the region and providing quality education to the growing number of young graduates in the Middle East./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceIt is one of the only perfect utilization of educational resources and the unified efforts of management, faculty and students established just within 7 years; Majmaah University stands tall on the fifth rank among top 10 universities in the Middle East with Drupal website. Currently, the university offers diploma, bachelor, masters, and research programs in various disciplines./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThe university website has also played a major role in bringing the university to its heights. The Website of Majmaah University is an outcome of rich creativity and professional capabilities. The beautiful layout of the website, the extraordinary color combination, and unique design concept is really a treat to the eyes when visited for the first time. The high definition picture on the homepage showing students from various streams brings an artistic touch./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceIn technical terms, the website is capable enough to provide an excellent experience to its users. A size of 1.5 MB takes only 1.28 seconds for the homepage to load. The header has all the sections and subsections with links that take the visitor directly on the page he/she wants. So the navigation feature of the website is just as a user likes. Thus, the website contains all the features of being speed-friendly and user-friendly./span/p p /p h3 dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853ece4. /spana href=http://kku.edu.sa/King Khalid University/a/h3 p dir=ltrimg alt= King Khalid University title= King Khalid University height=239 width=614 class=media-element file-default img-responsive typeof=Image src=https://www.vardot.com/sites/default/files/4.png //p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceAlexa Global Rank: 30,282/span/em/p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceDrupal Version:  7.4x/span/em/p p dir=ltr /p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceBeing established in 1998 in Aseer region, KKU has evolved into a premier institution in Saudi Arabia just within a short span of time. The various factors such as modern infrastructure, latest educational amenities, a wide gamut of undergraduate, graduate and postgraduate programs, a large number of disciplines, meticulous faculty and much more have elevated the reputation of the university throughout the Middle East./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceRecently, King Khalid University (KKU) has secured the 604 rank among top 700 universities in the world and also achieved a prominent position among the best universities in the Middle East. Inculcated from the merger of two schools, King Khalid University also enjoys the designation of the biggest academic institution saturating quality higher education to approx 72000 students./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThe university website exhibits really a different design and thought process. The whole website designed on a white background looks so beautiful in the first look. The pictures have been utilized on the website just in accordance to the theme of the page./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThe website’s homepage having a size of 3.0 Mb is overfilled with the informative links yet it only takes 5.36 seconds to load. And also, the visitors find it easy to operate due to its well designed header amp; footer. Thus, the website is sure to get good reviews from the visitors in relevance to the user experience.  /span/p p /p h3 dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853ece3. /spana href=http://www.uod.edu.sa/The University of Dammam/a/h3 p dir=ltrimg alt= The University of Dammam title=The University of Dammam height=278 width=623 class=media-element file-default img-responsive typeof=Image src=https://www.vardot.com/sites/default/files/3.png //p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceAlexa Global Rank: 26,233/span/em/p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceDrupal Version:  7/span/em/p p dir=ltr /p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThe third rank among the top ten Middle East universities goes to the University of Dammam located at Dammam, Saudi Arabia. The university that was established in 1975 with two colleges – College of Medicine and College of Architecture has now expanded into 21 colleges in the Eastern province. From graduate to research programs, the University of Dammam is providing quality education to approx 45000 students. Currently, the University has been offering a broad spectrum of bachelor, masters, and research courses in Medicine, Engineering, Science and Management and Arts disciplines./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThe university website has been developed and maintained meticulously. The very first advantage of the website is its rich content framework. Every section, every landing page contains a rich informative content. Secondly, the color combination of the website is really fantastic. The beautiful combination of blue, white and cream colors make it look more beautiful. And the multicolored main menu on homepage looks like a rainbow on a white sky. Thirdly, each page link is available on the homepage that makes the website navigation an easy task. The header and the footer have all the required links that make it easy to navigate to the required page./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThe website homepage takes only 3.20 seconds to load due to its speed-friendly size of 585.6 KB. Therefore,, the website is not only easy to operate but provides a speedy navigation as well. Thus, the website provides a better user end experience./span/p p /p h3 dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853ece2. /spana href=http://www.aucegypt.edu/The American University in Cairo/a/h3 p dir=ltrimg alt= The American University in Cairo title=The American University in Cairo height=234 width=632 class=media-element file-default img-responsive typeof=Image src=https://www.vardot.com/sites/default/files/2.png //p pemspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceAlexa Global Rank: 22,309/span/em/p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceDrupal Version:  7.4x/span/em/p p dir=ltr /p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceBeing established in Egypt in 1919, The American University in Cairo was founded by Charles A. Watson. Though AUC was the first English-University in the Middle East, yet it was established with a motto of contributing to the intellectual, social and cultural growth of the Arab World. In the beginning, it was both a preparatory school and a university with only men allowed to get admission./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceSince its inception, AUC went through various changes and advancements that shaped it into the 2/spannd most famous university in the Middle East. Currently, AUC is spread in 260 acres having 25 departments and institutes, and offering approximately 36 undergraduate, 44 masters, and two research programs./p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceWhen it comes to the AUC website, the very first thing that strikes in a visitor’s mind is that the university website is so simple and sober. A beautifully designed yet an easily accessible website that makes a visitor grab his/her required information by going directly to the specific link. Both the main menu navigation and the footer have all the required links to navigate on the specific page you require. You can also see all the social media symbols on the footer that will direct you on the social platforms of the university./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThe website saturates a pleasing user end experience due to its perfect design, impressive landing pages, good speed, and easy navigation. The home page is so impressively designed that it attracts a visitor to explore more into it. The real pictures of the university add beauty to the website. And mainly the homepage that is of 1.0 MB takes only 2.11 seconds to load. Thus, in terms of speed and navigation, the website is really user-friendly./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853ecea href=https://www.vardot.com/blog/another-university-chooses-drupal-introducing-american-university-cairos-new-website-441Vardot Introduces the American University in Cairo's New Website/a/span/p p dir=ltr /p h3 dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853ece1. /spana href=http://ksu.edu.sa/King Saud University/a/h3 p dir=ltrimg alt= King Saud University title=King Saud University height=303 width=601 class=media-element file-default img-responsive typeof=Image src=https://www.vardot.com/sites/default/files/1.png //p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceAlexa global rank: 6,098/span/em/p p dir=ltremspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceDrupal version: 7.43/span/em/p p dir=ltr /p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceEstablished in 1957, King Saud University owns the pride of being not only the first but also the most famous University in Saudi Arabia. In 1953, Abdulaziz al Saud announced to establish the first higher education institution in Saudi Arabia to enhance the cultural and scientific knowledge in the country along with spreading Islamic faith among the coming generations. Subsequently, King Saud University was founded in Riyadh./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceToday, the university has been accelerating higher education in all the streams such as Engineering, Medical Sciences, and Humanities and so on. Being a premier institution with 24 colleges, King Saud University has been ranked no. 1 in the Middle East. The greatest feature of the university is that it has separate colleges for girls just to initiate higher education among girls in a country where girls don’t enjoy much freedom in their social life./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceThe Website of King Saud University presents an actual display of the university itself. The very first feature of the university website is its compatibility in English language along with Arabic. It enables the visitors throughout the globe to find the information they require. Secondly, the website has been designed and executed in a way that stresses more on giving the detailed knowledge into everything rather than focusing on designs only. Thirdly, each informative topic on the website has a different page for it and is easily accessible for a visitor to find his/her relevant information./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceIf we talk about the user end experience, everything on the website such as design, speed, content, and information is capable enough to grab good reviews and a five-star rating from its visitors. The homepage size is only 1.3 MB that just consumes 3.50 seconds to load.  /span/p p /p h3 dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceConclusion/span/h3 p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceAs promised, we have presented a deep insight into every university’s basic information. Though all the information is just true as it is taken from reliable sources yet only the figures may differ sometimes according to the changing trends./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceAlthough the most of these websites are relatively new, they have achieved great popularity and high rankings. On one hand their popularity depends on high academic level and number of students, but on the other hand Google doesn’t rank high websites that have problems with the code and are not SEO-optimized. The success of sites listed in this article is also achieved with their powerful CMS./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceDrupal is the latest Content Management System in vogue these days. Having various versions, Drupal saturates the achievements for a website far above the expectations. And that’s the reason why most of the academic institutions or schools in the Middle East prefer Drupal distributions when building their websites./span/p p dir=ltrspan id=docs-internal-guid-846624ec-8cc6-7e41-df1f-281ac9853eceIf you have plans to build a site and achieve highest rankings, Drupal is the right fit for you. For assistance migrating to Drupal or building a modern website for your university, a href=https://www.vardot.com/contactcontact Vardot/a./span/p Tags:nbsp; a href=/taxonomy/term/236 typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Drupal Planet/a a href=/blog/tags/higher-ed-schools typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Higher-ed amp; Schools/a a href=/blog/tags/drupal-8 typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=drupal 8/a div class=field field-name-title-field field-type-text field-label-above clearfix div class=field-label Title:nbsp; /div div class=field-item even Most Popular Drupal University Websites in the Middle East /div /div
Categories: Drupal Feeds

ARREA-Systems: Custom Block in Drupal 8

Sat, 06/25/2016 - 8:56pm
span property=schema:name class=field field--name-title field--type-string field--label-hiddenCustom Block in Drupal 8/span div class=field field--name-field-image field--type-image field--label-hidden field__item a href=/node/26img property=schema:image src=/sites/default/files/styles/medium/public/2016-06/d8_block.jpg?itok=DBFboXor width=220 height=82 alt=Drupal 8 blocks example typeof=foaf:Image class=image-style-medium / /a /div span rel=schema:author class=field field--name-uid field--type-entity-reference field--label-hiddenspan lang= about=/user/9 typeof=schema:Person property=schema:name datatype=JK/span/span span property=schema:dateCreated content=2016-06-26T01:56:48+00:00 class=field field--name-created field--type-created field--label-hiddenSun, 06/26/2016 - 09:56/span div property=schema:text class=clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__itempIn this article, we will see how we built custom blocks in a href=http://ek.demo.arrea-systems.comEK management tools suite/a with a sample basic block in a module called 'mymodule' used for demo. It can be used to display multiple content, static or dynamic as in the example above./p h3Create the block script/h3 pFirst we will create a script that will display some content within a block. the script file will be called emMyBlock.php /emand is placed in em/mymodule/src/Plugin/Block/./em/p pbr /code/**br /  * @filebr /  * Contains \Drupal\mymodule\Plugin\Block\MyBlock.br /  */br / namespace Drupal\mymodule\Plugin\Block;br / use Drupal\Core\Block\BlockBase;br / use Drupal\Core\Session\AccountInterface;br / use Drupal\Core\Access\AccessResult;/code/p pcode/**br /  * Provides a 'Custom module widget' .br /  *br /  * @Block(br /  *   id = my_block,br /  *   admin_label = @Translation(My custom block),br /  *   category = @Translation(mymodule Widgets)br /  * )br /  *//code/p/div div class=node__links ul class=links inlineli class=node-readmorea href=/node/26 rel=tag title=Custom Block in Drupal 8 hreflang=enRead morespan class=visually-hidden about Custom Block in Drupal 8/span/a/lili class=comment-adda href=/node/26#comment-form title=Share your thoughts and opinions. hreflang=enAdd new comment/a/lili class=statistics-counter2 views/li/ul /div
Categories: Drupal Feeds

DrupalEasy: A Deep Dive into Views in a Unique Fashion (Book Review: Mastering Drupal 8 Views)

Sat, 06/25/2016 - 12:52pm
pimg src=https://www.drupaleasy.com/sites/drupaleasy.com/files/2016-06/Mastering_Drupal_8_Views_cover.png alt=Mastering Drupal 8 Views book cover //p pGregg Marshall's a href=https://www.amazon.com/Mastering-Drupal-Views-Gregg-Marshall/dp/1785886967/Mastering Drupal 8 Views/a is one of the (I can only assume) many Drupal 8-focused books that will be released in the coming months. It is a very good deep dive into many of the hidden corners of the Views module, albeit with an interesting format. Not completely structured like a typical how-to software book, Gregg takes a bit more of a novel approach (pun intended) - he takes the reader on a journey through the Views module through the eyes of Lynn, a small business owner (Lynn's cat and Drupal consultant also have prominent roles). While some readers might find the story-ish elements distracting, they add a certain degree of warmth to the book - something I can only assume a subset of readers will more than appreciate./p pThe author does a nice job of setting the stage, identifying the intended audience for the book, and speaking directly to them (through the book's characters). There are sections of the book that may cause confusion with this structure, on several occasions I found myself reading long, multi-paragraph sections that I didn't immediately realize that a character was speaking, and not the author. It seems that the use of quotations to indicate when characters were speaking was not consistently applied./p pWhile the technical content of the book is often well-written and clear, there are some places in the book where things seem out-of-order - none more so than the first lesson diving into the Views settings page - something that most people new to the subject don't need to consider until they need to modify the (very sane) default values. Another example early in the book has the author creating a new view display prior to a full explanation of what Views display are./p pThere are, however, many areas of great explanation on topics that I don't recall ever seeing in other Drupal-related books. Sections on the new entity reference and REST export display types stood out in the first few chapters, as well as some of the best explanations (and details) on the table format, and field rewrites (more on this in a bit)./p pThere are several lessons that have starting points that aren't necessarily considered best practice, including one that has the reader cloning the admin/content view as a starting point for a public facing view. In my opinion, the reader would be better served by starting a brand new view using the Views wizard interface. As a stickler for best practices, there were several things in the book that made me cringe a bit, including the use of the (outdated?) GMap and Location modules (instead of Geofield-related modules) and (even more so) the use of the admin area's Install new module functionality./p pI found the discussion and lessons around contextual filters to be extremely effective. The story-ish nature of the book allowed the author to almost naturally introduce a problem that is elegantly solved with contextual filters. Along with relationships, contextual filters are often one of the major stumbling blocks in learning Views, and this book does as good a job as anything else I've read and taking the reader down in the deep, dark recesses of it (Default value options included!) The chapter on Views relationships is similarly structured and just as effective./p pThis is perhaps one of the only Drupal books I've read that purposely sends the reader (in this case, the main character as well) down a dead-end in order to introduce a new topic. I think that many readers will find this comforting, in that it allows the author to introduce a new topic in order to direct the reader to a solution./p pAs a big fan of display modes, combined with the fact that they are much more visible in Drupal 8, I hoped that the author would utilize them more often in the various lessons (instead of relying on adding fields to most views)./p pThe book really shines in chapters that normally are only a small section in other Drupal resources. There is an ementire chapter/em on field rewrites, and it is wonderful. The author takes Lynn and the reader through various examples, each exposing a new aspect of field rewrites. For anyone who doesn't dare dive into this section of Views field configuration, this chapter alone is worth the price of the book./p pThe chapter on all the settings in the Advanced fieldset is also something that the author covers extremely well. In most Views references, many of these settings are glossed over, but this book provides an almost (aggregation isn't covered as deeply as I hoped) complete reference to all the various available settings./p pWhile the vast majority of the examples in the book are well structured, many of them depend on content types and other information architecture that exists on Lynn's site. While details of the information architecture are provided in an appendix, it would be very helpful for the author to provide them via GitHub or some other electronic mechanism to readers. Otherwise, it seems like a tedious and error-prone process for readers to recreate the information architecture on their own in order to follow the examples in the book./p pThe author does a nice job of walking the reader through the use of several Views-related contributed modules as well. For my taste, I think there should have been just a little more explanation about how various contributed modules fit together with Views. As an example, the fact that Views Slideshow provides a new display plugin is glossed over. I think it would serve the readers well to specifically mention that many Views related modules are simply plugins for various parts of the Views infrastructure. This would provide readers with a higher-level view of the Views ecosystem. That's a bit of a nitpick though, as this section is really, really solid./p pOne of the last chapters in the book covers theming views, and I think it doesn't go into enough details and/or examples. The section on adding CSS classes to various parts of a view is very useful, but the section on overriding template files feels incomplete./p pOverall, this is a welcome addition to the Drupal family of books, and one that I can honestly recommend for users that feel like there are aspects of the Views module that are still a mystery to them. The novel-like structure of the book normally doesn't get in the way of the lesson, but for readers who normally doesn't read technical books front-to-back (instead cherry picking only chapters of interest), it might be a bit distracting. While this is properly identified as a Drupal 8 book, much of the content is also valid for Drupal 7, including some of (in my opinion) the strongest chapters./pdiv class=feedflare a href=http://feeds.feedburner.com/~ff/DrupalEasy?a=P9gq_MAhvKQ:ghaE2HGEpWM:yIl2AUoC8zAimg src=http://feeds.feedburner.com/~ff/DrupalEasy?d=yIl2AUoC8zA border=0/img/a a href=http://feeds.feedburner.com/~ff/DrupalEasy?a=P9gq_MAhvKQ:ghaE2HGEpWM:qj6IDK7rITsimg src=http://feeds.feedburner.com/~ff/DrupalEasy?d=qj6IDK7rITs border=0/img/a /divimg src=http://feeds.feedburner.com/~r/DrupalEasy/~4/P9gq_MAhvKQ height=1 width=1 alt=/
Categories: Drupal Feeds

qed42.com: Pan India Code Sprint - Pune Edition

Sat, 06/25/2016 - 7:42am
span property=schema:name class=field field--name-title field--type-string field--label-hiddenPan India Code Sprint - Pune Edition/span div class=clearfix text-formatted field field--name-body field--type-text-with-summary field--label-above div class=field__labelBody/div div property=schema:text class=field__itempDrupal India Community have been talking about Pan India code sprint and with effort and cooperation of regional communities we were finally able to a href=https://groups.drupal.org/node/511653organise a combined sprint/a, we had participation from Mumbai, Jaipur, Delhi and Pune. This is an account of Pune sprint which happened at QED42 Office in Viman Nagar. We had a total attendance of 10 Drupalers out of which 2 were first time sprinters ( Congratulations a href=https://www.drupal.org/u/dhruveshdtripathiDhruvesh/a and a href=https://www.drupal.org/u/shreyal999Shreyal/a on attending your first sprint :) )./p pThe focus of the sprint was porting modules from D7 to D8 and trying to reach stable releases of some of the modules that were started in previous sprints. One of those modules was a href=https://drupal.org/project/auto_entitylabelauto_entitylabel/a the issues were triaged prior to the code sprint, so we had less trouble getting around the issues amp; fixing them up. EOD, we were able to get a basic version of the module, which included integration with tokens./p img alt=Auto Entity Label Porting to Drupal 8 data-entity-type=file data-entity-uuid=7ca7d4b0-dabf-4c11-a474-1e6562113c08 height=1046 src=/sites/default/files/inline-images/FullSizeRender%207_0.jpg width=1395 class=align-center /p /p pa href=https://www.drupal.org/u/ajitsAjit/a mentored a href=https://www.drupal.org/u/dhruveshdtripathiDhruvesh/a on a href=https://drupal.org/project/autologoutautologout/a tasks and Dhruvesh contributed a fix to an issue in D8 version of the module amp; then backported it to Drupal 7 version as well./p img alt=Vishal mentoring shreyal data-entity-type=file data-entity-uuid=930164c7-636e-47ed-8d69-06eca9c3af20 height=1046 src=/sites/default/files/inline-images/FullSizeRender.jpg width=1394 class=align-center /p /p pSprint also included some code review work around a href=https://drupal.org/project/heap_analyticsheap_analytics/a module, which a href=https://www.drupal.org/u/nitesh-sethiaNitesh  /aported to Drupal 8 (a href=https://github.com/nitesh11/heap_analyticshttps://github.com/nitesh11/heap_analytics/a). /p img alt=Ajit, Nitesh amp; Prashant sprinting data-entity-type=file data-entity-uuid=7a1fd934-d58c-453a-bbc5-7a60082311bf height=1043 src=/sites/default/files/inline-images/FullSizeRender%206_0.jpg width=1390 class=align-center /p /p pOverall, it was a productive sprint amp; we plan to continue the same on Last Saturday of every Month. Keep an eye on a href=https://drupal.org/project/auto_entitylabelauto_entitylabel/a, a href=https://drupal.org/project/jquery_carouseljquery_carousel/a, a href=https://drupal.org/project/heap_analyticsheap_analytics/a if you are interested to use them in Drupal 8, couple of sprints and help from community we should be able to release stable versions of these modules :) we specifically need help on testing of these modules and reporting issues. /p /div /div span rel=schema:author class=field field--name-uid field--type-entity-reference field--label-hiddenspan lang= about=/user/25 typeof=schema:Person property=schema:name datatype=PIYUESH KUMAR/span/span span property=schema:dateCreated content=2016-06-25T12:42:03+00:00 class=field field--name-created field--type-created field--label-hiddenSat, 06/25/2016 - 18:12/span
Categories: Drupal Feeds

Valuebound: How to reduce your development hours by Creating an Installation Profile or Distribution in Drupal 8!

Sat, 06/25/2016 - 1:45am
pCreating an installation profile in Drupal 8 is quite easy according to my humble opinion. strongWhy?/strong Because of the a href=https://www.drupal.org/documentation/administer/configConfiguration Management System in Drupal 8/a. In Drupal 7 we had lot of amazing contributed Installation profiles like a href=https://www.drupal.org/project/commerce_kickstartCommerce Kick Start/a, a href=https://www.drupal.org/project/openatriumOpen Atrium/a, a href=https://www.drupal.org/project/agovaGov/a, etc. Here we are going to discuss about how to create the installation profile in Drupal 8 and the benefit of using an installation profile in our Drupal Development World. Before that let us find out the answers for the following questions…./p ulli h2What is…/h2/li/ul
Categories: Drupal Feeds

Valuebound: How to reduce your development hours by Creating an Installation Profile or Distribution in Drupal 8!

Sat, 06/25/2016 - 1:45am
pCreating and installation profile in Drupal 8 is quite easy according to my humble opinion. strongWhy?/strong Because of the a href=https://www.drupal.org/documentation/administer/configConfiguration Management System in Drupal 8/a. In Drupal 7 we had lot of amazing contributed Installation profiles like a href=https://www.drupal.org/project/commerce_kickstartCommerce Kick Start/a, a href=https://www.drupal.org/project/openatriumOpen Atrium/a, a href=https://www.drupal.org/project/agovaGov/a, etc. Here we are going to discuss about how to create the installation profile in Drupal 8 and the benefit of using an installation profile in our Drupal Development World. Before that let us find out the answers for the following questions…./p ulli h2What is…/h2/li/ul
Categories: Drupal Feeds

Zivtech: 8 Common Website Design Problems

Fri, 06/24/2016 - 11:44am
div class=field-body Your time is limited. By the time you finish this sentence, someone will visit and abandon your website. Unless you give your visitors a reason to stick around, they're gone. High bounce rate is an indicator of visitors' lack of interest. br /br / It may be absolutely fine for a user to check out one page, especially if it's a press release or another event driven piece of content. But if your goal is to build a relationship with your visitors, one and done won't cut it. h3br / Here are some of the most common problems in website design:/h3 ollistrongThere's no clear path/strong. You want to extend a warm welcome to your visitors. Give them an easy way in and through. Too much competition for attention is a turn off. When you provide too many options, the functional result is no options./li listrongOutdated design/strong. Your site was state of the art in 2009. It's got a header, a couple of sidebars, and a big chunk of information running down the center. Guess what? It looks like it's nearly a decade old. Because it is. Time to refresh with current design thinking. The layout of a page has evolved over the past decade. These days the best sites break up content into smaller, digestible bits. /li listrongOverused stock images and icons/strong. If visitors see the same image on multiple sites, it erodes trust. That picture of people sitting around the conference table? They sure get around to a lot of offices!/li listrongToo many textures and colors/strong. You are trying to add interest, but you just add clutter. Limit colors and fonts. Maintain a thematic color scheme. For professional sites, try to limit the variety of fonts to three or fewer. /li listrongDesign for the wrong reasons/strong. Always begin by identifying your target audience and customizing design and content. You may want your site to look modern or like another site you've seen, but if you haven't checked in with what your audience needs and wants, you can fail miserably./li listrongCute that doesn't cut it/strong. When your links have adorable, witty names, the experience gets tired fast. Links that don't make much sense are not user friendly and won't ingratiate you with your visitors. Be practical and basic when naming links. Make it easy for people. Design for multiple visits. A rotating banner is cool the first time, and maybe the second, but at some point it's just a stale eyesore. Monotonous calls to action./li listrongYour site isn't optimized for mobile/strong. You shouldn't need to be reminded of this, but numbers don't lie. Mobile is overtaking desktop. It's increasingly likely that your visitors see your site on a tiny screen. If they have to pinch and stretch to read, they'll find a better source of information. Be sure to test your site on smartphone and tablet./li listrongYou play hard to get/strong. If you want customers to find you, make sure your address, phone number and hours of operation are easily accessible on your site. Too often, that information is hidden or completely absent. /li /olemThanks to Zivtech's UX/UI Designer a href=https://www.zivtech.com/user/640 target=_blankJen Rovner/a for co-writing this article./embr / /div nav role=navigation class=links-inline/nav
Categories: Drupal Feeds

The Sego Blog: Drupal 8, Pantheon GitKraken: Intro

Fri, 06/24/2016 - 11:24am
div class=field field-name-post-date field-type-ds field-label-hiddendiv class=field-itemsdiv class=field-item even06/24/2016/div/div/divdiv class=field field-name-title field-type-ds field-label-hiddendiv class=field-itemsdiv class=field-item even property=dc:titleh2a href=/blog/drupal-8-pantheon-gitkraken-introDrupal 8, Pantheon amp; GitKraken: Intro/a/h2/div/div/divdiv class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpFor those of you who know me well, you know I do not like to play around with code all that much or even use command line tools if I can avoid it. There are many reasons for this but mostly I am just not that comfortable setting up, maintaining and using these type of tools.  That being said I do like to site build in Drupal….A LOT :). /p pLately I have been creating and managing Drupal 8 sites with a href=https://pantheon.io/ target=_blankPantheon/a and using a Git client called a href=https://www.gitkraken.com/ target=_blankGitKraken/a to manage my version control workflow and I have to say the experience has been strongFANTASTIC/strong!/p pimg alt= src=/sites/default/files/drupal_pantheon_gitkracken.png style=height:225px; width:600px //p p/div/div/divdiv class=field field-name-ds-user-picture field-type-ds field-label-hiddendiv class=field-itemsdiv class=field-item evenimg typeof=foaf:Image src=http://www.segosolutions.com/sites/default/files/styles/thumbnail/public/pictures/picture-12-1443827127.png?itok=7YBAiqkp alt=Mike#039;s picture title=Mike#039;s picture //div/div/div
Categories: Drupal Feeds

Evolving Web: Using Core Base Themes in Drupal 8

Fri, 06/24/2016 - 10:07am
a href=https://evolvingweb.ca/%20%20___ img src=https://evolvingweb.ca/sites/default/files/styles/medium/public/2016-06/NTHJIIZU-2016.06.23-15-03-04.png?itok=Y494coUT width=220 height=97 alt=Core of a tree trunk typeof=Image class=img-responsive / /apOne of the first questions I get asked when teaching a Drupal theming class is which base theme to use. The answer has always starts with the unsatisfying: It depends. Now that I'm teaching Drupal 8 theming, we have a couple new base themes in core added to the mix: classy and stable./p pYou can learn the difference between the two and how to use them in this a href=/drupal-8-theming-foundations-using-stable-vs-classy-as-a-base-themeprevious post/a./pa href=https://evolvingweb.ca/blog/using-core-base-themes-drupal-8 hreflang=enread more/a
Categories: Drupal Feeds

Mediacurrent: Friday 5: 5 Problems Large Enterprise Face in Their Digital Transformation

Fri, 06/24/2016 - 10:06am
img typeof=foaf:Image src=http://d1l4od7sxc8nwf.cloudfront.net/sites/default/files/styles/thumb_blog_spotlight/public/friday-5-episode-11.png?itok=qQisYZW2 width=200 height=188 / pGive yourself a pat on the back for making it to the finish line of another busy work week!/p
Categories: Drupal Feeds

Lullabot: Replacing the Body Field in Drupal 8

Fri, 06/24/2016 - 9:00am
div class=rich-textpThe body field has been around since the beginning of Drupal time. Before you could create custom fields in core, and before custom entities were in core, there was a body field. As it exists now, the body field is a bit of a platypus. Itapos;s not exactly a text field like any other text field. Itapos;s two text fields in one (summary and body), with a lot of specialized behavior to allow you to show or hide it on the node form, and options to either create distinct summary text or deduce a summary by clipping off a certain number of characters from the beginning of the body./p pThe oddity of this field#xA0;can create problems. The summary has no format of its own, it shares a format with the body. So you canapos;t have a simple format for the summary and a more complex one for the body. The link to expose and hide the summary on the edit form is a little non-intuitive, especially since no other field behaves this way, so itapos;s easy to miss the fact that there is a summary field there at all. If you are relying on the truncated text for the summary, thereapos;s no easy way to see in the node form what the summary will end up looking like. You have to preview the node to tell./p pI wanted to move away from using the legacy body field in favor of separate body and summary fields that behave in a more normal way, where each is a distinct field, with its own format and no unexpected behavior. I like the benefits of having two fields, with the additional granularity that provides. This article describes how I made this switch on one of my legacy sites./p h2Making the Switch/h2 pThe first step was to add the new fields to the content types where they will be used. I just did this in the UI by going to admin gt; structure gt; types. I created two fields, one called field_description for the full body text and one called field_summary for the summary. My plan was for the summary field to be a truncated, plain text excerpt of the body that I could use in metatags and in AMP metadata, as well as on teasers. I updated the Manage Display and Manage Form Display data on each content type to display my new fields instead of the old body field on the node form and in all my view modes./p pOnce the new fields were created I wanted to get my old body/summary data copied over to my new fields. To do this I needed an update hook. I used a href=https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Extension%21module.api.php/function/hook_update_N/8.2.xDrupal.org/a as a guide for creating an update hook in Drupal 8./p pThe instructions for update hooks recommend not using normal hooks, like $node-gt;save(), inside update hooks, and instead updating the database directly with a SQL query. But that would require understanding all the tables that need to be updated. This is much more complicated in Drupal 8 than it was in Drupal 7. In Drupal 7 each field has exactly two tables, one for the active values of the field and one with revision values. In Drupal 8 there are numerous tables that might be used, depending on whether you are using revisions and/or translations. There could be up to four tables that need to be updated for each individual field that is altered. On top of that, if I had two fields in Drupal 7 that had the same name, they were always stored in the same tables, but in Drupal 8 if I have two fields with the same name they might be in different tables, with each field stored in up to four tables for each type of entity the field exists on./p pTo avoid any chance of missing or misunderstanding which tables to update, I went ahead and used the $node-gt;save() method in the update hook to ensure every table gets the right changes. That method is time-consuming and could easily time out for mass updates, so it was critical to run the updates in small batches. I then tested it to be sure the batches were small enough not to create a problem when the update ran./p pThe update hook ended up looking like this:/p div class=codepre code lt;?php /** * Update new summary and description fields from body values. */ function custom_update_8001(amp;$sandbox) { // The content types to update. $bundles = [apos;articleapos;, apos;newsapos;, apos;bookapos;]; // The new field for the summary. Must already exist on these content types. $summary_field = apos;field_summaryapos;; // The new field for the body. Must already exist on these content types. $body_field = apos;field_descriptionapos;; // The number of nodes to update at once. $range = 5; if (!isset($sandbox[apos;progressapos;])) { // This must be the first run. Initialize the sandbox. $sandbox[apos;progressapos;] = 0; $sandbox[apos;current_pkapos;] = 0; $sandbox[apos;maxapos;] = Database::getConnection()-gt;query(quot;SELECT COUNT(nid) FROM {node} WHERE type IN (:bundles[])quot;, array(apos;:bundles[]apos; =gt; $bundles))-gt;fetchField(); } // Update in chunks of $range. $storage = Drupal::entityManager()-gt;getStorage(apos;nodeapos;); $records = Database::getConnection()-gt;select(apos;nodeapos;, apos;napos;) -gt;fields(apos;napos;, array(apos;nidapos;)) -gt;condition(apos;typeapos;, $bundles, apos;INapos;) -gt;condition(apos;nidapos;, $sandbox[apos;current_pkapos;], apos;gt;apos;) -gt;range(0, $range) -gt;orderBy(apos;nidapos;, apos;ASCapos;) -gt;execute(); foreach ($records as $record) { $node = $storage-gt;load($record-gt;nid); // Get the body values if there is now a body field. if (isset($node-gt;body)) { $body = $node-gt;get(apos;bodyapos;)-gt;value; $summary = $node-gt;get(apos;bodyapos;)-gt;summary; $format = $node-gt;get(apos;bodyapos;)-gt;format; // Copy the values to the new fields, being careful not to wipe out other values that might be there. if (empty($node-gt;{$summary_field}-gt;getValue()) amp;amp; !empty($summary)) { $node-gt;{$summary_field}-gt;setValue([apos;valueapos; =gt; $summary, apos;formatapos; =gt; $format]); } if (empty($node-gt;{$body_field}-gt;getValue()) amp;amp; !empty($body)) { $node-gt;{$body_field}-gt;setValue([apos;valueapos; =gt; $body, apos;formatapos; =gt; $format]); } if ($updated) { // Clear the body values. $node-gt;body-gt;setValue([]); } } // Force a node save even if there are no changes to force the pre_save hook to be executed. $node-gt;save(); $sandbox[apos;progressapos;]++; $sandbox[apos;current_pkapos;] = $record-gt;nid; } $sandbox[apos;#finishedapos;] = empty($sandbox[apos;maxapos;]) ? 1 : ($sandbox[apos;progressapos;] / $sandbox[apos;maxapos;]); return t(apos;All content of the types: @bundles were updated with the new description and summary fields.apos;, array(apos;@bundlesapos; =gt; implode(apos;, apos;, $bundles))); } ?gt; /code/pre/div h2Creating the Summary/h2 pThat update would copy the existing body data to the new fields, but many of the new summary fields would be empty. As distinct fields, they wonapos;t automatically pick up content from the body field, and will just not display at all. The update needs something more to get the summary fields populated. What I wanted was to end up with something that would work similarly to the old body field. If the summary is empty I want to populate it with a value derived from the body field. But when doing that I also want to truncate it to a reasonable length for a summary, and in my case I also wanted to be sure that I ended up with plain text, not markup, in that field./p pI created a helper function in a custom module that would take text, like that which might be in the body field, and alter it appropriately to create the summaries I want. I have a lot of nodes with html data tables, and I needed to remove those tables before truncating the content to create a summary. My body fields also have a number of filters that need to do their replacements before I try creating a summary. I ended up with the following processing, which I put in a custom.module file:/p div class=codepre code lt;?php use Drupal\Component\Render\PlainTextOutput; /** * Clean up and trim text or markup to create a plain text summary of $limit size. * * @param string $value * The text to use to create the summary. * @param string $limit * The maximum characters for the summary, zero means unlimited. * @param string $input_format * The format to use on filtered text to restore filter values before creating a summary. * @param string $output_format * The format to use for the resulting summary. * @param boolean $add_elipsis * Whether or not to add an elipsis to the summary. */ function custom_parse_summary($value, $limit = 150, $input_format = apos;plain_textapos;, $output_format = apos;plain_textapos;, $add_elipsis = TRUE) { // Allow filters to replace values so we have all the original markup. $value = check_markup($value, $input_format); // Completely strip tables out of summaries, they wonapos;t truncate well. // Stripping markup, done next, would leave the table contents, which may create odd results, so remove the tables entirely. $value = preg_replace(apos;/(.*?)lt;\/tablegt;/siapos;, apos;apos;, $value); // Strip out all markup. $value = PlainTextOutput::renderFromHtml(htmlspecialchars_decode($value)); // Strip out carriage returns and extra spaces to pack as much info as possible into the allotted space. $value = str_replace(quot;\nquot;, quot;quot;, $value); $value = preg_replace(apos;/\s+/apos;, apos; apos;, $value); $value = trim($value); // Trim the text to the $limit length. if (!empty($limit)) { $value = text_summary($value, $output_format, $limit); } // Add elipsis. if ($add_elipsis amp;amp; !empty($value)) { $value .= apos;...apos;; } return $value; } ?gt; /code/pre/div h2Adding a Presave Hook/h2 pI could have used this helper function in my update hook to populate my summary fields, but I realized that I actually want automatic population of the summaries to be the default behavior. I donapos;t want to have to copy, paste, and truncate content from the body to populate the summary field every time I edit a node, Iapos;d like to just leave the summary field blank if I want a truncated version of the body in that field, and have it updated automatically when I save it./p pTo do that I used the pre_save hook. The pre_save hook will update the summary field whenever I save the node, and it will also update the summary field when the above update hook does $node-gt;save(), making sure that my legacy summaries also get this treatment./p pMy pre_save hook, in the same custom.module file used above, ended up looking like the following:/p div class=codepre code lt;?php use Drupal\Core\Entity\EntityInterface; /** * Implements hook_entity_presave(). * * Make sure summary and image are populated. */ function custom_entity_presave(EntityInterface $entity) { $entity_type = apos;nodeapos;; $bundles = [apos;articleapos;, apos;newsapos;, apos;bookapos;]; // The new field for the summary. Must already exist on these content types. $summary_field = apos;field_summaryapos;; // The new field for the body. Must already exist on these content types. $body_field = apos;field_descriptionapos;; // The maximum length of any summary, set to zero for no limit. $summary_length = 300; // Everything is an entity in Drupal 8, and this hook is executed on all of them! // Make sure this only operates on nodes of a particular type. if ($entity-gt;getEntityTypeId() != $entity_type || !in_array($entity-gt;bundle(), $bundles)) { return; } // If we have a summary, run it through custom_parse_summary() to clean it up. $format = $entity-gt;get($summary_field)-gt;format; $summary = $entity-gt;get($summary_field)-gt;value; if (!empty($summary)) { $summary = custom_parse_summary($summary, $summary_length, $format, apos;plain_textapos;); $entity-gt;{$summary_field}-gt;setValue([apos;valueapos; =gt; $summary, apos;formatapos; =gt; apos;plain_textapos;]); } // The summary might be empty or could have been emptied by the cleanup in the previous step. If so, we need to pull it from description. $format = $entity-gt;get($body_field)-gt;format; $description = $entity-gt;get($body_field)-gt;value; if (empty($summary) amp;amp; !empty($description)) { $summary = custom_parse_summary($description, $summary_length, $format, apos;plain_textapos;); $entity-gt;{$summary_field}-gt;setValue([apos;valueapos; =gt; $summary, apos;formatapos; =gt; apos;plain_textapos;]); } } ?gt; /code/pre/div pWith this final bit of code I#x2019;m ready to actually run my update. Now whenever a node is saved, including when I run the update to move all my legacy body data to the new fields, empty summary fields will automatically be populated with a plain text, trimmed, excerpt from the full text./p pGoing forward, when I edit a node, I can either type in a custom summary, or leave the summary field empty if I want to automatically extract its value from the body. The next time I edit the node the summary will already be populated from the previous save. I can leave that value, or alter it manually, and it wonapos;t be overridden by the pre_save process on the next save. Or I can wipe the field out if I want it populated automatically again when the node is re-saved./p h2Javascript or Presave?/h2 pInstead of a pre_save hook I could have used javascript to automatically update the summary field in the node form as the node is being edited. I would only want that behavior if Iapos;m not adding a custom summary, so the javascript would have to be smart enough to leave the summary field alone if I already have text in it or if I start typing in it, while still picking up every change I make in the description field if I don#x2019;t. And it would be difficult to use javascript to do filter replacements on the description text or have it strip html as Iapos;m updating the body. Thinking through all the implications of trying to make a javascript solution work, I preferred the idea of doing this as a pre_save hook./p pIf I was using javascript to update my summaries, the javascript changes wouldnapos;t be triggered by my update hook, and the update hook code above would have to be altered to do the summary clean up as well./p h2Ta-dah/h2 pAnd thatapos;s it. I ran the update hook and then the final step was to remove my now-empty body field from the content types that I switched, which I did using the UI on the Content Types management page./p pMy site now has all its nodes updated to use my new fields, and summaries are getting updated automatically when I save nodes. And as a bonus this was a good exercise in seeing how to manipulate nodes and how to write update and pre_save hooks in Drupal 8./p /div
Categories: Drupal Feeds

OSTraining: Installing Drupal-VM on Windows

Fri, 06/24/2016 - 5:52am
div class=ost-intro-imageimg src=https://www.ostraining.com/images/drupal8/drupal8-vm.jpg alt=Installing drupal-vm on windows width=200 height=134 //div pAn OSTraining member asked how to use the Drupal VM environment on Windows./p pIn this tutorial, we will install D8 in a few simple steps./p
Categories: Drupal Feeds

Frederic Marand: What to do when your Drupal site has been hacked

Fri, 06/24/2016 - 3:36am
pThese are the slides of the presentation I gave yesterday at DrupalDevDays Milan./p iframe src=//www.slideshare.net/slideshow/embed_code/key/KGbPrGzxc1kyzc width=595 height=485 frameborder=0 marginwidth=0 marginheight=0 scrolling=no style=border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%; allowfullscreen /iframe div style=margin-bottom:5px strong a href=//www.slideshare.net/fgm-osinet/life-after-the-hack-63380257 title=Life after the hack target=_blankLife after the hack/a /strong from stronga href=//www.slideshare.net/fgm-osinet target=_blankOSInet, for Drupal Project/a/strong /div pa href=http://blog.riff.org/2016_06_24_what_to_do_when_your_drupal_site_has_been_hacked target=_blankread more/a/p
Categories: Drupal Feeds