Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter tdelam

    (@tdelam)

    Ahh that sucks, I thought there was some type of simple versioning for editing, after all, thats how publishing systems are. Sounds like a good idea for a simple plugin.

    Thanks Otto

    Thread Starter tdelam

    (@tdelam)

    I’ve got it. I created a plugin a while ago and when its activated it causes the problem. Now, I am not sure why because all it does is uses the add_action() hook to hook into the dbx_page_sidebar with my function that renders a basic checkbox. Any tips as to why? I tried setting its priority but no success. Here is the code:

    function td_show_option() {
    	global $post;
    	$postid = $_GET['post'] ? $_GET['post'] : 0;
    	?>
    	<fieldset id="external_links" class="dbx-box">
    		<h3 class="dbx-handle">External Links</h3>
    		<em>For sidebar pages to link directly to external sites</em>
    		<div class="dbx-content">
    			<label for="external_link" class="selectit">
    			<input name="post_external" type="checkbox" id="post_external" value="1" <?php checked($post->post_external, '1'); ?>/>External Page</label>
    		</div>
    	</fieldset>
    <?php
    }
    ?>
    Thread Starter tdelam

    (@tdelam)

    Yes, sorry, multiple installs on our servers for different domains, same thing all around. It seems to be in one of the sidebar widgets of the Manage -> Pages and Manage -> Posts, I commented each one out individually to see where it happens and the problem went away. I think its somewhere in either the post status or the Categories fields. Happens every few refreshes so im unsure which one

    Thread Starter tdelam

    (@tdelam)

    ahh! i forgot to wrap code properly. here is the line of code again:

    $html_output = '<li><a href="' . $external->post_content . '">' . $external->post_title . '</a></li>';

Viewing 4 replies - 1 through 4 (of 4 total)