Jump to content
Larry Ullman's Book Forums
Sign in to follow this  
tristangemus

Css File & Template.Html

Recommended Posts

Hello,

 

I downloaded the latest package for this book and it does not include the bootstrap css file (or any for that matter) as well as the template.html file.

 

Am I missing anything?

 

The template.html is not a big deal considering I can use the header/footer and index file included but the stylesheet is a must.

 

Thank you, ps I have been through all of your latest PHP books and they are awesome.  Keep em coming!

 

Tristan

Share this post


Link to post
Share on other sites

Sorry about that. I need to update the download. I'll get it fixed tomorrow. 

 

Thanks for the interest in the book! And for the nice words. Very much appreciated!

Share this post


Link to post
Share on other sites

Sorry about that. I need to update the download. I'll get it fixed tomorrow. 

 

Thanks for the interest in the book! And for the nice words. Very much appreciated!

 

Awesome, thanks for the quick reply!

 

Tristan

Share this post


Link to post
Share on other sites

Yeah, so, it turns out I just posted the wrong link in one place, the right link in another. But the code was already correct online. I've fixed the wrong link now. Should be fine. Apologies again for the mishap!

Share this post


Link to post
Share on other sites

Hey Larry,

 

I appreciate the update. I am not sure if I missed it but, I downloaded it again, and still missing any CSS files and the template.html file.

 

I downloaded this: 

from here: http://www.larryullman.com/books/effortless-e-commerce-with-php-and-mysql-2nd-edition/

and I tried here: http://www.larryullman.com/downloads

 

Appears to be the same as the last one I downloaded.

 

Tristan

Share this post


Link to post
Share on other sites

Are you talking specifically about ex1 or ex2? Example 1 uses Twitter Bootstrap, which is where the CSS files come from, and I did not include Bootstrap (for several reasons). Thanks!

Share this post


Link to post
Share on other sites

Just posted a new version of the files with the template for ex1. If you look at the template, or if you look at the includes/header.html file, you'll see what Bootstrap CSS files are used. I'm almost positive the book explicitly states what Bootstrap example is used, too. 

 

For many reasons I'd be best not to included Bootstrap in the downloaded files, but if you're still having any problems, let me know. 

Share this post


Link to post
Share on other sites

Well, I downloaded bootstrap and looked up the sticky footer with fixed navbar by martin bean but have something completely different than what's shown in the book.  I've followed it page by page, and I'm not new to developing.  

 

http://sejunky.com is where I am hosting the site. (dummy domain)

 

This is the version of the stick footer stylesheet I found online: https://gist.github.com/mokagio/1918937

 

Doesn't seem right.

 

I appreciate the support, but we shouldn't be relying on search engines to hopefully land on the right resource.  Not trying to be a pain, but as you can see the example has no form whatsoever.  I am using the default bootstrap.min.css.  I have been waiting for this book for a long time and want to do it right.  No rush but can we please get this figured out?  Thank you.

Share this post


Link to post
Share on other sites

So...to explain my thinking. There are licensing issues in redistributing other people's code, along with version issues. So I didn't want to include Bootstrap in my downloads. In my mind, I expected that a seasoned developer would read the chapter, see the section where I say "this is based upon the such and such Bootstrap example", and then you'd go download that. 

 

But this has been too frustrating for you than it should be, so I just reposted a new version with the CSS files included. Apologies for the hassles.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...