[wp-hackers] Seeking some advice

Alex Hempton-Smith hempsworth at googlemail.com
Wed Jan 21 01:02:24 GMT 2009


Ahh, on an unrelated post to the list somebody asked about having a new
instance of TinyMCE, and it looks really easy; Andrew Ozz said:
> Since TinyMCE is already loaded there, all you need to do is
tinyMCE.init({...init options...}); in js
> after the page has finished loading.

> There are quite a few examples of how to do this:
http://tinymce.moxiecode.com/examples/example_04.php

So it would be very possible to add the rich text editor to your custom
post-form. :)

-- Alex


On Wed, Jan 21, 2009 at 12:55 AM, Alex Hempton-Smith <
hempsworth at googlemail.com> wrote:

> This final feature should actually be quite easy to create. In your custom
> theme, create a theme template [1]. In this template file have the usual
> calls for get_header, get_footer etc. but have a form on there and use the
> functionality of the prologue theme [2] to provide a really dumbed down post
> editor, and hard-code the category to be something like 'columns-USERNAME'
> or user_id perhaps - up to you.
> Then you just need to create a new page in WordPress with a slug like
> 'write' and apply the template you just made, making your new custom page
> available at www.example.com/write/.
>
> Everything you need is in the Prologue theme really. Except its not the
> 'real' post editor. I suppose you could try to import all that stuff, but it
> would be far more complex!
>
> [1] http://codex.wordpress.org/Pages#Page_Templates
> [2] http://svn.automattic.com/wpcom-themes/prologue/
>
> Hope this helps,
> Alex
>
>
> On Wed, Jan 21, 2009 at 12:17 AM, Lynne Pope <lynne.pope at gmail.com> wrote:
>
>> 2009/1/21 Ozh <ozh at planetozh.com>
>>
>> > On Tue, Jan 20, 2009 at 10:24 PM, Jennifer Hodgdon
>> > <yahgrp at poplarware.com> wrote:
>> > > However, why exactly do you want to use WP? I would probably build
>> this
>> > site
>> > > in Drupal if I needed all those features, rather than hacking together
>> WP
>> > > with a forum and poll and all that. Right tool for the right job...
>> >
>> > Yeah, thought of this too, but there's a learning curve I don't want to
>> get
>> > in.
>>
>>
>> Almost everything you want to do is part of blogging. If you don't mind a
>> dumbed-down forum, then bbpress will do the job. If you don't need forum
>> logins to be integrated with WP then any forum will do the job - its just
>> a
>> matter of applying the same design.
>> Polls are the same. Either use a plugin, write your own, or if logins
>> between the poll and WP don't need integration then simply apply the same
>> design/theme and you have a site that appears to be integrated.
>>
>> The only sticking point that I can see is for the columnists access
>> permissions. Writing some functions to handle that would be a whole heap
>> easier than learning a completely new system.
>>
>> The right tool for the job is important, but I am not sure WP is the wrong
>> tool for this job. I am a Mambo developer and do a lot of work with Mambo.
>> But sometimes a full-featured CMS is overkill for a site and where a site
>> is
>> really a blog it just plain makes sense to extend the functionality of WP
>> rather than trying to make a CMS behave more like a blogging platform.
>>
>> Lynne
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>
>


More information about the wp-hackers mailing list