Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Bootstrap Site Blueprints Volume II

You're reading from  Bootstrap Site Blueprints Volume II

Product type Book
Published in Jan 2016
Publisher Packt
ISBN-13 9781785281099
Pages 328 pages
Edition 1st Edition
Languages
Author (1):
Matt Lambert Matt Lambert
Profile icon Matt Lambert

Coding the notifications section


The notifications template for the social network is a collection of actions that apply directly to the user. Here, you might see things such as the confirmation of a new friend following you, someone who has liked one of your posts, or a public reply to a post from another user. Like the previous template, we are going to use the same code for the first column. The main changes will be to the second column, where the content will change to reflect the types of notifications you might receive.

Before we start, let's see what this page will look like:

Open the notifications.ejs file and insert the partial for the first column. Here's the code again, just in case you need it:

<!-- left side //-->
<div class="col-lg-3">
  <div class="sidebar-left">
    <%- partial("partial/_sidebar-left") %>
  </div>
</div>

Updating the center column

The layout code for this column will not change. However, the content of the column will be different...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime}