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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T15:49:53+00:00 2026-05-24T15:49:53+00:00

This is a very broad question, so I expect a pretty broad answer. I

  • 0

This is a very broad question, so I expect a pretty broad answer.

I have created websites where an admin can post articles, however they would fall into a specific format. for example

title, date, image, article body

What sort of techniques would I use to make a system where an admin could post the elements in an article in different combinations.

title, date, image, code, body, code, image, image, code, body

something like that? Obviously if the person knew html they could just write it all manually, but what techniques do movie review websites, or news websites use in order to allow articles of different forms to be posted.

  • 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-24T15:49:54+00:00Added an answer on May 24, 2026 at 3:49 pm

    Usual WebCMS do not have a flexible structure like that, but multiple database content tables and output plugins etc. to combine articles with images and a comment section for example. And more usually you only have a single body/content field for each article/page, with images or other content just assigned by reference and stored elsewhere.

    However if you really insist, you could create a database scheme which is made up of core fields (title, date, id) and a separate list of page “attachments”. The attachment table would have a reference (id) to the core article/page table with the meta fields, and attach either a type=body or type=image or type=code or type=comment block. Basically something like:

    TABLE content (
         id INT,
         date DATETIME,
         title VARCHAR
    )
    TABLE attachments (
         id INT F_K,
         type ENUM (body, image, code, comment),
         data TEXT,
         outputposition INT
    )
    

    However that’s really unusual, as it’s more overhead than necessary. The common approach is to constraint the page types and structure, and use individual output handlers or indeed completed html pages.

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

Sidebar

Related Questions

I anticipate this is going to be a very broad question however I shall
This is a very broad question, but hopefully I can get useful tips. Currently
This is a very broad question , can I de-crpypt a streaming file, (assuming
What is smart phone development? I know this is a very broad question, so
Introduction: Now I know this question could be very broad and it would be
I know this sounds like a broad question but I can narrow it down
I understand that this is a very broad question, but a short it depends
This might be a very broad question. But this is what i want. I
I understand that this is a very broad question, but I was very curious
Have a look at this very simple example WPF program: <Window x:Class=WpfApplication1.Window1 xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml

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.