Publisher - Creating Articles
Creating Articles in Publisher
Section titled “Creating Articles in Publisher”Step-by-step guide to creating, editing, formatting, and publishing articles in the Publisher module.
Access Article Management
Section titled “Access Article Management”Admin Panel Navigation
Section titled “Admin Panel Navigation”Admin Panel└── Modules └── Publisher └── Articles ├── Create New ├── Edit ├── Delete └── PublishQuickest Path
Section titled “Quickest Path”- Log in as Administrator
- Click Modules in admin bar
- Find Publisher
- Click Admin link
- Click Articles in left menu
- Click Add Article button
Article Creation Form
Section titled “Article Creation Form”Basic Information
Section titled “Basic Information”When creating a new article, fill in the following sections:
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]Step 1: Basic Information
Section titled “Step 1: Basic Information”Required Fields
Section titled “Required Fields”Article Title
Section titled “Article Title”Field: TitleType: Text input (required)Max length: 255 charactersExample: "Top 5 Tips for Better Photography"Guidelines:
- Descriptive and specific
- Include keywords for SEO
- Avoid ALL CAPS
- Keep under 60 characters for best display
Select Category
Section titled “Select Category”Field: CategoryType: Dropdown (required)Options: List of created categoriesExample: Photography > TutorialsTips:
- Parent and subcategories available
- Pick most relevant category
- Only one category per article
- Can be changed later
Article Subtitle (Optional)
Section titled “Article Subtitle (Optional)”Field: SubtitleType: Text input (optional)Max length: 255 charactersExample: "Learn photography fundamentals in 5 easy steps"Use for:
- Summary headline
- Teaser text
- Extended title
Article Description
Section titled “Article Description”Short Description
Section titled “Short Description”Field: Short DescriptionType: Textarea (optional)Max length: 500 charactersPurpose:
- Article preview text
- Displays in category listing
- Used in search results
- Meta description for SEO
Example:
"Discover essential photography techniques that will transform your photosfrom ordinary to extraordinary. This comprehensive guide covers composition,lighting, and exposure settings."Full Content
Section titled “Full Content”Field: Article BodyType: WYSIWYG Editor (required)Max length: UnlimitedFormat: HTMLThe main article content area with rich text editing.
Step 2: Formatting Content
Section titled “Step 2: Formatting Content”Using the WYSIWYG Editor
Section titled “Using the WYSIWYG Editor”Text Formatting
Section titled “Text Formatting”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)Heading Structure
Section titled “Heading Structure”Create proper document hierarchy:
<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 -->In Editor:
- Click Format dropdown
- Select heading level (H1-H6)
- Type your heading
Unordered List (Bullets):
• Point one• Point two• Point threeSteps in editor:
- Click [≡] Bullet list button
- Type each point
- Press Enter for next item
- Press Backspace twice to end list
Ordered List (Numbered):
1. First step2. Second step3. Third stepSteps in editor:
- Click [1.] Numbered list button
- Type each item
- Press Enter for next
- Press Backspace twice to end
Nested Lists:
1. Main point a. Sub-point b. Sub-point2. Next pointSteps:
- Create first list
- Press Tab to indent
- Create nested items
- Press Shift+Tab to outdent
Add Hyperlink:
- Select text to link
- Click [🔗] Link button
- Enter URL:
https://example.com - Optional: Add title/target
- Click Insert Link
Remove Link:
- Click within linked text
- Click [🔗] Remove Link button
Code & Quotes
Section titled “Code & Quotes”Blockquote:
"This is an important quote from an expert"- AttributionSteps:
- Type quote text
- Click [❝] Blockquote button
- Text is indented and styled
Code Block:
def hello_world(): print("Hello, World!")Steps:
- Click Format → Code
- Paste code
- Select language (optional)
- Code displays with syntax highlight
Step 3: Adding Images
Section titled “Step 3: Adding Images”Featured Image (Hero Image)
Section titled “Featured Image (Hero Image)”Field: Featured Image / Main ImageType: Image uploadFormat: JPG, PNG, GIF, WebPMax size: 5 MBRecommended: 600x400 pxTo Upload:
- Click Upload Image button
- Select image from computer
- Crop/resize if needed
- Click Use This Image
Image Placement:
- Displays at top of article
- Used in category listings
- Shown in archive
- Used for social sharing
Inline Images
Section titled “Inline Images”Insert images within article text:
- Position cursor in editor where image should go
- Click [🖼️] Image button in toolbar
- Choose upload option:
- Upload new image
- Select from gallery
- Enter image URL
- Configure:
Image Size:- Width: 300-600 px- Height: Auto (maintains ratio)- Alignment: Left/Center/Right
- Click Insert Image
Wrap Text Around Image:
In editor after inserting:
<!-- Image floats left, text wraps around --><img src="image.jpg" style="float: left; margin: 10px;">Image Gallery
Section titled “Image Gallery”Create multi-image gallery:
- Click Gallery button (if available)
- Upload multiple images:
- Single click: Add one
- Drag & drop: Add multiple
- Arrange order by dragging
- Set captions for each image
- Click Create Gallery
Step 4: Attaching Files
Section titled “Step 4: Attaching Files”Add File Attachments
Section titled “Add File Attachments”Field: File AttachmentsType: File upload (multiple allowed)Supported: PDF, DOC, XLS, ZIP, etc.Max per file: 10 MBMax per article: 5 filesTo Attach:
- Click Add File button
- Select file from computer
- Optional: Add file description
- Click Attach File
- Repeat for multiple files
File Examples:
- PDF guides
- Excel spreadsheets
- Word documents
- ZIP archives
- Source code
Manage Attached Files
Section titled “Manage Attached Files”Edit File:
- Click file name
- Edit description
- Click Save
Delete File:
- Find file in list
- Click [×] Delete icon
- Confirm deletion
Step 5: Publishing & Status
Section titled “Step 5: Publishing & Status”Article Status
Section titled “Article Status”Field: StatusType: DropdownOptions: - Draft: Not published, only author sees - Pending: Waiting for approval - Published: Live on site - Archived: Old content - Unpublished: Was published, now hiddenStatus Workflow:
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]Publishing Options
Section titled “Publishing Options”Publish Immediately
Section titled “Publish Immediately”Status: PublishedStart Date: Today (auto-filled)End Date: (leave blank for no expiration)Schedule for Later
Section titled “Schedule for Later”Status: ScheduledStart Date: Future date/timeExample: February 15, 2024 at 9:00 AMThe article will automatically publish at specified time.
Set Expiration
Section titled “Set Expiration”Enable Expiration: YesExpiration Date: Future dateAction: Archive/Hide/DeleteExample: April 1, 2024 (article auto-archives)Visibility Options
Section titled “Visibility Options”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)Step 6: SEO & Metadata
Section titled “Step 6: SEO & Metadata”SEO Settings
Section titled “SEO Settings”Field: SEO Settings (Expand section)Meta Description
Section titled “Meta Description”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."Meta Keywords
Section titled “Meta Keywords”Field: Meta KeywordsType: Comma-separated listMax: 5-10 keywords
Example: Photography, Tutorial, Composition, Lighting, ExposureURL Slug
Section titled “URL Slug”Field: URL Slug (auto-generated from title)Type: TextFormat: lowercase, hyphens, no spaces
Auto: "top-5-tips-for-better-photography"Edit: Change before publishingOpen Graph Tags
Section titled “Open Graph Tags”Auto-generated from article info:
- Title
- Description
- Featured image
- Article URL
- Publication date
Used by Facebook, LinkedIn, WhatsApp, etc.
Step 7: Comments & Interaction
Section titled “Step 7: Comments & Interaction”Comment Settings
Section titled “Comment Settings”Allow Comments: - Enable: Yes/No - Default: Inherit from preferences - Override: Specific to this article
Moderate Comments: - Require approval: Yes/No - Default: Inherit from preferencesRating Settings
Section titled “Rating Settings”Allow Ratings: - Enable: Yes/No - Scale: 5 stars (default) - Show average: Yes/No - Show count: Yes/NoStep 8: Advanced Options
Section titled “Step 8: Advanced Options”Author & Byline
Section titled “Author & Byline”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/NoEdit Lock
Section titled “Edit Lock”Field: Edit LockPurpose: Prevent accidental changes
Lock Article: - Locked: Yes/No - Lock reason: "Final version" - Unlock date: (optional)Revision History
Section titled “Revision History”Auto-saved versions of article:
View Revisions: - Click "Revision History" - Shows all saved versions - Compare versions - Restore previous versionSaving & Publishing
Section titled “Saving & Publishing”Save Workflow
Section titled “Save Workflow”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 Article
Section titled “Save Article”Auto-save:
- Triggered every 60 seconds
- Saves as draft automatically
- Shows “Last saved: 2 minutes ago”
Manual Save:
- Click Save & Continue to keep editing
- Click Save & View to see published version
- Click Save to save and close
Publish Article
Section titled “Publish Article”- Set Status: Published
- Set Start Date: Now (or future date)
- Click Save or Publish
- Confirmation message appears
- Article is live (or scheduled)
Editing Existing Articles
Section titled “Editing Existing Articles”Access Article Editor
Section titled “Access Article Editor”- Go to Admin → Publisher → Articles
- Find article in list
- Click Edit icon/button
- Make changes
- Click Save
Bulk Edit
Section titled “Bulk Edit”Edit multiple articles at once:
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) - AuthorPreview Article
Section titled “Preview Article”Before publishing:
- Click Preview button
- View as readers will see
- Check formatting
- Test links
- Return to editor to adjust
Article Management
Section titled “Article Management”View All Articles
Section titled “View All Articles”Articles List View:
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 Articles
Section titled “Filter Articles”Filter Options: - By category - By status - By author - By date range - Search by title
Example: Show all "Draft" articles by "John" in "News" categoryDelete Article
Section titled “Delete Article”Soft Delete (Recommended):
- Change Status: Unpublished
- Click Save
- Article hidden but not deleted
- Can be restored later
Hard Delete:
- Select article in list
- Click Delete button
- Confirm deletion
- Article removed permanently
Content Best Practices
Section titled “Content Best Practices”Writing Quality Articles
Section titled “Writing Quality Articles”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 Optimization
Section titled “SEO Optimization”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 articleFormatting Tips
Section titled “Formatting Tips”Readability: ✓ 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 emphasisKeyboard Shortcuts
Section titled “Keyboard Shortcuts”Editor Shortcuts
Section titled “Editor Shortcuts”Bold: Ctrl+BItalic: Ctrl+IUnderline: Ctrl+ULink: Ctrl+KSave Draft: Ctrl+SText Shortcuts
Section titled “Text Shortcuts”-- → (dash to em dash)... → … (three dots to ellipsis)(c) → © (copyright)(r) → ® (registered)(tm) → ™ (trademark)Common Tasks
Section titled “Common Tasks”Copy Article
Section titled “Copy Article”- Open article
- Click Duplicate or Clone button
- Article copied as draft
- Edit title and content
- Publish
Schedule Article
Section titled “Schedule Article”- Create article
- Set Start Date: Future date/time
- Set Status: Published
- Click Save
- Article publishes automatically
Batch Publishing
Section titled “Batch Publishing”- Create articles as drafts
- Set publish dates
- Articles auto-publish at scheduled times
- Monitor from “Scheduled” view
Move Between Categories
Section titled “Move Between Categories”- Edit article
- Change Category dropdown
- Click Save
- Article appears in new category
Troubleshooting
Section titled “Troubleshooting”Problem: Can’t save article
Section titled “Problem: Can’t save article”Solution:
1. Check form for required fields2. Verify category is selected3. Check PHP memory limit4. Try saving as draft first5. Clear browser cacheProblem: Images not displaying
Section titled “Problem: Images not displaying”Solution:
1. Verify image upload succeeded2. Check image file format (JPG, PNG)3. Verify image path in database4. Check upload directory permissions5. Try re-uploading imageProblem: Editor toolbar not showing
Section titled “Problem: Editor toolbar not showing”Solution:
1. Clear browser cache2. Try different browser3. Disable browser extensions4. Check JavaScript console for errors5. Verify editor plugin installedProblem: Article not publishing
Section titled “Problem: Article not publishing”Solution:
1. Verify Status = "Published"2. Check Start Date is today or earlier3. Verify permissions allow publishing4. Check category is published5. Clear module cacheRelated Guides
Section titled “Related Guides”- Configuration Guide
- Category Management
- Permission Setup
- Custom Templates
Next Steps
Section titled “Next Steps”- Create your first Article
- Set up Categories
- Configure Permissions
- Review Template Customization
#publisher #articles #content #creation #formatting #editing #xoops