Runtheball
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Google Calendar embed code – doesn’t work in IE?Can anyone tell me how to embed Google Calendar so that it works within WordPress on IE7&8?
I have it working just fine in Chrome, Safari, and FF.
Forum: Fixing WordPress
In reply to: Google Calendar embed code – doesn’t work in IE?To further clarify, the embed code works fine on an html website. But I’m converting that site into WordPress and on a WP page the embed code doesn’t work (only in IE).
Forum: Fixing WordPress
In reply to: hiding one page of menu until website terms are acceptedThat was helpful, thank you. But I still couldn’t get the main issues resolved.
Now I’m taking a new approach, making the form simpler but still trying to set a cookie when the terms are agreed to (submit button is clicked) and use that cookie to determine which menu to display. Also want the menu display to persist across pages (one menu if terms are accepted, another if not). Form should disappear after terms accepted. I think I’ve streamlined this considerably, but having a huge mental block and need help.
The latest code bits…
header.php…
<?php if (isset($_COOKIE['tcagreed'])) { wp_page_menu(array('menu_class' => 'nav')); } else { wp_page_menu(array('menu_class' => 'nav', 'exclude' => 'Keywords' )); } ?>
Main index template…
<?php if (isset ($_POST['submit'])) { $output_form = false; setcookie('tcagreed', 'agreed'); } else { $output_form = true; } get_header(); ?>
The form, now within index.php…
<?php if($output_form) {?>
<div id=”sidebar”>
<!–[if IE ]–>
<div id=”IEroot”>
<!–[endif]–>
<form id=”tc” action=”index.php” method=”post”>
<table>
<tbody>
<tr>
<td><input name=”submit” type=”submit” value=”I accept the Terms and Conditions” /></td>
</tr>
</tbody>
</table>
</form>
<p class=”vertspacer”></p>
<!–[if IE ]–>
</div>
<!–[endif]–>
</div>
<?php }?>If I can get the darned form to display, and the menu to change after the form submit button is pushed, I’ll figure out the session info myself.
Forum: Fixing WordPress
In reply to: Footer locked to page bottom – doesn’t work in IE6&7I can’t help thinking that if I could get the .postmetadata to clear the floating sidebar, all would be fixed. This happens in FF and IE8, but not in earlier versions of IE.