Once you have configured a map in Cartaro you surely want to display it in appropriately. You could use the frontmap module if your site is very map-centric but integrating maps within other content is often preferable.
Setting up the map
Let's take a news article as example in which you want to have textual content accompanied by maps. Firstly, configure your map as shown in Getting Started with extensive detail. Note though, that the name of the map does not matter so calling it frontmap is not necessary.
Mind to enable all layers that you wish to display in the map configuration. You should check out the list of Behaviors offered there, too.
Enable maps in content
Drupal offers setting various transformation steps for content that allow to prepare a suitable presentation. We'll use this mechanism to integrate maps in the article this way.
Navigate to Configuration » Content authoring » Text formats and opt to configure the format called Plain text.
The Workbench Menu module provides a menu system using a different design concept than the traditional Drupal menu. Instead of building menus to represent a given path, this module uses a path to represent a given menu. Workbench Menu is a 3rd-party module that extends the Workbench Suite by adding menus on a per-workbench group basis.
- Install the Telvue module, you only need to enable Telvue API and Telvue Blocks.
- In the configuration, the URI should be http:// IP of your server :3000
- Cache results from API when possible should be checked
- You will see this message:
Connected to Telvue, but API key is either not included or not correct. API Key is required for advanced features like Telvue Push.
That is fine, a username and API Key are not needed when you are only displaying the blocks.
- Go to blocks and you will see that the module created 3 blocks:
Next Airing and
Playing Now and Next.
This page discusses a number of known issues around the Drupal file storage mechanism, and a number of ways people have addressed them.
In brief, if you have a development site, upload images or files using that site and then take your site live using the standard methods, there is potential for links to those images to break in several ways. This has always been a risk.
Most of the worst of these issues for managed files have been resolved in Drupal 7 with the File Stream Wrappers initiative. Images "attached" as fields or uploaded through the API should normally be re-linked correctly on migration, with no more than a cache clear needed.
The remaining issues discussed mainly apply to in-page links and image embeds, such as from HTML or WYSIWYG editing, and tools like IMCE or copy and paste.
The simplest cause is by editors embedding links in nodes or blocks by copy-pasting absolute URLs. This is obvious in plaintext editors, but somewhat cloaked by WYSIWYG tools.
A link like
in the site content will cause problems going live. Worse, it will not be noticed in developer testing as the reference to the dev host will still resolve for *then* but not for anyone else.
Instructions to add a style in views.
After setup Breakpoints and picture in admin (check http://drupal.org/node/1902264) You will get some picture style to apply in views.
First open a view or create one with a image field to a picture style.
In image field options you will see the picture styles:
The first option is the Formatter choose the Picture one.
Next is the Picture group, each group is a style from picture group, each style have several image size to apply.
the last option is Fallback image style, Most of the time the automatic option is fine, but it is possible to choose a specific size for Picture group. The list of options will change in each site.
After select the option apply in field and save the view.