I have just installed drupal 4.7 and the civicspace themes from the 0.8.3 RC8.
When i select any civicspace theme all is ok until i activate clean urls.
I always thought that an image makes 1000 words :)
This happenes in any admin page except the main one.
http://www.openview360.com/clean_urls.png
http://www.openview360.com/no-clean-url.png
Hope you understand :)

Comments

thomherfs’s picture

The CivicSpace theme is not yet updated for Drupal 4.7 and needs considerable editing to work with the current CVS. CS 0.8.3 (which will be released this weekend) is still based on the 4.6 Drupal branch. The problem you are experiencing has to do, if I recall correctly, with the removal of the $base_url from 4.7 core.

If you want to do a quick fix on this particular problem, find these two lines near the beginning of the page.tpl.php file in the CS theme folder:

[meta name="revisit-after" content="1 days" /]
[meta name="robots" content="<?php if (civicspace_is_admin()): ?>no-follow<?php else: ?>follow<?php endif;?>" /]

(Had to substitute square brackets "[]" for angle brackets "<>" in these code lines since there is a security feature here that thinks I'm trying to run malicious code *gr*.)

Immediately after those lines shown above (remembering to substitute angle brackets for the square brackets in the code listing below before copying them into your file), insert this line:

[base href="<?php print $base_url . $base_url_path ?>" /]

That may solve the problem with admin theme that you are asking about. However, as I said, the CS theme is not 4.7-ready yet so other problems will pop up if you try to use it now.

I would recommend that if you want to use the CS theme, you use the current CS distro. It should be updated to the 4.7 Drupal branch shortly after the final 4.7 release. The current 4.7 CVS is not ready for a production site anyway.

marcoBauli’s picture

Same problem, but the above solution does not seem to work on 4.7.0b6 and CivicSpace last cvs.