Hi, I would like to know the approrpaite way to incorporate a web form into a somewhat customized Kubrick template. The form gets loaded, but the stylesheet I selected for it doesn't. Could I use an if statement on the_content to check what the actual value is and load an additonal stylesheet in case it detects cForms? I would like to do it that way so that my users will be able to select a stylesheet from the cForms Styling menu and won't have to rely on me to update any hardcoded values in the template. My template has this structure:
Thank you very much.
Ulf
<table>
<tr>
<td>
<td>
</td>
<td>
<div id="content">
<?php query_posts('category_name=scholarships&showposts='.get_option('posts_per_page')); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<p><small><?php the_time('F jS, Y') ?> <!– by <?php the_author() ?> –></small></p>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
</div>
<?php endwhile; ?>
[desc]:
_