DIVI Customize Tag Landing Page

Divi’s portfolio modules and projects component make adding the project / portfolio a breeze. I found a short code from Surbma that allowed me to quickly add the project tags to the page. The issue I had is when the user clicked on the tag the projects were displaying as single-column blog style and I wanted the columned style the module displayed.

The page got me in the right direction.

How to Give Your Divi Archive Pages a Masonry Layout

This was so close to what I wanted.

The boxes were not totally lined up so I ended up implementing “Flex” in the CSS to make the boxes fit a little better. I used the following article to guide me.

Don’t Overthink It (Flexbox) Grids

The next issue was being able to build this page like the other pages I had built in the Divi builder. I needed to add back the Yoast Breadcrumbs and this article helped.

How To Add Breadcrumbs To Your WordPress Website

I was hoping to build “child-theme” sub-page and I had trouble coming up with the right Taxonomy.  What I needed was “taxonomy-project-tag.php” or  “taxonomy-project-tag-tag label.php”

” .The following page helped me determine the right taxonomy for page of linked projects by tags.

Taxonomy Templates

 

I hope this helps someone else out there…

 

 

 

DIVI drop down vertical submenu

Working on a new WordPress site I really wanted to go deep with DIVI. I got stuck on an issue with the dropdown submenu items. They were horizontal instead of a standard one below the other.

The issue was quickly solved when I created a new menu and made that one the primary.

I hope this helps someone else out there…

 

K2 – Limit Intro Text

I was surprised I wasn’t able to do this easier, but it looks like others have struggled with this as well. I did get it fixed, and was able to limit the word count. I didn’t make a override yet but I will.

In the latest_item.php file I replaced:

<?php echo $this->item->introtext; ?>

with

<?php echo K2HelperUtilities::wordLimit($this->item->introtext, 50); ?>

Here is the thread that helped me solve it

https://www.joomlaworks.net/forum/k2-en/29406-solved-can-we-have-introtext-word-limit

I hope this helps someone else out there…

 

 

Adding A Video To Joomla 3 Article / Page – Using JCE Pro

I needed to add a video to page/article in a Joomla! 3.8 site. I saw the JCE advertises as being able to do this with just a URL. I love the way WordPress embeds YouTube videos and hoped it would be the same experience. It wasn’t, but it wasn’t bad.

The first issue I had was my subscription was expired. That was a cheap fix. Less than 30 bucks and ready. After installing the Pro component I didn’t see where I could add video yet. I tried just the URL but that didn’t work. I solved my issue by adding the special toolbar in the JCE to the normal JCE toolbar. Here is a video of how to set this.

I hope this helps someone else out there…

 

Create A Custom 404 Page In Joomla

When a site gets moved the old indexed URLs lead to users linking to your site through their search may link to a page that no longer exists. Using Google’s Webmaster Tools you can eliminate old URLs, but in the mean time you can pretty quickly create your own 404 page not found error page. The article below is a great resource.

https://docs.joomla.org/Creating_a_Custom_404_Error_Page

The basics are:

  • Create an uncategorized article that is the 404 page. Dress it up any way you like.
  • Create a menu link to the 404 page and set it to be unpublished. Copy the URL of this page to be used later.
  • Copy the “error.php” file from the “Templates/system” directory and paste it in the root of the template your are using.
  • Edit this file and delete out everything after the “or DIE” statement.
  • Add the PHP redirect code in the article.

I hope this helps someone else out there…

 

 

Wamp – Error displaying the error page: Application Instantiation Error

My localhost WAMP on my personal Windows 10 machine just crapped out on me. PHPmyAdmin wouldn’t run I get the following on my screen when I go to my localhost website running in WAMP.

Error displaying the error page: Application Instantiation Error: Could not connect to MySQL.

My WAMP install I did without using a password for the PHPmyAdmin. It ran fine for a year and suddenly not.  What to do? I had stuff not backed up that I really wanted.

  • What if adding a password to the PHPmyAdmin fixes it…it didn’t.
  • Could it be my WAMP install and should I re-install on top of my already installed WAMP?

I looked deeply into the config.in.php file and playing around with that something did work. I used the solution on this page.

https://stackoverflow.com/questions/28541325/1045-cannot-log-in-to-the-mysql-server-in-wamp

Next I was lead to OS Training and an article using MySQL Console in WAMP. I never even knew it was there. It asked from my password. I put in the password I had just created in the config.ini.php file, but that didn’t work. I went back to my original blank password and I was in. I typed in

UPDATE mysql.user SET Password=PASSWORD(“root”) WHERE User=”root”;

That gave me the error.

ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

Which lead me to updating the password for root.

set PASSWORD = PASSWORD(“What ever password”);

That did the trick. I was back into my websites and PHP my admin.

I hope this helps someone else out there…