Displaying a single specific article

4 posts by 2 authors in: Forums > CMS Builder
Last Post: October 27, 2015   (RSS)

By osga - October 22, 2015

We have pages we would like to display a single specific article on, not just the most recent article in a given cat, but a single art summary that would be specific to that pages content.

I.E.:

we have a static page for "Company X" with their company info...

under the "Updates" Category, we have different companies listing their Updates but we only want the one for Company X to appear on the Company X page. Not whatever the most recent "Update" is listed under that Category.

Any thoughts?

By Damon - October 23, 2015

Hi,

Is Company X entered into CMS Builder as a record in a multi-record Section Editor in CMS Builder?

If this is the setup, then you can create a dropdown list of Company Names (pulled in from the Company Section Editor) in the Updates Section Editor. Once you have added a Company name to an Updates record, you can then filter the Updates records on the front end of the site to only display Update records that match the company.

Let me know if this sounds like it will work for you and I can provide more details about the steps.

Also, can you reply with the URL to an example company page so I take a look?

Thanks!

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By Damon - October 27, 2015

Hi,

If you are trying to include and run PHP on an .htm page, you will need to have that file extension enabled to run PHP.

Here is a link with details:
http://www.interactivetools.com/docs/cmsbuilder/file_extensions.html
You can also check with your host.

Next, to add a specific record to a page, use the Code Generator for a Detail page. Then for "Which Record" choose "Custom: Load record # and enter the record number (see example image).

You can now add any of the publish code needed.

Last step is you can assign that specific record to a user in CMS Builder and limit them to only 1 record so they can login and modify that one when they want to make updates.

Let me know if you have any questions about this.

Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Attachments:

load_custom_record.png 10K