Hi I'm Sean Reiser, this is my Personal Blog
Before I start heading down this road has anyone done a Drupal 8 migration to import a facebook account export? I can't find any information documenting the schema.
This is a background project but one I've wanted to do for a while. I have requested a JSON export and will see what I can dope out. I'll post about it as time permits.
So, I have a dropdown menu on my blog page and I wanted to have the title of the menu be the link to the current page. I'm using a standard bootstrap3 dropdown for the menu. Since this is a Drupal 8 site, drupal thankfully adds a class of is-active to the active a tag. The following code is chunked out:
In order to swap out the title I added the following Js
- <div class="dropdown blog-topic-menu">
- <button class="btn btn-default dropdown-toggle blog-topic-title underline" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
- <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
- <li class="blog-topic-menu-item first-item" title="All Posts">
- <a href="/blog" data-drupal-link-system-path="blog"><i class="fas fa-fw fa-list"></i> All Posts</a>
- <li class="blog-topic-menu-item" title="Life">
- <a href="/blog/life" data-drupal-link-system-path="blog/life" class="is-active"><i class="fas fa-fw fa-user"></i> Life</a>
- <li class="blog-topic-menu-item" title="Frosty">
- <a href="/blog/frosty" data-drupal-link-system-path="blog/frosty"><i class="fas fa-fw fa-cat-space"></i> Frosty</a>
- $('.dropdown BUTTON.blog-topic-title').html($('.dropdown a.is-active').html() + ' <span class="caret"></span>');
When you go to /blog/life, the menu title is replaced by "Life".
What a difference 25 years makes...
Back in 1995 I made fun of Windows '95 for its large colorful buttons. I referred to it as "Fisher Price's My First Operating System". Fast forward 25 years and similar buttons appear all over the current version of my website. Just look around the site today. Big colorful buttons everywhere from the main menu, to the sharing buttons on this page. How did I get here?
For a long while, the main purpose of the homepage of this site was to serve as a way for people to connect with me. A series of links to my various sites and social media presence. Provide people a way to contact me: my phone number, email address and links to messenger services. It's worked well, with some solid SEO, if you google my name, my homepage tends to be the first hit.
About 3 or 4 years ago I realized that although the site rendered fine on mobile, the smaller links were hard to hit, especially for people with motor problems. While I was pondering this, I was watching something on my AppleTV and as I looked at the interface it occurred to me that this is what I needed for the home page. I built the page and thought that was that.
Fast forward to this year when I decided to merge all of my sites into one site with a common theme. The homepage was well received and I wanted to see if I could extend the metaphor to across the site.
So in this year's redesign the main menu is contained in a popup with big button and also appear on most pages of the site. I like the look and we'll see how it goes.
A year or 2 ago I built a website for a restaurant. It was a simple site : a menu, and ordering system. Once I finished up I chatted with a number of restaurant owners, thinking I might be able to pick up some more businesses and leverage my research.
I found that other than Chinese and Pizza shops, most restaurateurs didn’t want to be in the delivery business and were happy to outsource that to a delivery firm (ubereats, grubhub, etc). When I was speaking with them, I found out that they: didn’t want to take on the risk of the drivers (accidents, etc), nor manage the drivers. Most were concerned about the additional insurance costs. They also felt the additional marketing help they got by being on these platforms were worth it.
I spend too much time thinking about man in the middle attacks to think that vote by mail is a good idea.
So, I’m doing some delayed maintenance on this site. You know, removing modules I don’t need anymore, cleaning up taxonomy, etc, etc. Technical debt on this site because you know what they say about cobbler’s children and shoes. When I decide it’s time I’ll be move the site to D9, I want to make the transition smooth. The site has been around a while. It was originally a Drupal 4.7 site which has been upgraded to 5, 6, 7 is currently a D8 site.
So enough preamble, back in the site’s D5 days I had 4 Drupal sites that I merged into this site. Since there wasn’t a MigrateAPI 12 years ago, I renumbered the NIDs inside the source sites and then copied the database records into the target site. In case I needed to debug things, I left gaps between each of the site’s modes (I added 2000 to the NIDs from siteA, 4000 to the NIDs from siteB, etc) so I could easily tell where the nodes came from.
This is worked and the merged site has been chugging along for over a decade. I’ve come o a point where the system has ~3,000 nodes but the highest NID is approaching 11,000. I don’t see any risk here, I’ve worked on much larger sites. I’m in no danger of exceeding the max number of NIDs anytime soon.
My question is, Is there any benefit to compressing the NIDs (probably by migration to fresh Drupal installation)? I don’t see one, but I might be missing something that someone else can see.
Launched a new version of the site this evening. I wanted to freshen up the blog theme and unify the branding between the consulting site, the resume and the photography site. Everything runs on the same domain now with 301's directing users to the proper page on seanreiser.com.
There are still a couple of things i want to do but this is enough to bring it live. Any problems, drop me a line.
Posts like this are popping up across my facebook feed and I want to say, I think you're all looking at this wrong.
Many people already know this information about you already. Friends from your school days who are no longer in your life, Ex-Lovers, that cousin of yours who's less then desirable. Some questions like High School Mascot can be derived from your resume. Others like Mother's maiden name are a matter of public record.
1) Passwords should be random eg &Rtbpb4WWS9G (not my password on any system) can't be guessed no matter how well you know me.
2) Don't use your personal information to answer security questions, no one is validating the information. You just need to know what the right answers are. You can use a fictional character and answer as them, (What street did you grow up on? "Baker Street", Who is your best friend "John Watson", etc.) Alternately, you can just respond with non-sense (Favorite Color: "Eighteen", Where did you go to Middle School: "The Piggly Wiggly". Etc.).
You just need to be consistant.