zjszk
zjszk
`using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SiteServer.Plugin; namespace Site.Teacher { public class Main : PluginBase { private const string SubTitle1 = "SubTitle"; private const string...
今天从4.1升级到6.6发现内容模型无法修改,请问内容模型插件在哪里,后台没有显示。
现有4.1版本的自定义数据表,默认字段NodeID,PublishmentSystemID 中的数据 update 升级数据表后 未能转换成6.6.2版本中的默认字段Channelld,siteID中的数据 导致后台内容管理,是空白的,不能显示已有的数据。
内容模板插件问题
自定义了一个内容模板:自定义数据表cms_teacher,字段Title,定义显示名称为姓名;在内容管理中添加内容页,存在 **标题**和**姓名**两个文本框;**请问如何修改,让添加内容页只显示自定义的内容**。 private const string Title1 = "Title"; private const string SubTitle1 = "SubTitle"; private const string ImageUrl1 = "ImageUrl"; private const string Content1 = "Content"; private const string stardata...
**4.1.1601**升级**6.6.2**,CLI工具**6.6.23**,升级后后台报错。 Server Error in Application 对象名 'siteserver_Table' 无效。 at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at...
用户001、002……999,拥有A、B、C、D四个栏目的中的C、D栏目投稿权限,C栏目只能由甲管理员审核,D栏目只能由乙管理员审核,请问这样的情况下,用户中心和管理员权限如何设置,谢谢。
在4.1中后台可以设置每个站点的独立访问域名,在后台使用访问站点功能,打开的是设置好的域名访问,与IIS设置一致。 6.6.24中后台设置web访问地址,设置独立访问域名,在后台使用访问站点功能, 打开的是**http://后台地址/站点目录/** 希望能修正下这个问题
Author | 作者 | 文本框(单行) | 虚拟字段 | 必填项 | 0 | 添加 | 设置 -- | -- | -- | -- | -- | -- | -- | --...
内容无法添加内容
A、B、C 栏目,内容模型由默认改为 MAP(**自定义内容模型插件**),再由MAP改为默认。 其中A栏目可以正常添加内容,正常生成页面。 B、C栏目不能添加内容和生成页面。 症状表现为:添加内容后,后台有显示,前台不能生成(仅内容页可以生成,首页和栏目页不能生成新增内容)清空缓存后,后台不显示。 经查 一、B、C栏目的新增内容在数据库中存在。 二、Channel表中 B、C栏目 的ContentModePluginId 字段为空 三、Channel表中 B、C栏目 的ContentModePluginId 字段添加 内容 Content,问题依旧。 四、在栏目管理中,重新保存B、C栏目的栏目属性内容,ContentModePluginId 字段再次变为空。 五、IIS回收应用程序后,C栏目添加的内容无法在后台显示。再次之前,只要不清空缓存,能在后台显示。 版本:6.2.24 诉求:希望有办法修正这个问题。不知道是服务器的问题,还是CMS的问题。
Server Error in Application Object reference not set to an instance of an object. at SiteServer.CMS.Plugin.Impl.AttributesImpl.Load(AttributesImpl attributes) at SiteServer.CMS.DataCache.ContentManager.ContentCache.GetContent(SiteInfo siteInfo, Int32 channelId, Int32 contentId) at SiteServer.BackgroundPages.Cms.PageContentDelete.Page_Load(Object sender, EventArgs e) at...