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

simply connect CSS/JS files

News and General

gschudel's avatar
gschudel
1 posts
10 years ago
gschudel's avatar gschudel

I am a new web developer. I’m attempting to learn Expression Engine from a Wordpress background. I find myself thoroughly frustrated with Expression Engine.

First, I keep on hearing how great EE is for customization. Which attracted me to this CMS. And all the documentation I see on your homesite is making a text-based website on the EE instruction page here:

https://ellislab.com/expressionengine/user-guide/how_to/building_a_simple_news_site.html#before-you-begin

This doesn’t have a rotating banner (standard for most sites), link to a JS or CSS file or anything else partially basic in making a site. I’m given, what feels like, a kindergarden-level site and then expected to “go forth and conquer.” How is this information foundational for developing with Expression in the slightest? Why aren’t there any Expression tutorial Videos ANYWHERE on the internet? When I google for examples of implementing a HTML template into the CMS, why am I being directed to get support form non-EllisLabs sites (i.e. train-ee.com)?

Is there anyway I can learn how to build whole sites up and running faster rather than scouring the internet for information that may or not be accurate sites that can lead to more confusion? How do I know these sites are legitimately approved from EllisLabs?!

The biggest thing I am struggling with now is just getting a simple HTML template uploaded to the CMS framework. I’m running on someone else’s domain. My site is here at http://www.mannachurch.org/ExpressionEngine/index.php. You will quickly see that it has text and the JS/CSS files won’t load. See picture attached. I am not even sure if I have them in the right place. Where is the documentation for that? Could a moderator please come assist me? If I can’t find much help on this subject. I honestly think I will abandon this medium. I DON’T want that because this CMS looks more promising than the confides of Wordpress!

       
Kevin Cupp's avatar
Kevin Cupp
791 posts
10 years ago
Kevin Cupp's avatar Kevin Cupp

Hi gschudel,

Sorry for your trouble! If you’re looking for videos, Mijingo has a good set for ExpressionEngine 2. And yes, as you found, train-ee.com is another good site for learning ExpressionEngine.

I’m not sure exactly the problem you’re having. I visited the site you linked but it’s just a blank page, so I cannot see the requests that are trying to load the JS and CSS you’re having trouble loading. It should be quite simple though. To load CSS, put the file somewhere on your server then, then link to it as you would if you weren’t using ExpressionEngine. Same with the JavaScript. You don’t need to be putting JS or CSS in to templates, just put your HTML in those.

Hope this helps!

       
Jeremy S.'s avatar
Jeremy S.
353 posts
10 years ago
Jeremy S.'s avatar Jeremy S.

@gschudel – you’re likely going to need to post some of your template code for us to get an idea of what you are doing. The Train-ee website (already mentioned) has resources to help you learn: http://train-ee.com/ including a book that is very helpful but a respected member of the ExpressionEngine community.

But to be helpful, we’ll need some examples of your work so far to review/comment on.

As a general note, many will agree the easiest way to develop a site for ee when you are starting out is to build the page static, like you were making it without a CMS at all. Drop that into your template, then you can make it dynamic a piece at a time. A more bite-sized approach to understanding the software.

       
FlyDuo's avatar
FlyDuo
25 posts
10 years ago
FlyDuo's avatar FlyDuo

Hey @gschudel,

Not sure if you’d like some additional resources, but when I first switched over to learning EE I found this situation similarly frustrating until I realized it’s a different way of looking at building things. That’s probably the more important adjustment you’ll want to make coming over to EE from WordPress. Once you’ve done that, it makes a lot of this much more straightforward.

Now, most of these links will be geared towards ExpressionEngine 2. For info on the latest version you’ll want to adjust accordingly.

YouTube *https://www.youtube.com/watch?v=0b2Of3yj3s0 (admin menu) *https://www.youtube.com/watch?v=0eXBUAAiNKI (Pages module explained)

Documentation EE2 documentation website http://ee2docs.com/

Blog Posts *Switching from WordPress to EE https://viget.com/inspire/wordpress-to-expressionengine *http://veerle-v2.duoh.com/blog/archive-summary/category/ExpressionEngine *http://eeinsider.com/videos/show/removing-index.php-from-expressionengine

Mijingo *Learning ExpressionEngine https://mijingo.com/products/screencasts/expressionengine-tutorial/

Train-EE: *http://www.train-ee.com/courseware/screencasts/detail/relationships-in-expressionengine (with free screen casts you can download to watch later as well as example files)

Quora * Alnisa Allgood does a great job of discussing this area. https://www.quora.com/profile/Alnisa-Allgood *https://www.quora.com/Which-is-better-ExpressionEngine-or-WordPress

EE Guide Book *http://eeguidebook.com/

BlueFish Design writes EE tutorials as well *http://bluefishds.com/blog/category/expressionengine

EE on Stack Exchange *http://expressionengine.stackexchange.com/

James Smith *ExpressionEngine URLs http://www.jamessmith.co.uk/articles/expressionengine_url_schematic

DRY principles, building websites with ExpressionEngine *http://code.tutsplus.com/tutorials/apply-the-dry-principle-to-build-websites-with-expressionengine-2–net-16848

Some template code below for loading CSS, jQuery and libraries in the HTML head.

<!-- Stylesheets -->
<link rel="stylesheet" href="{site_url}_assets/css/build/production.css" /> 

<!-- modernizr for feature gap detection -->
[removed][removed]   

<!-- web-fonts -->
<link rel="stylesheet" href="{site_url}_assets/fonts/font-squirrel/stylesheet.css" data-norem />


<!-- Grab Google's CDN jQuery. With fall-back to local -->
 script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" /script
  [removed]
  if (typeof jQuery == 'undefined') {
      [removed](unescape("[removed][removed]"));
  }
/script


<!-- juery-ui -->
<link rel="stylesheet" href="{site_url}_assets/js/plugins/jquery-ui/jquery-ui.css" type="text/css">
<link rel="stylesheet" href="{site_url}_assets/js/plugins/jquery-ui/jquery-ui.structure.css" type="text/css">
<link rel="stylesheet" href="{site_url}_assets/js/plugins/jquery-ui/jquery-ui.theme.css" type="text/css">
[removed][removed]

Where you see “removed” is just normal script tags, as well I edited the others so that it should show up in this forum post. Format your script tags are you normally would within HTML.

The “{site_url}” is your variable for writing the URL path. I try and make most paths relative when I’m planning the projects as well. And I personally don’t have EE manage my stylesheets, though you can. I prefer to leave them as static files.

This website here is using ExpressionEngine. It has a carousel on the single product pages, modal windows and many other engaging site visitors expect nowadays. http://bravechick.com/

I know this is a lot of info. Feel free to hit us back with any other questions.

Thanks, Reuben

       

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.