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 have been working on a site for a few days. Then I noticed the mission statement was gone from the top of the pages. I have not changed any of the page-tpl.php for the mission. It still reads:
<div class="fixed"> <!--FIXED-->
<?php if($persistent_mission) { ?><div id="mission"> <!--MISSION-->
<?php print $persistent_mission ?>
</div> <!--END MISSION--><?php } ?>
I have cleared all caches, run cron and update.php, removed all css, all to no avail. The mission is checked in the async theme setting. It shows up if I change themes. but no longer shows in async.
If I change "persistent_mission" to "mission", it returns, but only on the first page of course. So please tell me where "persistent_mission" is generated so I can try to find why it disappeared.
Comments
Comment #1
JSCSJSCS CreditAttribution: JSCSJSCS commentedI downloaded a new copy of the theme and compared it to what I was using. I found one difference in the template.php file:
The downloaded file showed:
My current version showed:
I did not change it. At least not intentionally, so not sure why it changed. I changed it back and and got my mission statement back on all pages.
Is there some async or drupal core function that rewrites template.php files? If so, maybe there is a bug?
Comment #2
FiNeX CreditAttribution: FiNeX commentedCannot reproduce on D6, anyway the new Drupal 7 uses regions only ($mission has been dropped on D7) and A Sync Template for Drupal 6 is no more maintained. Anyway I still accept patches for the Drupal 6 version.
Thanks