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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:06:05+00:00 2026-05-13T23:06:05+00:00

I’m building a CMS and I want to be able to insert stuff in

  • 0

I’m building a CMS and I want to be able to insert “stuff” in arbitrary locations in a document (CMS page).

The “stuff” objects will have generic foreign keys and can be a table generated from a db entry, or it can be an uploaded image or something else.

I’ve seen that Nathan Borror’s django-basic-apps contains a basic-inlines app which looks like it could be a good solution (based on the screencast from django-mingus), but I want to make sure that there aren’t alternatives that I’ve missed.

Suggestions to alternative solutions are greatly appreciated.

  • 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-13T23:06:05+00:00Added an answer on May 13, 2026 at 11:06 pm

    My solution to this problem dates back to the last century :-). I give my customers a simple reference mechanism to any object. Specifically:

        "Lorem ipsum dolor sit amet, [[article.129 | consectetur adipisicing elit]],
    sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
    

    Where article.129 can be any class.id pair. The | is optional as is the text after it. If it’s there, that’s the link text, if not I do object.title_for_link() and use that. This is easy stuff to match with regexp and solves all sorts of intra-site referencing problems. I normally give them a special page that lists all class.id pairs along with what it gets them. They bring it up in a separate tab and use it for reference while editing.

    BTW, the reason for using the .id is because titles change, but ids don’t.

    I am working on a new site where we are using reStructured Text as the primary input format. Although it works OK to keep my author (who has a tendency for flamboyant typography) from getting out of control, I still had to extend it to make this type of reference available. There are several similar reference mechanisms for images, etc., but the idea is to keep the author focused on content production and as far away as possible from worrying about proper HTML markup.

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

Sidebar

Related Questions

I have a French site that I want to parse, but am running into
link Im having trouble converting the html entites into html characters, (&# 8217;) i
this is what i have right now Drawing an RSS feed into the php,
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
We're building an app, our first using Rails 3, and we're having to build
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a bunch of posts stored in text files formatted in yaml/textile (from
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString

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.