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 7859219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T21:49:35+00:00 2026-06-02T21:49:35+00:00

I have a website created using codeigniter framework. I am using expression engine cms

  • 0

I have a website created using codeigniter framework. I am using expression engine cms to create a blog on that site from scratch. With the idea that I will land up using expression engine for the rest of the site and pages as well – one thing at a time.

I would like to have links to testimonials, ebooks, recent posts etc show up on my sidebar. (Testimonial and ebook pages have yet to be created and will be creating it with expression engine). I would like to use these elements through out my site separately as in i would like to use testimonials code maybe on a page and use my ebooks code on another page for example.

With that in mind, how should I create a sidebar elements for the blog – should i use snippets each of them testimonial, ebooks, sign up form, recent posts etc or just create an embedded template. Is there a better way to do this so I can reuse this content all round the site once the conversion is complete – speaking from a performance perspective.

  • 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-06-02T21:49:40+00:00Added an answer on June 2, 2026 at 9:49 pm

    At its most basic, I’d use a snippet for your whole sidebar. That way you can just call it quickly from your templates via {sidebar} or whatever. Snippets have very low overhead.

    What I sometimes do if I need more flexibility – to only display certain “modules” of my sidebar depending on my template, for instance – is instead do an embed of my sidebar from embeds/.sidebar (just an example), and turn on/off particular bits using embed variables:

    {embed="embeds/.sidebar" testimonials="y" recent_posts="y"}

    Then in your .sidebar.html template:

    {if embed:testimonials}
        // testimonials code goes here
    {/if}
    
    {if embed:recent_posts}
        // Recent posts code goes here
    {/if}
    

    This method has greater overhead (embeds always do), but it lets you determine, per-template, what to include in the sidebar.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently I have create a website using codeigniter. I got a message error every
I have created a website using modx evolution v1.0.2. The website that I have
I have a website and I have created the CMS for it using PHP
I have a solution that includes a Web Site (created using the web site
I have created a website using MVC3 along with the Razor view engine. What
I have created a website using DNN. The site has arabic characters in URL
I have a website which i created from scratch. I want to now add
I have created a website in VS 2008 (C#) that is using masterpages. In
I have this website iloveforwards.com created using drupal. I would like to have a
I have almost created a website that works in all major browsers flawlessly. Yesterday,

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.