Hi,

Installed signwriter and tried it. Some titles are replaced by sw but not all. I searched a lot and I can say now that the problem is with Artisteer themes that I use, maybe others too but sure with Artisteer. Titles generated by Drupal are ok like in admin pages, on faq page, etc ... but all page titles and other h2 tags outside the body of the page are not rendered.
I tried to hard code the title in node.template but still no rendering.

I guess the moment that sw renders the titles aren't available yet or they are not in the part of code checked by sw.

The site where you can see the problem is testingsw.systemsteam.com. Click on "Vragen" (or Questions) in top menu and there it works, all other h2 titles wont. Also tried remove the class inside the h2 but to no avail.

Hope someone can throw me a hint ;)

Thanks in advance

Comments

FreeFox’s picture

Assigned: Unassigned » FreeFox
Status: Active » Closed (fixed)

Ok, I solved the problem by changing the node.tpl.php file.
-> Add line 1 and change "profile_name" to the profile you want to use here.
-> Edit the <?php print $title ?> line between de <h2> tags to the line shown in the code below.

Hopes this helps someone ^^
Greetz
Jan

--- begin of file ---
<?php $profile = signwriter_load_profile('profile_name'); ?>

<div class="art-Post">
<div class="art-Post-body">
<div class="art-Post-inner">
<h2 class="art-PostHeader">

<?php print signwriter_title_convert($title, $profile); ?>

</h2>
<div class="art-PostContent">
<div class="art-article"><?php print $picture; ?><?php echo $content; ?>
<?php if (isset($node->links['node_read_more'])) { echo '<div class="read_more">'.get_html_link_output($node->links['node_read_more']).'</div>'; }?></div>
</div>
<div class="cleared"></div>
</div>
</div>
</div>
--- end of file ---
plato1123’s picture

Hello, what version were you working with? I just created a template with artisteer 2.3 and signwriter doesn't swap out either headers or menu items. Everything works properly in other templates but not in the one created by artisteer (which looks great otherwise). Any ideas?

plato1123’s picture

Your trick did finally work, thanks so much