Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am looking in to using the i18n_db_rewrite_sql function to select content by the content selection setting of the website. Maybe there is another way to maintain the preference set for content selection when the prev /next cron is run?
Comments
Comment #1
opisubmitting
Interested in a way to manage prev/next navigation by type AND by language.
Comment #2
LeisureLarry CreditAttribution: LeisureLarry commentedSubscribing
Comment #3
dvhung95 CreditAttribution: dvhung95 commentedIn the template.php , add the function below. Then, in a node, call the function THEME_prev_next_node($node, $node->type) to return array of prev/next nodes.