On our theme BizReview and Listiry, now available in Drupal 9, we have to solve the common problem with displaying nodes on maps.
Here are what we have used in our themes and have verified it is working. Please see the result as below:
Now please follow our tutorial on how to display maps on Drupal with Geofield, Address and Geocoder modules:
1. Install Drupal and Geofield
Install Drupal core:
composer create-project drupal/recommended-project my_site_name_dir cd my_site_name_dir
Install...
On a local project with the business directory site Ecoparker, we experienced the struggle of displaying a long list of products in small display screens ie mobiles.
On this particular landing page, showcasing Solforest a vertical forest real estate project, we need to present 10 types of apartments in two categories with sizes and selling prices.
On another page, we have 6 categories, each category has more than 10 products. If we just display them all o...
Ok, the problem is clear:
- Your composer based Drupal site puts your code base to the /web folder
- You are using a shared hosting which maps your primary domain to /public_html, and you can't change that
Now your users will have to browse your site as http://example.com/web . And it is not cool.
So how to serve your site from the subfolder /public_html/web but removing the /web suffix so it becomes transparent to users?
Here are the steps, as I learned from this thr...
Recently, we involved in a local project with Ecoparker.com. It is a directory of restaurants, cafes, entertainments, services, real properties ... in Ecopark Hanoi, Vietnam. This site is based on our best selling directory theme BizReview.
On this site, there is a page which lists all kindergartens around the area. It has 20 listings and will continue to grow. It is a very typical page built with Drupal views.
...
In a recent Drupal 8 project, we dealed with a multilingual translation issue: we need to translate the usual "View more" text on the Content: Link to Content field in Views.
After doing some research, we found a workaround like this:
1. Instead of using Content: Link to content, let's add two fields: Content: Path and Global: Custom text.
Note: the Content: Path field provides us a corresponding URL alias for each language.
2. On Global: Custom text, please enter:
<a href="{{ path }}">{% trans %} View more {% endtrans %}</a>
3. Now the text "...
An outstanding design with 7000+ sales, is now available in Drupal 8. Foundry is the one-stop theme for all of your website needs. Developed by an Elite Drupal author, this theme works with the latest version of Drupal 8 with tons of landing pages, theme options and built-in features.
Demonstration
See the demo here: Drupal 8 theme Foundry demo
Features
Here are Langeleik's feature:
- Support latest Drupal Version, currently 8.2.x
- Based on Bootstrap 3.x
- 100+ Fully responsive pages
- 20+ Unique niche concept home pages
- 95+ Blocks, reusable
- 13 color options
- Perfect for multi-page and/or one-page sites
- Allow any number of page layout possibilities
- Over 1000 icons to c...
ST Ukulele is now available in Themeforest. The theme shows up perfectly the brand image of a sport club. With the ecommerce feature, you can also raise club income by selling souvenirs for loyal fans.
Demonstration
See the demo here: Drupal theme ST Ukulele demo
Features
Here are Ukulele's feature:
- Drupal 7.x
- Adapts to computer and mobile devices
- XHTML 1.0 Strict, CSS 2.0 Valid
- 6 Regions
- 6 Colors
- Install profile - install website with just few clicks
- Customize using Theme Settings
- Professional Typography
- SEO tools: autopath, meta tag, Google Analytics...
You may already be familiar with Amazon S3, the most popular solution for cost effective storage services nowadays. You will need it when you are looking for:
- Low cost storage: it happens to be my case, when I implemented a Drupal based web app for a local governmental authority. The app is used by branches from all provinces of the country, and they usually upload a large amount of data (documents, photos, scans etc ...) regularly. Using the app server's storage is too expensive. So I converted the Drupal file system to Amazon S3, leaving only the core and modules on the app server.
- Fast loading: many bloggers have used S3 to store their photos, videos, audios and files, for better serving their readers. As customers are from all over the world, saving the multimedia content to S3 will let them access them much faster.
- And many more benefits
In this tutorial, we will show you how to convert the Drupal 7 & 8 file system to Amazon S3 and sync all existing files to S3 Storage.
1. Preparation
You will need to run several client programs like drush and awscli. So if your site is on a shared hosting, you are not able to install and execute them. Pls download it to your local host and configure it there. After that you can upload to your shared hosting.
The techniques that I use in this tutorial are: