Drupal 7 - How do I get Drupal to recognize my HTML template? - drupal-7

I have been studying all I can on how to integrate an HTML template into Drupal but I have not had great success. The simple theme I am experimenting with is in this link:
http://pixelhint.com/minima-free-html5-minimalist-website/
When it comes to plugging the template into Drupal, I can get as far as writing the .info file. But I do not understand what to do from there.
I realize that this could be a lot to ask, but if it's possible for someone to just give me some clear pointers as to what modifications I should make after creating the .info file, I would be very grateful!
P.S. If this is too much to ask, please tell me, and I will try to make even more specific requests.
Thank you, guys!

This contains whole..
Templating
More..

Related

AngularJS library urls

Good morning.
I would like to know which site contains urls for angular.js and aungula-ui-router.js ? (The question seems not to exist in stackoverflow.com)
Last year i used "https://ajax.googleapis.com/ajax/libs/angularjs/x.x.x/angular.min.js" but it seems to no longer work.
So what is the official host for angularjs now ?
I know that angularjs is now an old framework but i have to use it at work.
i woul appreciate some help.
Thanks in advance.
I personally prefer to use https://unpkg.com
See,
https://unpkg.com/angular/angular.js
https://unpkg.com/angular/angular.min.js

Embed a view using code Drupal 7

I am writing a module and need to include a view in the code, I am doing the same approach as in this tutorial and looked every where online, everyone seems to using this same approach but it not working for me. Can anybody add to it as to why this approach might not be working. Link to tutorial is : https://www.chapterthree.com/blog/howto-best-practices-for-embedding-views-code
You can use views_get_view() to grab a view anywhere.
$view = views_get_view('<view machine name>');
I have a larger example here: https://snippetbox.xyz/9eb54a2a1f52dc1f5d42/

Cakephp 2.X Website Looks Cached

I am trying to spin up a web application but Im having a really small problem and Im not sure how to handle it. I have did it before a long time ago but forgot (CLUTZ). When I try to access my application I see the login screen but it looks cached. I see a white page and I can see the links. The layout doesn't load for some reason. Like I said, this is a very small issue that I know someone can assist me with. If you give an answer please explain so that I can learn from it. Thanks a mil!
It sounds like what you're describing is CSS not loading. Doublecheck your <link href="…" rel="stylesheet"/> tags to ensure that they're pointing to the correct files.

gae-boilerplate documentation

In my search for a good social login package for App Engine, I am giving gae-boilerplate a try. But I find there is no documentation except the readme file, which I think it is not enough at all.
I have many questions, among them:
Should the boilerplate be used as a library or download and modify as needed?
How should the boilerplate be updated?
What does each model do?
Where should my templates go?
Should I have a different routes file?
Should I derive my Handlers from BaseHandler?
In general, what things should I implement in my pages? For example, I found out that I have to include a csrf_token in all POST requests. It would have been nice to know this in advance, and the many other things that I'm having to find out along the way, and which I implement without being sure if I'm supposed to be doing that.
And some more...
My biggest problem is that Social login is not working, and I feel this boilerplate is a big monster with which I don't know where to start. To make things worse, it is hard to debug social auth from any machine that is not the production one. Thats why I'm desperately looking for some docs.
I have not found anything in SO, and I guess there must be more people in my situation. So, any pointers to documentation that could help to understand gae-boilerplate a little bit better would be very appreciated.
EDIT: I switched to gae-boilerplate in a site that I had previously working. Maybe most of my problems come from the way that I have tried to integrate gae-boilerplate and my existing site. As a result I have tried to treat gae-boilerplate as a library, and keep my own templates, handlers, static files and such.
Thank you guys!
EDIT 2: After trying other options, I have to say that I am very happy with gae-simpleauth. It works really well, and Alex's support is superb.
I will try to answer most of your questions below:
Should the boilerplate be used as a library or download and modify as needed?
You can modify it as needed based on your specific requirements.
How should the boilerplate be updated?
What do you mean?
What does each model do?
User and SocialUser are pretty self explanatory. LogVisit and LogEmail are used for auditing purposes.
Where should my templates go?
In the templates directory
Should I have a different routes file?
No, you can use the existing file for all your routes.
Should I derive my Handlers from BaseHandler?
It't not mandatory but I would recommend to do so. BaseHandler is very handy and provides a lot of good stuff.
In general, what things should I implement in my pages?
What exactly do you mean?
In general, you can use gae-boilerplate as a reference on top of which you will built your own project. Study the code step by step, try to figure out what is the purpose of each file and library used and how they work together. This way you will gain good knowledge of a lot of things like jinja templating, oauth2, etc.
Hope this helps.

Proper Font Browser dialogs

The System.Windows.Forms.FontBrowser is a pretty horrible piece of work. I'd like to write a custom one, but before I re-invent banging-two-rocks-together, I figured I'd ask if anyone knows an intuitive, friendly and above all simple Font Picker which has been proven in the cauldron of the real world?
I agree with you about how terrible is Windows default font browser.
Some time ago I started to search for a replacement fontdialog, but could not find any (even after some days searching).
So I started to develop one in VB.NET, but never got time to finish it.
This article can help you (as it helped me) to identify what a good font dialog should have. Hope this helps you somehow. link.
If you manage to make one, please let me know! I`d love to test and use it :)
EDIT1: This link can help too.

Resources