devshb
Senior Member
United Kingdom
1904 Posts |
Posted - July 14 2009 : 08:15:21
|
You'd need to code-up your own function to get/show it. However, if you're using sqlserver then you'd need to be careful to avoid the various text/ntext (memo) bugs which would show blank data if you don't reference the fields in the right order etc.
We've got an addon which does that: BYZ110 - Content Management Enhancements for VP-ASP: http://www.bigyellowkey.com/mysoftware_product_details.asp?prdid=224&opu=n
It allows you to show a given content chunk in any page/panel (ie you can show multiple content chunks for different content records on the same page/panel), and also has the benefit of being able to create static content pages (eg "aboutus.asp" instead of "shopcontent.asp?type=aboutus") which use static filenames but dynamic/data retrieval, and it also deals with the sqlserver text/ntext bugs.
To show the main message of the content chunk you'd then just call the function like this in your default.asp page or side panels etc:
<% BYZ_CMS_SHOW_BODYONLY("homecontentchunk1","","N") %>
<% BYZ_CMS_SHOW_BODYONLY("homecontentchunk2","","N") %>
etc (where "homecontentchunk1" is the type that you've given the content record)
There's also a function for the title if you want to show that too (BYZ_CMS_SHOW_TITLEONLY), and a function to simulate the entire contents page.
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
Edited by - devshb on July 14 2009 08:16:51 |
|
|