Building a blogging framework.
MIHDev |
|
---|---|
Do you have a requirement like I did where I wanted the homepage to be kept separate from lets say my blogs page?.
This article is my first in a line of several how-to's and will show you how with NO CODING EXPERIENCE you can make a blogs section and associated plugins a working reality. Over the next 3 days I will show you how to create a simple, effective and robust blogging solution using the power of Cotonti's scalable architecture. Experience Level Beginner - No coding experience necessary Demo Click here to view Features
The Blogs framework is based on the News and RecentItems plugins. (Copyright its respective authors).
/* ====================
[BEGIN_SED_EXTPLUGIN]
Code=news
Part=homepage
File=news
Hooks=index.tags
Tags=index.tpl:{INDEX_NEWS}
Order=10
[END_SED_EXTPLUGIN]
==================== */ Replace it with /* ====================
[BEGIN_SED_EXTPLUGIN]
Code=blogs
Part=lists
File=blogs.list
Hooks=list.tags
Tags=list.blogs.tpl:{LIST_BLOGS}
Order=10
[END_SED_EXTPLUGIN]
==================== */ /* ====================
[BEGIN_SED_EXTPLUGIN]
Code=news
Name=News Replace it with /* ====================
[BEGIN_SED_EXTPLUGIN]
Code=blogs
Name=Blogs [b]Know the question and you will be far more likely to get an answer.[/b]
|
|
Dit bericht is bewerkt door MIHDev (2010-11-10 09:18, 14 jaren ago) |