How to create breadcrumbs based on OG
Suppose group type is : group
group post type is : post
1, for group
Navigate to rules management page. You will see "breadcrumb for node view" rule, clone it.
Add an condtition "node type is ", choose "group". Choose the term field that you want to generate breadcumb base on.Here you could choose [node:field_your_term_field].Get all parent terms for this term.
Add a loop.
then add action "breadcrumb2_append_breadcrumb_trail" in the loop.
2, for post:
Navigate to rules management page. You will see "breadcrumb for node view" rule, clone it.
Add an condtition "node type is ", choose "post".
Choose the term field that you want to generate breadcumb base on, Here you could choose [node:og_group_ref:field_your_term_field].Get all parent terms for this term.
Add a loop.
then add action "breadcrumb2_append_breadcrumb_trail" in the loop.
you could add action "breadcrumb2_append_breadcrumb_trail" as many as you need in your rules edit page.You could do it with the same way for other content types, or views pages.
rules actions and conditions provided by breadcrumb2 module
Beadcrumb2 add several rules actions:
1,Append breadcrumb trail
2,Fetch lightest term from node
3,Taxonomy get parents all
4,Get argument from Drupal path
5,elete breadcrumb by path
6,Disable breadcrumb
7,Menu get active trail
8,Menu set active menu names
Add 2 rules conditions:
1, Breadcrumb object already exist.
2, Internal path is.
The idea is generate breadcrumb entity for current page on the fly base on rules. With the actions and conditions provided by Breadcrumb2 module, combine the exsting power of rules and 3rd party module, It could solve various of breadcrumb issues.
How to change the default term path "taxonomy/term/[tid]" in breadcrumb
Default we use taxonomy/term/[tid] as the term path.
If you have a content type "Book", you want to change the page to "books/category/[tid]", you could do it in this way.
1,Navigate to rules management page. You will see "breadcrumb for node view" rule, clone it.
2,Add an condtition "node type is ", choose "Book".
3,then edit action "breadcrumb2_append_breadcrumb_trail" in the loop, on action edit page, Change URL from "taxonomy/term/[parent-term:tid]" to "books/category/[parent-term:tid]".
4,save it.
The directly purpose that I create breadcrumb2 module is that I want to change the path of term in breadcrumb. By using custom breadcrumb2 module, it is very difficult to do this.Then I build breadcrumb2 to make it easy.
XML-RPC: Provides XML-RPC functionality
The XML-RPC module is included in Drupal core. When enabled, the XML-RPC Provides XML-RPC functionality.
The XML-RPC module gives external systems the opportunity to communicate with the site through the XML-RPC protocol. Pointing an XML-RPC client at http://sitename/xmlrpc.php allows this communication to take place. For more information, see the online handbook entry for XML-RPC API.
Performs one or more XML-RPC request(s).
Usage example:
$result = xmlrpc('http://example.com/xmlrpc.php', array(
'service.methodName' => array($parameter, $second, $third),
));- $url: An absolute URL of the XML-RPC endpoint.
- $args: An associative array whose keys are the methods to call and whose values are the arguments to pass to the respective method. If multiple methods are specified, a system.multicall is performed.
- $headers: (optional) An array of headers to pass along.
- @return
- For one request:
- Either the return value of the method on success, or FALSE.
- If FALSE is returned, see xmlrpc_errno() and xmlrpc_error_msg().
- For multiple requests:
- For one request:
translation_entity: Allows users to translate content entities.
The Translate Entity module is included in Drupal core. It manages content translations.
Translations are managed in sets of posts, which represent the same information in different languages. Only content types for which the administrator has explicitly enabled translations could have translations associated. Translations are managed in sets with exactly one source post per set. The source post is used to translate to different languages, so if the source post is significantly updated, the editor can decide to mark all translations outdated.
The node table stores the values used by this module:
tnid: Integer for the translation set ID, which equals the node ID of the source post.
translate: Integer flag, either indicating that the translation is up to date (0) or needs to be updated (1).
Functions for this api can be found in the api documentation.
Tour: Provides guided tours of the site interface
The Tour module is included in Drupal core. When enabled, the Tour module provides guided tours of the site interface via tooltips.
Users must be given the 'access tour' permission in order to view available tours.
Uses
Users can:
- Information Needed
Site administrators can:
- Information Needed
Issue Queue for 8.x
http://drupal.org/project/issues/drupal?version=8.x&component=tour.module