Zum Inhalt springen

Publisher - Artikel erstellen

Schrittweise Anleitung zum Erstellen, Bearbeiten, Formatieren und Veröffentlichen von Artikeln im Publisher-Modul.


Admin Panel
└── Modules
└── Publisher
└── Articles
├── Create New
├── Edit
├── Delete
└── Publish
  1. Log in as Administrator
  2. Click Modules in admin bar
  3. Find Publisher
  4. Click Admin link
  5. Click Articles in left menu
  6. Click Add Article button

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]

Field: Title
Type: Text input (required)
Max length: 255 characters
Example: "Top 5 Tips for Better Photography"

Guidelines:

  • Descriptive and specific
  • Include keywords for SEO
  • Avoid ALL CAPS
  • Keep under 60 characters for best display
Field: Category
Type: Dropdown (required)
Options: List of created categories
Example: Photography > Tutorials

Tips:

  • Parent and subcategories available
  • Pick most relevant category
  • Only one category per article
  • Can be changed later
Field: Subtitle
Type: Text input (optional)
Max length: 255 characters
Example: "Learn photography fundamentals in 5 easy steps"

Use for:

  • Summary headline
  • Teaser text
  • Extended title
Field: Short Description
Type: Textarea (optional)
Max length: 500 characters

Purpose:

  • Article preview text
  • Displays in category listing
  • Used in search results
  • Meta description for SEO

Example:

"Discover essential photography techniques that will transform your photos
from ordinary to extraordinary. This comprehensive guide covers composition,
lighting, and exposure settings."
Field: Article Body
Type: WYSIWYG Editor (required)
Max length: Unlimited
Format: HTML

The main article content area with rich text editing.


Bold: Ctrl+B or click [B] button
Italic: Ctrl+I or click [I] button
Underline: Ctrl+U or click [U] button
Strikethrough: Alt+Shift+D or click [S] button
Subscript: Ctrl+, (comma)
Superscript: Ctrl+. (period)

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 three

Steps in editor:

  1. Click [≡] Bullet list button
  2. Type each point
  3. Press Enter for next item
  4. Press Backspace twice to end list

Ordered List (Numbered):

1. First step
2. Second step
3. Third step

Steps in editor:

  1. Click [1.] Numbered list button
  2. Type each item
  3. Press Enter for next
  4. Press Backspace twice to end

Nested Lists:

1. Main point
a. Sub-point
b. Sub-point
2. Next point

Steps:

  1. Create first list
  2. Press Tab to indent
  3. Create nested items
  4. Press Shift+Tab to outdent

Add Hyperlink:

  1. Select text to link
  2. Click [🔗] Link button
  3. Enter URL: https://example.com
  4. Optional: Add title/target
  5. Click Insert Link

Remove Link:

  1. Click within linked text
  2. Click [🔗] Remove Link button

Blockquote:

"This is an important quote from an expert"
- Attribution

Steps:

  1. Type quote text
  2. Click [❝] Blockquote button
  3. Text is indented and styled

Code Block:

def hello_world():
print("Hello, World!")

Steps:

  1. Click Format → Code
  2. Paste code
  3. Select language (optional)
  4. Code displays with syntax highlight

Field: Featured Image / Main Image
Type: Image upload
Format: JPG, PNG, GIF, WebP
Max size: 5 MB
Recommended: 600x400 px

To Upload:

  1. Click Upload Image button
  2. Select image from computer
  3. Crop/resize if needed
  4. Click Use This Image

Image Placement:

  • Displays at top of article
  • Used in category listings
  • Shown in archive
  • Used for social sharing

Insert images within article text:

  1. Position cursor in editor where image should go
  2. Click [🖼️] Image button in toolbar
  3. Choose upload option:
    • Upload new image
    • Select from gallery
    • Enter image URL
  4. Configure:
    Image Size:
    - Width: 300-600 px
    - Height: Auto (maintains ratio)
    - Alignment: Left/Center/Right
  5. 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;">

Create multi-image gallery:

  1. Click Gallery button (if available)
  2. Upload multiple images:
    • Single click: Add one
    • Drag & drop: Add multiple
  3. Arrange order by dragging
  4. Set captions for each image
  5. Click Create Gallery

Field: File Attachments
Type: File upload (multiple allowed)
Supported: PDF, DOC, XLS, ZIP, etc.
Max per file: 10 MB
Max per article: 5 files

To Attach:

  1. Click Add File button
  2. Select file from computer
  3. Optional: Add file description
  4. Click Attach File
  5. Repeat for multiple files

File Examples:

  • PDF guides
  • Excel spreadsheets
  • Word documents
  • ZIP archives
  • Source code

Edit File:

  1. Click file name
  2. Edit description
  3. Click Save

Delete File:

  1. Find file in list
  2. Click [×] Delete icon
  3. Confirm deletion

Field: Status
Type: Dropdown
Options:
- Draft: Not published, only author sees
- Pending: Waiting for approval
- Published: Live on site
- Archived: Old content
- Unpublished: Was published, now hidden

Status 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]
Status: Published
Start Date: Today (auto-filled)
End Date: (leave blank for no expiration)
Status: Scheduled
Start Date: Future date/time
Example: February 15, 2024 at 9:00 AM

The article will automatically publish at specified time.

Enable Expiration: Yes
Expiration Date: Future date
Action: Archive/Hide/Delete
Example: 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)

Field: SEO Settings (Expand section)
Field: Meta Description
Type: 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 Keywords
Type: Comma-separated list
Max: 5-10 keywords
Example: Photography, Tutorial, Composition, Lighting, Exposure
Field: URL Slug (auto-generated from title)
Type: Text
Format: lowercase, hyphens, no spaces
Auto: "top-5-tips-for-better-photography"
Edit: Change before publishing

Auto-generated from article info:

  • Title
  • Description
  • Featured image
  • Article URL
  • Publication date

Used by Facebook, LinkedIn, WhatsApp, etc.


Allow Comments:
- Enable: Yes/No
- Default: Inherit from preferences
- Override: Specific to this article
Moderate Comments:
- Require approval: Yes/No
- Default: Inherit from preferences
Allow Ratings:
- Enable: Yes/No
- Scale: 5 stars (default)
- Show average: Yes/No
- Show count: Yes/No

Field: Author
Type: Dropdown
Default: Current user
Options: All users with author permission
Display:
- Show author name: Yes/No
- Show author bio: Yes/No
- Show author avatar: Yes/No
Field: Edit Lock
Purpose: Prevent accidental changes
Lock Article:
- Locked: Yes/No
- Lock reason: "Final version"
- Unlock date: (optional)

Auto-saved versions of article:

View Revisions:
- Click "Revision History"
- Shows all saved versions
- Compare versions
- Restore previous version

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]

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
  1. Set Status: Published
  2. Set Start Date: Now (or future date)
  3. Click Save or Publish
  4. Confirmation message appears
  5. Article is live (or scheduled)

  1. Go to Admin → Publisher → Articles
  2. Find article in list
  3. Click Edit icon/button
  4. Make changes
  5. Click Save

Edit multiple articles at once:

1. Go to Articles list
2. Select articles (checkboxes)
3. Choose "Bulk Edit" from dropdown
4. Change selected field
5. Click "Update All"
Available for:
- Status
- Category
- Featured (Yes/No)
- Author

Before publishing:

  1. Click Preview button
  2. View as readers will see
  3. Check formatting
  4. Test links
  5. Return to editor to adjust

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 category
Filter Options:
- By category
- By status
- By author
- By date range
- Search by title
Example: Show all "Draft" articles by "John" in "News" category

Soft Delete (Recommended):

  1. Change Status: Unpublished
  2. Click Save
  3. Article hidden but not deleted
  4. Can be restored later

Hard Delete:

  1. Select article in list
  2. Click Delete button
  3. Confirm deletion
  4. Article removed permanently

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 words
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 article
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 emphasis

Bold: Ctrl+B
Italic: Ctrl+I
Underline: Ctrl+U
Link: Ctrl+K
Save Draft: Ctrl+S
-- → (dash to em dash)
... → … (three dots to ellipsis)
(c) → © (copyright)
(r) → ® (registered)
(tm) → ™ (trademark)

  1. Open article
  2. Click Duplicate or Clone button
  3. Article copied as draft
  4. Edit title and content
  5. Publish
  1. Create article
  2. Set Start Date: Future date/time
  3. Set Status: Published
  4. Click Save
  5. Article publishes automatically
  1. Create articles as drafts
  2. Set publish dates
  3. Articles auto-publish at scheduled times
  4. Monitor from “Scheduled” view
  1. Edit article
  2. Change Category dropdown
  3. Click Save
  4. Article appears in new category

Solution:

1. Check form for required fields
2. Verify category is selected
3. Check PHP memory limit
4. Try saving as draft first
5. Clear browser cache

Solution:

1. Verify image upload succeeded
2. Check image file format (JPG, PNG)
3. Verify image path in database
4. Check upload directory permissions
5. Try re-uploading image

Solution:

1. Clear browser cache
2. Try different browser
3. Disable browser extensions
4. Check JavaScript console for errors
5. Verify editor plugin installed

Solution:

1. Verify Status = "Published"
2. Check Start Date is today or earlier
3. Verify permissions allow publishing
4. Check category is published
5. Clear module cache

  • Configuration Guide
  • Category Management
  • Permission Setup
  • Custom Templates

  • Create your first Article
  • Set up Categories
  • Configure Permissions
  • Review Template Customization

#publisher #articles #content #creation #formatting #editing #xoops