Jump to content

Amending Database


Ayien

Recommended Posts

Hello, I don't know if this has been asked before, but I looked.

 

Anyway, I'll break it down. I have a clan that I'm in. I'm currently building their new site and I have coded my own login system and I have manged to pull information onto a page through the database.

 

Now, through the admin control panel, I wish for admins (only admins, they are the only ones to use the control panel) to edit the web pages content. However, I do not want to have 20 or so different areas on a edit page that lists a box for them to edit a pages content.

 

I'd like to have a drop down menu select, then it reloads the page or whichever for that information in the page. Then that information in the page can be edited using a basic WYSIWTG editor.

 

Does anyone know of any ways to do this?

 

Thanks,

Matt

Link to comment
https://forums.phpfreaks.com/topic/61496-amending-database/
Share on other sites

The drop down menu's purpose is to select the page you wish to edit.

 

When you select a page, a WYSIWYG editor shows the pages content so it can be modified and saved. I don't want to have twenty little text areas to edit all the pages. I'd like to try and keep it compact.

 

 

Thanks,

Matt

Link to comment
https://forums.phpfreaks.com/topic/61496-amending-database/#findComment-306440
Share on other sites

Then the link I posted above should work since each page you are editing will have it's own filename... even if using Ajax.

 

Let's say you need to edit page one. In the drop down menu, enter the title of the page, and then when they select it from the drop down it will take them to page one to edit. Same for all the other pages.

 

 

Link to comment
https://forums.phpfreaks.com/topic/61496-amending-database/#findComment-306443
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.