mtoussai
Forum Replies Created
-
Hi,
it took me a while to get the site on a public server. Here is a page
http://autonomous-learning.imp.fu-berlin.de/?page_id=36
The code for this page is nothing but
[wcteditpage table="2" html="0"]Yes, the edit form is on the main page.
I had permalinks set to `post name’ (the nicer links like /pageone/) but now set it to default. This doesn’t change anything.
Also, would this explain that the html code is truncated?
Thanks for the quick reply!
The problem occures with all tables, no matter what their setups. I just created a simple test table with only one field ‘name’. Here is an image of the setup:
http://imageshack.us/photo/my-images/80/testtablesetup.png/
Below you’ll find the html code of the form (with the <head> removed).
Best,
Marc————————————————————-
<!DOCTYPE html> <!--[if IE 6]> <html id="ie6" dir="ltr" lang="en-US"> <![endif]--> <!--[if IE 7]> <html id="ie7" dir="ltr" lang="en-US"> <![endif]--> <!--[if IE 8]> <html id="ie8" dir="ltr" lang="en-US"> <![endif]--> <!--[if !(IE 6) | !(IE 7) | !(IE 8) ]><!--> <html dir="ltr" lang="en-US"> <!--<![endif]--> <head> ... </head> <body class="home page page-id-4 page-parent page-template page-template-sidebar-page-php logged-in admin-bar single-author two-column right-sidebar"> <div id="page" class="hfeed"> <header id="branding" role="banner"> <hgroup> <h1 id="site-title"><span><a href="http://localhost/wordpress/" title="SPP Autonomous Learning" rel="home">SPP Autonomous Learning</a></span></h1> <h2 id="site-description">DFG Priority Programme 1527</h2> </hgroup> <a href="http://localhost/wordpress/"> <img src="http://localhost/wordpress/wp-content/uploads/2011/12/cropped-spp.jpg" width="1000" height=50 alt="" /> </a> <form method="get" id="searchform" action="http://localhost/wordpress/"> <label for="s" class="assistive-text">Search</label> <input type="text" class="field" name="s" id="s" placeholder="Search" /> <input type="submit" class="submit" name="submit" id="searchsubmit" value="Search" /> </form> <nav id="access" role="navigation"> <h3 class="assistive-text">Main menu</h3> <div class="skip-link"><a class="assistive-text" href="#content" title="Skip to primary content">Skip to primary content</a></div> <div class="skip-link"><a class="assistive-text" href="#secondary" title="Skip to secondary content">Skip to secondary content</a></div> <div class="menu-spp-menu-container"><ul id="menu-spp-menu" class="menu"><li id="menu-item-24" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-4 current_page_item menu-item-24"><a href="http://localhost/wordpress/">pubs</a></li> <li id="menu-item-25" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-25"><a href="http://localhost/wordpress/pubs/side/">side</a></li> <li id="menu-item-26" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-26"><a href="http://localhost/wordpress/another-page/">another page</a></li> <li id="menu-item-27" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-4 current_page_item menu-item-27"><a href="http://localhost/wordpress/">pubs</a></li> <li id="menu-item-28" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-28"><a href="http://localhost/wordpress/sample-page/">Sample Page</a></li> <li id="menu-item-29" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-29"><a href="http://userpage.fu-berlin.de/~mtoussai/index.html">MarcToussaint</a></li> </ul></div> </nav><!-- #access --> </header><!-- #branding --> <div id="main"> <div id="primary"> <div id="content" role="main"> <article id="post-4" class="post-4 page type-page status-publish hentry"> <header class="entry-header"> <h1 class="entry-title">pubs</h1> </header><!-- .entry-header --> <div class="entry-content"> <form action="http://localhost/wordpress/?tableselector=5&tableselector=5&wcttab=content&action=new&wcts=&wcttab2=active&&" method="GET"><select name="tableselector"><option value="4">Members</option><option value="5">test</option><option value="3">Publications</option></select><input type="submit" value="Change Table"></form><br/><link rel="stylesheet" type="text/css" media="all" href="http://localhost/wordpress/wp-content/plugins/custom-tables/jscal/calendar-blue2.css" title="blue" /> <script type="text/javascript" src="http://localhost/wordpress/wp-content/plugins/custom-tables/jscal/calendar.js"></script> <script type="text/javascript" src="http://localhost/wordpress/wp-content/plugins/custom-tables/jscal/lang/calendar-en.js"></script> <script type="text/javascript" src="http://localhost/wordpress/wp-content/plugins/custom-tables/jscal/calendar-setup.js"></script> <script>function getY (el) {y = el.offsetTop;if (!el.offsetParent) { if (y <= '30') { y = 30; } return y; } else { y = (y+getY(el.offsetParent)-35);if (y <= '30') { y = 30; }return y;}}</script><div><h2>Create Entry</h2><form action="http://localhost/wordpress/?tableselector=5&tableselector=5&wcttab=content&action=new&wcts=&wcttab2=active&&tableselector=5&wcttab=content&wcttab2=active&action=new2&wcts=" method="post"><table><input type="hidden" name="wctff[]" value="status" /><tr><td><strong>status</strong> </td><td><select style="width:120px;" name="wctf[]"><option value="active">active</option><option value="draft">draft</option><option value="passive">passive</option></select></td></tr><input type="hidden" name="wctff[]" value="name" /><tr><td><strong>name</strong> </td><td><input size="34" type="text" name="wctf[]" value="" maxsize="32"/></td></tr>Some additional info:
I was looking at the html code of the page that is supposed to display the form. The end tag </frame> and all the rest of the html code (including the footer of the wordpress etc) was missing. Also, the page was not formatted in the standard wordpress theme format (I guess because of the missing footer). So it seems that the html code was somehow chopped?