1 (edited by nakome 2014-02-02 23:37:39)

Topic: editPage plugin experiment

Hello i make a plugin to edit posts of blog online .  you can test here

for now its only a experiment i need more security.

Demo preview

user = demo
pass = demo123

You can download  the plugin here

Config.php sample:

        'username' => 'username', // you need change this if yoy like
        'password' => 'password', // you need change this if you like
        'plugins' => array(
            'markdown',
            'sitemap',
            'editPage',
        ),
..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

Re: editPage plugin experiment

I remove  script to not save data please not erase all Thanks smile

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

Re: editPage plugin experiment

bro I have no words! you're the best! smile

Re: editPage plugin experiment

Thanks i try to  make more good smile

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

Re: editPage plugin experiment

nakome wrote:

I remove  script to not save data please not erase all Thanks smile

http://s13.postimg.org/wywl38juv/image.png delete!!!

6 (edited by nakome 2014-02-03 20:13:06)

Re: editPage plugin experiment

Update download in top page.

Preview

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

Re: editPage plugin experiment

I would like to see something like this in morfy smile
http://getkirby.com/content/02-docs/11-panel/01.png
https://github.com/bastianallgeier/kirbycms-panel

Re: editPage plugin experiment

Yes is good panel but for now i have not time sorry.

..::: Moncho Varela ::::..   ..::: @Nakome ::::..   ..::: Github ::::..

nakome's Website

Re: editPage plugin experiment

Would be nice if Morfy provide an explanation about how to show the array of parsed data, so that we can make a nice editor panel, and rewrite the current .md file on click submit. Something like this:

XSS Testing

tovic's Website

10 (edited by tovic 2014-02-09 15:00:36)

Re: editPage plugin experiment

OK, so I tried to make a more formatted text editor barebones for Morfy as a starter. Save this file in your content folder as add.php, then open in your browser → http://localhost/{path-where-morfy-installed}/content/add.php

Remember that this editor does not have any login system. So do the test on the local server only.

It would be safe when combined with Nakome's plugin above, especially for the login feature.

If you want to create applications for editing, then it is almost the same, except that the value of each field should be set by default. Something like this:

getPage($_GET['file'] . '.md')) {
    $file = Morfy::factory()->getPage($_GET['file'] . '.md');
} else {
    echo 'No file selected.';
    return false;
}
?>

Indeed, I also need this kind of text editor features. I think I'm starting to like this CMS. It's simpler than Jekyll smile

XSS Testing

tovic's Website

Re: editPage plugin experiment

hi
are able to develop;
good editor http://codepen.io/nakome/pen/Lejkd smile