We're using the hosted Drupal Developer Portal (on Pantheon) and I've noticed that the "forum" page has a typo on it. Here's what it looks like in the browser:
...and here's what I see when I view source:
My question is, can this page be edited to correct the typo? I haven't been able to find a way to edit it through the portal Admin menus, so I suspect that it may be protected in some way as part of the portal solution.
Thanks!
Mike:o
Solved! Go to Solution.
I have seen this issue, Quick work around below, place below function in your theme template.php, replace YOURTHEMENAME with your theme name, Save, Clear Drupal Caches.
<?php /** * Menu Local Tasks. */ function YOURTHEMENAME_menu_local_tasks(&$vars) { $output = ''; if (!empty($vars['primary'])) { $vars['primary']['#prefix'] = '<h2 class="element-invisible">' . t('Primary tabs') . '</h2>'; $vars['primary']['#prefix'] .= '<ul class="tabs--primary nav nav-pills ptabs">'; $vars['primary']['#suffix'] = '</ul>'; $output .= decode_entities(drupal_render($vars['primary'])) . '<hr>'; } if (!empty($vars['secondary'])) { $vars['secondary']['#prefix'] = '<h2 class="element-invisible">' . t('Secondary tabs') . '</h2>'; $vars['secondary']['#prefix'] .= '<ul class="tabs--secondary pagination pagination-sm stabs">'; $vars['secondary']['#suffix'] = '</ul>'; $output .= decode_entities(drupal_render($vars['secondary'])); } return $output; }
Hope it helps.
UPDATE: This issue was due to a change in the Drupal Bootstrap theme where a template file was removed. We now removed that template also from our distribution and the issue has gone away, so you will no longer see this & issue from the 17.10.25.00 release going forward. Thanks for reporting this issue @Mike Overholt
@Chris Novak --- not sure who needs to look at this one
I have seen this issue, Quick work around below, place below function in your theme template.php, replace YOURTHEMENAME with your theme name, Save, Clear Drupal Caches.
<?php /** * Menu Local Tasks. */ function YOURTHEMENAME_menu_local_tasks(&$vars) { $output = ''; if (!empty($vars['primary'])) { $vars['primary']['#prefix'] = '<h2 class="element-invisible">' . t('Primary tabs') . '</h2>'; $vars['primary']['#prefix'] .= '<ul class="tabs--primary nav nav-pills ptabs">'; $vars['primary']['#suffix'] = '</ul>'; $output .= decode_entities(drupal_render($vars['primary'])) . '<hr>'; } if (!empty($vars['secondary'])) { $vars['secondary']['#prefix'] = '<h2 class="element-invisible">' . t('Secondary tabs') . '</h2>'; $vars['secondary']['#prefix'] .= '<ul class="tabs--secondary pagination pagination-sm stabs">'; $vars['secondary']['#suffix'] = '</ul>'; $output .= decode_entities(drupal_render($vars['secondary'])); } return $output; }
Hope it helps.
@Mike Overholt , Also, If you are working on customizing developer portal below articles might help you.
https://community.apigee.com/articles/42838/apigee-drupal-developer-portal-custom-theme-101.html
https://community.apigee.com/articles/27169/apigee-developer-portal-custom-smartdocs-template.html
UPDATE: This issue was due to a change in the Drupal Bootstrap theme where a template file was removed. We now removed that template also from our distribution and the issue has gone away, so you will no longer see this & issue from the 17.10.25.00 release going forward. Thanks for reporting this issue @Mike Overholt
Thanks @Chris Novak!