Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 566529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:59:13+00:00 2026-05-13T12:59:13+00:00

I was looking on many template libraries, som I have fair mess in general

  • 0

I was looking on many template libraries, som I have fair mess in general idea what is out there ready to download/use and what I want to use, so maybe you could help me with this.

I’m currently learning CodeIgniter, thinking about moving to Kohana later. I would like to include controllers/modules(/module function maybe?) based on needs of template/site.

Example, so you would understand:
I have xml-defined page saved in mysql, which states, that in
<div id="sidebar">, i want to use news panel/widget – something like:
<div id="sidebar">{widget:news;3;60}</div>.

I’m looking for template parser and/or way to do it, so in main application I load page, then template. then I look up what modules/widgets page/template use and load them dynamically, pass them parameters (in example news;3;60 – module news, 3 last, 60 characters limit each), and echo their result in place of where i called them.

The usage for this should be understandable – if I use news module on 27 pages, just somewhere with last 3 news, somewhere last month, etc., i want to include it simply and edit it on one place.

Other problems in my mind are: I’m thinking that it would be best to have all modules at one time (not load them one there, one here), so I can access database on one place, etc.

I’m kind of lost and maybe someone will have some idea for me 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:59:14+00:00Added an answer on May 13, 2026 at 12:59 pm

    The two best ways to do this are:

    1. Use my CodeIgniter Dwoo implementation and build plugins
    2. Use wiredesignz’ Widget plugin

    You could of course use Smarty plugins but yuck, who still uses Smarty?

    Remember when creating Dwoo plugins that the CodeIgniter instance is available to any PHP loaded in on that request, so wether its Dwoo plugins, modifiers, blocks, etc you can always use:

    $CI =& get_instance();
    $CI->load->model('something');
    //etc
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been looking at many ASP.Net MVC client side validation ideas including xVal.
I've been looking at switching many of our Oracle tablespaces over to use automatic
Many applications have dialogs which have totally custom-looking dialogs, big fat tool-bars and non-rectangular
I am looking to expose my existing .NET libraries to an intranet. With many
I'm looking to set up a blog. There are many what's the best blogging
I'm looking for some template examples, such as a C# windows dialog. Do many
Im looking for somthing that can belong to many many models and, hopfully, has
Looking through decimal.py , it uses NotImplemented in many special methods. e.g. class A(object):
I am looking the fastest way to insert many records at once (+1000) to
I am looking at storing some JMX data from JVMs on many servers for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.