Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6752373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:02:13+00:00 2026-05-26T13:02:13+00:00

I building a simple, 7 page, database driven, website, and I would like to

  • 0

I building a simple, 7 page, database driven, website, and I would like to build a simple CMS for it. A super simple CMS just for changing the text on certain pages and uploading images to another. I wouldn’t even go as far as to call it a CMS. I mostly doing it for the learning experience of building a web app.

What I was thinking, is using php to build a simple web page that would have some simple login handling. Then use ajax to load the different modules for each page. Like on the main page I would like only the text to be changeable. What I thought I could do was use ajax to load another php page that just loads up a tinymce editor and preloads it with the text that is in the database, with a simple ajax button to upload the text to the database. Similar to a iframe but with out the iframe.

When I attempted this all I got was some text and textarea box. Turns out it only loads text not javascript. upon further reading I found out I could use eval to transform the text loaded into javascript, but this leads to scope issues from what I understand.

So I’m basically wondering how do I do this my goal is something similar to google and/or yahoo mail apps. I thinking at first I could throw all the javascript code I’m going to use on the main page and just load content with ajax, but from what I have read the javascript won’t apply its self to the new code since it wasn’t there when the code was applied to the DOM elements sometime when the page first loaded. My next thought was to load the content then load the script using jquery and apply it to the newly loaded content, but attempting to find anything on that was confusing at best.

Has anyone done anything similar to this and is willing to share what they learned, or just know what I’m talking about and can help me out? Or is the solution simple and I’m just not seeing it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:02:14+00:00Added an answer on May 26, 2026 at 1:02 pm

    We could use a little more detail (like code, procedures, etc.) however, i’d like to help out.

    regarding the tinymce, here’s my take on it:

    • create a php file that has timyMCE on it. let’s name it “tinymce.php”
    • create a php file that loads the text in the database. let’s call it “defaulttext.php”
    • on your main page (app page), load “tinymce.php” via ajax. this loads the tinymce editor from the php file to the main app page
    • create a callback (a function call after success of a previous procedure) after “tinymce.php” has loaded. in this call, call “defaulttext.php” and load it’s contents to the textbox of the “tinymce.php” contents loaded earlier.

    in all, there is 2 calls: a call for the editor and after it, the default content.

    You can use preloaded scripts to do what is needed before loading any content. create scripts to handle DOM, events, etc (event handlers).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building a CMS for editing page content. I would like to make
I'd like to print a simple table in my page with 3 columns, building
I'm building a simple website generator application in Rails 3.0. I'd like a publish
I'm building a simple directions program in VB and would like to incorporate some
I'm building a super simple CMS in PHP, and have what's probably a simple
I am buildiig a simple CMS and would like to know how to create
I am building a relatively simple Django application and apart from the main page
I'm building a very simple ASP.NET MVC site that doesn't require a database and
I'm building out a simple simple ASP.NET MVC 2 page. Was able to do
I am building a login page for my website. Right now it is very

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.