Page editor

Download plugins, language packs and stuff.

Page editor

Postby FI-DD » Fri Feb 09, 2007 12:05 am

With the help of this plugin you can create and edit files via the admin panel.



The files will be saved in the data/pages/ folder.



Installation:

Upload the plugin file to the plugins folder, the language file to the inc/lang/en/plugins folder and activate the plugin.
Attachments
page-editor.zip
Page editor
(4.8 KiB) Downloaded 601 times
Last edited by FI-DD on Thu Mar 15, 2007 8:01 pm, edited 1 time in total.
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby Ramon » Sun Feb 11, 2007 9:15 pm

Could be a very powerfull add-on. Is it possible to change the data map? Also is it possible to create several maps within that data map so you can pick in which map you want to put a certain file?



I'm working on a F1 website atm and it could come in very handy when i'm able to use it like then. As there are a few static pages that change overyear (like teams/circuits/drivers).
Image
Ramon
 
Posts: 599
Joined: Wed Oct 12, 2005 8:51 pm
Location: Hoogeveen, NL

Postby rats » Thu Mar 15, 2007 3:15 pm

Well this is one of the best add-ons, and I don't see lots of feedbacks on it

Let me just say is great and it helps a BUNCH, and thank you FI-DO for another great plugin.



I also have some few suggestions for future versions:



- be able to use QucikTags;

- be able to define the folder to use within a configuration tab;

- be able to open a file by given a path (/home/user/pages/a_page.php, /home/user/.htaccess, etc.);

- rename page.



And if i'm not to cocky, a browse folder option :P



Cheers.
rats
 
Posts: 44
Joined: Mon May 29, 2006 7:48 pm

Postby FI-DD » Thu Mar 15, 2007 8:02 pm

I modified it a bit. :)
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby rats » Thu Mar 15, 2007 8:21 pm

you're god :oops:

I just hope the help you give, will be returned sometime :wink:



P.S. Your Karma must be huge :shock:
rats
 
Posts: 44
Joined: Mon May 29, 2006 7:48 pm

Postby rats » Thu Sep 06, 2007 9:36 pm

sorry to bump this, but when I edit
Code: Select all
         'selected_folder'   =>'./data/pages',
         'page_folder1'      =>'./data/pages'

to another path, nothing changes :shock:
rats
 
Posts: 44
Joined: Mon May 29, 2006 7:48 pm

Postby FI-DD » Thu Sep 06, 2007 11:12 pm

I don't really remember but I think you are supposed to change this via the admin panel in the plugin's options.

If not you can change it in data/settings.php.
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby mrshlee » Wed Jan 02, 2008 7:23 pm

how do I use these pages?
mrshlee
 
Posts: 5
Joined: Sat Dec 29, 2007 6:03 pm

Postby JakobJ » Thu Jan 01, 2009 7:43 pm

Hi,

Just downloaded and installed the plugin, it's amazing, thanks alot ;) ! Just that bug I found, when there's a <textarea> (the closetag, </textarea>, to be precise :p) the edit-textarea ends and the rest of the code of the page outputs :p. Do you think you can fix that? Thank you in advance ;).
Attachments
page-editor-bug.gif
Screen shot of the bug.
(31.71 KiB) Downloaded 143 times
JakobJ
 
Posts: 19
Joined: Mon Dec 22, 2008 10:04 pm

Postby FI-DD » Fri Jan 02, 2009 11:36 am

In plugins/page-editor.php find this:
Code: Select all
$body = @fread($handle, filesize ($page));
fclose($handle);


and add below:
Code: Select all
$body = htmlentities($body);
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby JakobJ » Fri Jan 02, 2009 2:42 pm

Huge thanks, you're awesome ;) !
JakobJ
 
Posts: 19
Joined: Mon Dec 22, 2008 10:04 pm

Postby eberswine » Fri Nov 20, 2009 4:08 pm

I have a quick question about this plugin (which is SICK) and I can't believe it took me this long to find it!

This is perfect for those somewhat static pages that you only update minimally!

Anyways,.. when I activate the plugin and it automatically creates "example.php" page... I edit the page and then save it -- and then I got to my browser and go to the example.php page,.. but it doesn't allow access to it...??

Is something wrong or do you have to manually create an htaccess page to "Allow from all" ????

Thanks so much.
User avatar
eberswine
 
Posts: 289
Joined: Thu Apr 26, 2007 7:23 pm

Postby DarkSlim » Fri Nov 20, 2009 4:39 pm

Hmm what error do you get?
What happens when you try creating a new page?
You can upload a screenshot too if you think it'll help
check out the data/pages folder, what files do you have there?
the example file has been created?
You can creat an empty file put it there and try to read it
Check the data/pages folder and all of it's contents
has both read/write chmod etc'
User avatar
DarkSlim
 
Posts: 298
Joined: Thu Aug 06, 2009 4:18 pm
Location: IL

Postby eberswine » Fri Nov 20, 2009 4:53 pm

I got it working! (well the include that page, not the direct url)

So what I found is working is this:

If a create my template page in my website... let's say www.mywebsite.com/about.php

so in my about.php page, I have a typical set up:

php include header/sidebar/footer....

and then i include my page-editor page and it works .. so <?php include ("/cnr/data/pages/example.php"); ?>

---- so this page is just the content that needs to be updated... and it works beautifully!

Thanks DarkSlim for getting back to me so quick!
User avatar
eberswine
 
Posts: 289
Joined: Thu Apr 26, 2007 7:23 pm

Postby DarkSlim » Fri Nov 20, 2009 5:06 pm

eberswine wrote:I got it working! (well the include that page, not the direct url)

So what I found is working is this:

If a create my template page in my website... let's say www.mywebsite.com/about.php

so in my about.php page, I have a typical set up:

php include header/sidebar/footer....

and then i include my page-editor page and it works .. so <?php include ("/cnr/data/pages/example.php"); ?>

---- so this page is just the content that needs to be updated... and it works beautifully!

Thanks DarkSlim for getting back to me so quick!


Cool, glad you got it working :)

Btw, in the page editor you have "configuration" where you can choose
another folder for your pages, so I tried making it work with the root folder
so I can edit all of my websites files and it works but it has some bugs, I think
I've even fixed some hehe to choose the root folder you need to type in "../" :D
User avatar
DarkSlim
 
Posts: 298
Joined: Thu Aug 06, 2009 4:18 pm
Location: IL


Return to Additional Downloads



Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron