We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Channels and template groups

News and General

Claus's avatar
Claus
35 posts
about 2 months ago
Claus's avatar Claus

Hi,

can anybody please explain in simple terms what channels and template groups are there for?

TIA,

Claus

       
Russ K.'s avatar
Russ K.
141 posts
about 2 months ago
Russ K.'s avatar Russ K.

Hi Claus,

You can think of Templates as the physical “html” pages of your site. Channels are the groupings of dynamic content that goes into the templates.

You COULD build a site with just Templates, and no channels, but you cannot build a site with Channels and no templates.

You can technically create a template group for each page of your site and then hard code html content into it & EE would serve that up just fine, However, since this is a content manager, we create “Channels” for our content that can easily be updated in the Control panel and then call that content into the template through {exp:channel:entries} tags.

If you did not install the demo site when you installed EE, I would suggest doing so just so that you can pull apart those pages, compare them to the content & see the relationship.

Hopefully that helps.

       
Claus's avatar
Claus
35 posts
about 2 months ago
Claus's avatar Claus

Hi Russ,

many thanks. Where do I get this demo site? I found this website, but I can’t download it.

Claus

       
Russ K.'s avatar
Russ K.
141 posts
about 2 months ago
Russ K.'s avatar Russ K.

When you install ExpressionEngine, there should have been an option a the bottom of the installer window (where you entered your Database Credentials) to install them. I forget if it is referred to as “demo” or “default” site. It has been some years since I installed them.

       
Claus's avatar
Claus
35 posts
about 2 months ago
Claus's avatar Claus

Hi Russ,

I had to install ExpressionEngine anew, but now the demo site is there alright. I will look into it.

Claus

       
Tom Jaeger's avatar
Tom Jaeger
340 posts
about 2 months ago
Tom Jaeger's avatar Tom Jaeger

While the video is dated… it might be worth take a quick peek at the following 10 min primer video.

While longer, this is a pretty solid video series on getting up and running with EE as well.

Cheers!

-Tom Jaeger

       
Claus's avatar
Claus
35 posts
one month ago
Claus's avatar Claus

Hi Tom & Russ,

many thanks for your recommendations. One question, though: Where in the default site are the style sheets (CSS)? I couldn’t find them. I mean, where in the backend? I thought that they should be available under templates, but they aren’t there.

Claus

       
Robin Sowell's avatar
Robin Sowell
13,190 posts
one month ago
Robin Sowell's avatar Robin Sowell

For the frontend default site, check in the themes folder- themes/user/site/assets/ - all the js, css and even image folders will be there.

With the system and themes folders, all the ‘user’ stuff that EE won’t touch during an upgrade will be in a ‘user’ folder. So all of the ‘unique to you’ stuff? That’ll be in either system/user or themes/user.

       
Russ K.'s avatar
Russ K.
141 posts
one month ago
Russ K.'s avatar Russ K.

Hi Claus, If you are asking about the default site, then Robin’s answer above is the one…. however, If you are meaning your own stylesheets and Javascript for your site,…

You CAN create those in the templates directory and set the File type appropriately. However, My preference (and I think that of many others) is to keep that independent of the CMS. For instance, I create an “Assets” directory at the root level and inside of that I have a folder for my ‘css’, ‘js’, ‘images’, etc… I then link to that relative path in my HTML head of my page.

NOTE: Ignore the images below… they didn’t post correctly

       
Claus's avatar
Claus
35 posts
one month ago
Claus's avatar Claus

Hi Robin & Russ,

many thanks. I found the style sheets. One cannot access them via the backend, but I used my file browser, and there they were. 😊

Claus

       
Harrymiles's avatar
Harrymiles
1 posts
one month ago
Harrymiles's avatar Harrymiles

MLSDev its a web development services typically involve services such as designing, coding, and programming web applications. These services can include the building of static websites or web applications, the design of user interface elements, database integration, and server-side scripting. Additionally, web development services may include hosting, security, and optimization of a website or web application.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.