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 3431232
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:18:02+00:00 2026-05-18T07:18:02+00:00

I wish to create then periodically replace content in a concrete5 CMS. I have

  • 0

I wish to create then periodically replace content in a concrete5 CMS.

I have identified 15 tables which are changed when a new page is added (by doing an MYSQL diff).

However I dont quite follow how these tables are getting their values, especially the bID value in btcontentlocal.

I only discovered concrete5 today, so if you know that there is an API to post content to the backend, please share that with me too!

  • 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-18T07:18:03+00:00Added an answer on May 18, 2026 at 7:18 am

    Concrete5 doesn’t usually “replace” content — rather, it adds a new revision to the history of a page (note that due to historical reasons, a page is often called a “collection” in the code and database — as in “a collection of blocks”). The bID is the block id, which will change every time a block is edited (again, because it’s not actually editing the block that was there, but rather copying that block to a new one so the old one sticks around for the revision history).

    So… not sure what exactly you’re trying to do, but if you want to update a content block that’s on a page, you need to create a new collection version (which I believe implicitly carries all existing blocks forward), then copy the block in question block (I think there’s a “copy” or “clone” method in the block model for this purpose), then update that block’s content, then un-assign the old block from the new collection version, then assign the new block to the new collection version, then approve/publish the new collection version.

    I would strongly advise against doing this via database queries — Concrete5 is a very complex system and there are lots of little things going on that you don’t want to accidentally leave out of the process. The better approach is to figure out how to do it through the models themselves. Unfortunately I don’t think there’s one simple API function for doing all this, though — instead you’ll need to figure out the 5 or 6 different things that need to be done. You might have more luck if you ask this question on the concrete5 forums:
    http://www.concrete5.org/community/forums/customizing_c5/

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

Sidebar

Related Questions

I wish to drop all the constraints of tables I have. Since this is
If someone does something like: CREATE OR REPLACE TYPE some_type AS OBJECT(whatever NUMBER); and
I have a font that I wish to use on a website, and I
How do I reference another project which has code I wish to leverage in
I open a new window in SSMS and run this: SET ANSI_DEFAULTS ON GO
Before drawing a shape on a canvas I have a preview that displays how
this guide is given by one of my lecturer and i wanted to implement
I'm currently working on a project using javascript and python with Jquery Datatables plugin
This is by no means essential, but I would like to find out how
In a folder say /folderX/ there are 4 .txt files. A php script currently

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.