In the next few weeks I’m going to be writing a few articles about Lyceum, including how to make WordPress themes and plugins work with Lyceum.
I’ll throw out this bit of info now for those who want to make their themes work: the most crucial thing is adding one line in comments.php, right under the opening <form ... > tag:
//your theme's comments.php file will have a line that looks something like this
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php"
method="post" id="commentform">
//replace the entire <form … > tag with:
<?php formOpenTag(); ?>
Adding this line should make commenting work. If you have any problems, let me know in the comments below.
update: I updated the above code to fix redirection after comment submission with some themes.
update: I updated the code again. The mod is now much more simple and works with subdomains. Let me know if you experience any problems.
update: Most themes should now need NO modification. If a theme in its virgin state is having trouble, try using this line:
<form action="<?php echo LURL; ?>/wp-comments-post.php" method="post" id="commentform">
22 Comments so far
Leave a comment
Shame on you. You painted the picture as if WordPress themes and plugins worked out of the box without any modifications, for which reason WordPress MU was the devil.
By George Appiah on 03.06.06 8:32 pm | Permalink
It’s true, the FAQ does erroneously say “no modification”.
I’ll correct it…
By John on 03.06.06 9:03 pm | Permalink
You have shamed your family name.
By Anonymous on 03.07.06 11:26 pm | Permalink
And you’ve shamed ALL THREE of my names.
By Joseph I. Lyceum on 03.07.06 11:35 pm | Permalink
Thanks so much for this. It took about 5 minutes to add that code to around 15 themes on my Lyceum installation, so I didn’t mind it at all.
An official repository of compatible or forked-to-be-compatible themes and plugins would be great, if there isn’t already one forming somewhere.
By Rick Beckman on 03.08.06 10:14 pm | Permalink
Hey dudes!
Good work on Lyceum. Looking forward to a stable version from you guys! Launching a site very soon and looking forward to Lyceum.
Anyway installed your latest unstable version, but couldnt get miniblog and minimalissimplistic themes to work. No idea why, even though I used your hint. ;)
By Sam on 03.19.06 1:34 am | Permalink
I’ve made the modification in all the themes I got and for some strange reason none off them work. The only one that works with “” is the default one.
I changed few themes to “/wp-comments-post.php” method=”post” id=”commentform”>” and now they are working.
Any ideas why?
By Serena K on 06.13.06 11:39 am | Permalink
If you are using the nightly, themes will no longer need the modification. Stay tuned for 0.32 where this will all be happier.
By John on 06.13.06 11:48 am | Permalink
I meant I changed them to /wp-comments-post.php” method=”post” id=”commentform”>
By Serena K on 06.13.06 1:05 pm | Permalink
Yes, I am using the nightly, made a new install yesterday. Good to hear the modification won’t be necessary anymore!
By Serena K on 06.13.06 1:07 pm | Permalink
I’ve got a quick question that I can’t find the answer to via Clusty — How do I get the dashboard to show me preview pics of the themes so I can see a glimpse of what I’m choosing? :)
Thanks tons for the fix, btw!
By Kyle on 07.02.06 6:11 pm | Permalink
Hello,
Could you please explain me, how to Make a WordPress plugin work with Lyceum. I am in a critical situation. Your suggestions will be much appreciated at this situation. So , please reply me as soon as possible
Anto
By Anto on 07.18.06 1:50 pm | Permalink
Hi Anto. The best place to get support is from the email list and IRC channel.
http://lyceum.ibiblio.org/support
By John on 07.18.06 1:59 pm | Permalink
Hey all — was hoping that someone could clue me in on a total n00b CSS issue:
I’m trying to customize the Random Image Theme for Wordpress, and I’m running into a small — but *incredibly annoying* — problem.
I’m trying to make the background of the content area white. The background of navigation column that runs down the right side is not plain white (FFFFFF). Rather Photoshop’s color picker claims that it’s F9F9F9 — but this isn’t anywhere in the style.css file. There is a .alt that has a background set at F8F8F8, but when I change that to FFFFFF, it doesn’t help.
Where is that shading coming from?
many thanks…
By dj on 08.03.06 1:01 pm | Permalink
u.mat
By u.mat on 08.08.06 2:57 pm | Permalink
Are we allow to modified or remove the Lyceum Logo form the registration page, so it looks as part of my website.
Is it ok or not?
Thanks
By Pat on 09.05.06 4:53 pm | Permalink
If the formOpenTag change has been made to a theme and it still doesn’t work, is there anything else that can be done to make it work? In this particular case, the formOpenTag code does not get parsed at all, and the comment form has no opening tag.
By Scot Hacker on 09.21.06 10:31 pm | Permalink
As it is now, most themes should need NO modification. Try the theme with no modification and see if that works.
By John on 09.21.06 10:43 pm | Permalink
Ah, you’re right. Restored the original line and all is well. Thanks.
By Scot Hacker on 09.22.06 12:53 pm | Permalink
A little issue I just came across (could be due to a bad theme/template) but the Merdeka theme uses moo.fx and prototype lite.
The cool navigation would not work. Turned out to be a small path issue.
They used:
<?php bloginfo('url'); ?>/wp-content/themes/merdeka/prototype.lite.jsbut since blogs are listed UNDER the main root this does not work. Changed it with a hack to:
<?php bloginfo('url'); ?>/../wp-content/themes/merdeka/prototype.lite.jsHence my tip on fixing templates… make sure you check code referencing
That said, I’ve been able to install most themes I’ve tried with NO modification whatsoever.
By ThomasTester on 10.05.06 8:57 pm | Permalink
Newly added function “language_attributes()” (I not sure when it added?) can do blank page issues.
If you found any blank pages problem please remove it in any caller script.
By Wind on 06.12.07 8:36 am | Permalink
I mean inside theme folder.
By Wind on 06.12.07 8:37 am | Permalink
HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>