“发布者 - 创建文章”
在 Publisher 中创建文章
Section titled “在 Publisher 中创建文章”步骤-by-step 在发布者模区块中创建、编辑、格式化和发布文章的指南。
访问文章管理
Section titled “访问文章管理”管理面板导航
Section titled “管理面板导航”Admin Panel└── Modules └── Publisher └── Articles ├── Create New ├── Edit ├── Delete └── Publish- 以管理员身份登录
- 单击管理栏中的模区块
- 找到发布者
- 单击 管理员 链接
- 单击左侧菜单中的文章
- 单击“添加文章”按钮
文章创建表格
Section titled “文章创建表格”创建新文章时,请填写以下部分:
graph TD A[Article Creation Form] -->|Step 1| B[Basic Info] A -->|Step 2| C[Content] A -->|Step 3| D[Images] A -->|Step 4| E[Files] A -->|Step 5| F[Publishing] A -->|Step 6| G[Save]步骤一:基本信息
Section titled “步骤一:基本信息”Field: TitleType: Text input (required)Max length: 255 charactersExample: "Top 5 Tips for Better Photography"指南:
- 描述性和具体性
- 包含 SEO 的关键字
- 避免ALLCAPS
- 保持在 60 个字符以下以获得最佳显示效果
Field: CategoryType: Dropdown (required)Options: List of created categoriesExample: Photography > Tutorials提示:
- 可用的父类别和子类别
- 选择最相关的类别
- 每篇文章只有一个类别
- 可以稍后更改
文章副标题(可选)
Section titled “文章副标题(可选)”Field: SubtitleType: Text input (optional)Max length: 255 charactersExample: "Learn photography fundamentals in 5 easy steps"用于:
- 摘要标题
- 预告片文字
- 扩展标题
Field: Short DescriptionType: Textarea (optional)Max length: 500 characters目的:
- 文章预览文本
- 显示在类别列表中
- 用于搜索结果
- SEO的元描述
示例:
"Discover essential photography techniques that will transform your photosfrom ordinary to extraordinary. This comprehensive guide covers composition,lighting, and exposure settings."Field: Article BodyType: WYSIWYG Editor (required)Max length: UnlimitedFormat: HTML主要文章内容区具有富文本编辑功能。
步骤 2:格式化内容
Section titled “步骤 2:格式化内容”使用WYSIWYG编辑器
Section titled “使用WYSIWYG编辑器”Bold: Ctrl+B or click [B] buttonItalic: Ctrl+I or click [I] buttonUnderline: Ctrl+U or click [U] buttonStrikethrough: Alt+Shift+D or click [S] buttonSubscript: Ctrl+, (comma)Superscript: Ctrl+. (period)创建正确的文档层次结构:
<h1>Article Title</h1> <!-- Use once at top --><h2>Main Section</h2> <!-- For major sections --><h3>Subsection</h3> <!-- For subtopics --><h4>Sub-subsection</h4> <!-- For details -->在编辑器中:
- 单击 格式 下拉菜单
- 选择标题级别 (H1-H6)
- 输入您的标题
无序列表(项目符号):
• Point one• Point two• Point three编辑器中的步骤:
- 点击【≡】项目符号列表按钮
- 键入每个点
- 按 Enter 进入下一项
- 按两次退格键结束列表
有序列表(编号):
1. First step2. Second step3. Third step编辑器中的步骤:
- 单击[1.]编号列表按钮
- 键入每个项目
- 按 Enter 进入下一步
- 按两次退格键结束
嵌套列表:
1. Main point a. Sub-point b. Sub-point2. Next point步骤:
- 创建第一个列表
- 按 Tab 键缩进
- 创建嵌套项目
- 按 Shift+Tab 减少缩进
添加超链接:
- 选择要链接的文本
- 单击 [🔗] 链接 按钮
- 输入URL:
https://example.com - 可选:添加title/target
- 单击“插入链接”
删除链接:
- 在链接文本内单击
- 单击 [🔗] 删除链接 按钮
区块引用:
"This is an important quote from an expert"- Attribution步骤:
- 输入引用文本
- 单击**[❝]区块引用**按钮
- 文本缩进并设置样式
代码区块:
def hello_world(): print("Hello, World!")步骤:
- 点击格式→代码 2.粘贴代码
- 选择语言(可选)
- 代码显示语法高亮
步骤 3:添加图像
Section titled “步骤 3:添加图像”特色图片(英雄图片)
Section titled “特色图片(英雄图片)”Field: Featured Image / Main ImageType: Image uploadFormat: JPG, PNG, GIF, WebPMax size: 5 MBRecommended: 600x400 px上传:
- 点击上传图片按钮 2.从电脑中选择图像
- Crop/resize(如果需要)
- 单击“使用此图像”
图像放置:
- 显示在文章顶部
- 用于类别列表
- 显示在档案中
- 用于社交分享
在文章文本中插入图像:
- 将光标置于编辑器中图像应放置的位置
- 单击工具栏中的 [🖼️] 图片 按钮
- 选择上传选项:
- 上传新图片
- 从图库中选择
- 输入图片URL
- 配置:
Image Size: - Width: 300-600 px - Height: Auto (maintains ratio) - Alignment: Left/Center/Right- 单击“插入图像”
将文本环绕图像:
插入后在编辑器中:
<!-- Image floats left, text wraps around --><img src="image.jpg" style="float: left; margin: 10px;">创建多-image画廊:
- 单击 图库 按钮(如果有)
- 上传多张图片:
- 单击:添加一个
- 拖放:添加多个
- 拖动排列顺序 4.为每个图像设置标题
- 单击创建图库
步骤 4:附加文件
Section titled “步骤 4:附加文件”添加文件附件
Section titled “添加文件附件”Field: File AttachmentsType: File upload (multiple allowed)Supported: PDF, DOC, XLS, ZIP, etc.Max per file: 10 MBMax per article: 5 files**附上:**1. 单击“添加文件”按钮 2.从电脑中选择文件 3. 可选:添加文件描述 4. 单击“附加文件” 5. 对多个文件重复此操作
文件示例:
- PDF指南
- Excel 电子表格
- Word文档
- ZIP档案
- 源代码
管理附加文件
Section titled “管理附加文件”编辑文件:
- 单击文件名
- 编辑说明
- 单击保存
删除文件:
1.在列表中查找文件 2. 单击**[×]删除**图标 3. 确认删除
步骤 5:发布和状态
Section titled “步骤 5:发布和状态”Field: StatusType: DropdownOptions: - Draft: Not published, only author sees - Pending: Waiting for approval - Published: Live on site - Archived: Old content - Unpublished: Was published, now hidden状态工作流程:
graph LR A[Draft] -->|Author saves| B[Draft] B -->|Submit| C[Pending Review] C -->|Editor approves| D[Published] D -->|Author unpublishes| E[Unpublished] C -->|Editor rejects| F[Draft]Status: PublishedStart Date: Today (auto-filled)End Date: (leave blank for no expiration)Status: ScheduledStart Date: Future date/timeExample: February 15, 2024 at 9:00 AM文章将在指定时间自动发布。
设置过期时间
Section titled “设置过期时间”Enable Expiration: YesExpiration Date: Future dateAction: Archive/Hide/DeleteExample: April 1, 2024 (article auto-archives)Show Article: - Display on front page: Yes/No - Show in category: Yes/No - Include in search: Yes/No - Include in recent articles: Yes/No
Featured Article: - Mark as featured: Yes/No - Featured section position: (number)步骤 6:SEO 和元数据
Section titled “步骤 6:SEO 和元数据”SEO 设置
Section titled “SEO 设置”Field: SEO Settings (Expand section)Field: Meta DescriptionType: Text (160 characters recommended)Used by: Search engines, social media
Example:"Learn photography fundamentals in 5 easy steps.Discover composition, lighting, and exposure techniques."Field: Meta KeywordsType: Comma-separated listMax: 5-10 keywords
Example: Photography, Tutorial, Composition, Lighting, ExposureURL 蛞蝓
Section titled “URL 蛞蝓”Field: URL Slug (auto-generated from title)Type: TextFormat: lowercase, hyphens, no spaces
Auto: "top-5-tips-for-better-photography"Edit: Change before publishing文章信息中的自动-generated:
- 标题
- 描述
- 特色图片
- 文章URL
- 出版日期
由 Facebook、LinkedIn、WhatsApp 等使用。
步骤7:评论与互动
Section titled “步骤7:评论与互动”Allow Comments: - Enable: Yes/No - Default: Inherit from preferences - Override: Specific to this article
Moderate Comments: - Require approval: Yes/No - Default: Inherit from preferencesAllow Ratings: - Enable: Yes/No - Scale: 5 stars (default) - Show average: Yes/No - Show count: Yes/No步骤 8:高级选项
Section titled “步骤 8:高级选项”Field: AuthorType: DropdownDefault: Current userOptions: All users with author permission
Display: - Show author name: Yes/No - Show author bio: Yes/No - Show author avatar: Yes/NoField: Edit LockPurpose: Prevent accidental changes
Lock Article: - Locked: Yes/No - Lock reason: "Final version" - Unlock date: (optional)文章的汽车-saved版本:
View Revisions: - Click "Revision History" - Shows all saved versions - Compare versions - Restore previous version保存工作流程
Section titled “保存工作流程”graph TD A[Start Article] -->|Save as Draft| B[Draft Saved] B -->|Continue editing| C[Save again] C -->|Ready to publish| D[Change Status to Published] D -->|Click Save| E[Live on Site]汽车-save:
- 每 60 秒触发一次
- 自动保存为草稿
- 显示“上次保存:2 分钟前”
手动保存:
- 单击保存并继续继续编辑
- 单击保存并查看以查看已发布的版本
- 单击 保存 保存并关闭
1.设置状态:已发布 2. 设置开始日期:现在(或未来日期) 3. 单击“保存”或“发布” 4. 出现确认信息 5. 文章已上线(或预定)
编辑现有文章
Section titled “编辑现有文章”访问文章编辑器
Section titled “访问文章编辑器”- 转到管理→发布者→文章 2.在列表中查找文章
- 单击 编辑 icon/button
- 做出改变
- 单击保存
一次编辑多篇文章:
1. Go to Articles list2. Select articles (checkboxes)3. Choose "Bulk Edit" from dropdown4. Change selected field5. Click "Update All"
Available for: - Status - Category - Featured (Yes/No) - Author发布前:
- 单击预览按钮
- 读者将看到的视图 3.检查格式
- 测试链接 5.返回编辑器进行调整
查看所有文章
Section titled “查看所有文章”文章列表视图:
Admin → Publisher → Articles
Columns: - Title - Category - Author - Status - Created date - Modified date - Actions (Edit, Delete, Preview)
Sorting: - By title (A-Z) - By date (newest/oldest) - By status (Published/Draft) - By categoryFilter Options: - By category - By status - By author - By date range - Search by title
Example: Show all "Draft" articles by "John" in "News" category软删除(推荐):
1.更改状态:未发布 2. 单击保存 3.文章隐藏但不删除 4. 可以稍后恢复
硬删除:
- 在列表中选择文章
- 单击删除按钮
- 确认删除 4.文章永久删除
内容最佳实践
Section titled “内容最佳实践”撰写高质量文章
Section titled “撰写高质量文章”Structure: ✓ Compelling title ✓ Clear subtitle/description ✓ Engaging opening paragraph ✓ Logical sections with headers ✓ Supporting visuals ✓ Conclusion/summary ✓ Call-to-action
Length: - Blog posts: 500-2000 words - News: 300-800 words - Guides: 2000-5000 words - Minimum: 300 wordsSEO 优化
Section titled “SEO 优化”Title Optimization: ✓ Include primary keyword ✓ Keep under 60 characters ✓ Put keyword near beginning ✓ Be descriptive and specific
Content Optimization: ✓ Use headings (H1, H2, H3) ✓ Include keyword in heading ✓ Use bold for important terms ✓ Add descriptive links ✓ Include images with alt text
Meta Description: ✓ Include primary keyword ✓ 155-160 characters ✓ Action-oriented ✓ Unique per articleReadability: ✓ Short paragraphs (2-4 sentences) ✓ Bullet points for lists ✓ Subheadings every 300 words ✓ Generous whitespace ✓ Line breaks between sections
Visual Appeal: ✓ Featured image at top ✓ Inline images in content ✓ Alt text on all images ✓ Code blocks for technical ✓ Blockquotes for emphasis编辑器快捷键
Section titled “编辑器快捷键”Bold: Ctrl+BItalic: Ctrl+IUnderline: Ctrl+ULink: Ctrl+KSave Draft: Ctrl+S文本快捷方式
Section titled “文本快捷方式”-- → (dash to em dash)... → … (three dots to ellipsis)(c) → © (copyright)(r) → ® (registered)(tm) → ™ (trademark)1.打开文章 2. 单击“复制”或“克隆”按钮 3. 文章复制为草稿 4. 编辑标题和内容 5. 发布
- 创建文章
- 设置开始日期:未来date/time 3.设置状态:已发布
- 单击“保存” 5.文章自动发布
- 创建文章草稿
- 设置发布日期
- 文章在预定时间自动-publish
- 从“预定”视图进行监控
在类别之间移动
Section titled “在类别之间移动”1.编辑文章 2.更改类别下拉列表 3. 单击保存 4.文章出现在新类别中
问题:无法保存文章
Section titled “问题:无法保存文章”解决方案:
1. Check form for required fields2. Verify category is selected3. Check PHP memory limit4. Try saving as draft first5. Clear browser cache问题:图像不显示
Section titled “问题:图像不显示”解决方案:
1. Verify image upload succeeded2. Check image file format (JPG, PNG)3. Verify image path in database4. Check upload directory permissions5. Try re-uploading image问题:编辑器工具栏未显示
Section titled “问题:编辑器工具栏未显示”解决方案:
1. Clear browser cache2. Try different browser3. Disable browser extensions4. Check JavaScript console for errors5. Verify editor plugin installed问题:文章未发布
Section titled “问题:文章未发布”解决方案:
1. Verify Status = "Published"2. Check Start Date is today or earlier3. Verify permissions allow publishing4. Check category is published5. Clear module cache---## 相关指南
- 配置指南
- 品类管理
- 权限设置
- 自定义模板
- 创建您的第一篇文章
- 设置类别
- 配置权限
- 审核模板定制
#publisher #articles #content #creation #formatting #editing #XOOPS