Cool Way to Display Attachments

While searching for an issue with Photoshop I came across a forum post in Adobe where someone posted a comment with an attachment. The way the attachment was displayed was very cool. Here is a screen clip showing you what I mean.

Can’t wait to get working on this.

I hope this helps someone else out there…

Using NSLookup To Fix Email Bounceback

Needed to find the my Reverse DNS to fix an issue with Craigslist not being able to verify my my IP / Domain Name combination. My co-worker reminded me of “NSLookup”.

  • Open the command prompt
  • Type in “nslookup”
  • You will see your Gateway information.
  • Type in “set type=mx” and hit enter
  • Type in the domain name “somewhere.com” and hit enter.

I hope this helps someone else out there….

Joomla 4 Gantry 5

I have enjoyed using Gantry 5 but Joomla 4 is around the corner…do they work together yet is the question I have. I had Joomla 4 installed lets try it. Well that didn’t go well. I got Gantry installed; however, when I installed the Hydrogen theme I got the following error.

The problem is I can no longer get back into the “Control Panel”. I was able to get the site back by going to “System” on the sidemenu and went to Manage >> Extensions. I was able to remove Hydrogen, but this didn’t fix the Control Panel issue. Once I removed the Gantry 5 the control panel was working fine.

In my opinion is Gantry is not ready to play with Joomla 4 yet. Rocketthemes is hopeful they will get this worked out.

https://rockettheme.com/blog/joomla/277-looking-forward-to-joomla-4-and-beyond

I hope this helps someone else out there….

Updating Joomla 2.5 Site To 3.X

Wanted to take an existing Joomla 2.5.19, update template, and then bring in the new content that is being created as I am updating the site overall. They were using JEvents heavily and made weekly posts to the site. Here are the overall steps I took.

  • Make an Akeeba backup and downloaded it.
  • Created a place to restore the site in my local WAMP.
  • Upgraded the site to Joomla 3.X. First I had to go from 2.5.19 and update to 2.5.28 (3.9 meg download). This was straight forward through the backend. In the Joomla! update screen change the options to “short term support”, and “save and close”. You will now have the option to upgrade to 3.5.1 (9.7 meg download).
  • Update components. I had the JCE, Akeeba, JEvents, Sourcer, and a few others. Only the JCE needed an update after the 3.5.1 upgrade. I was able to upgrade the Joomla! core to 3.6.5 and then 3.9.3 (11.7 meg download). The front end of the site was still working almost perfectly.
  • Build the new template on the local copy.
  • Make a backup of this site and restore it in another directory. I needed to do this because I added a few pages and changed the format on others.
  • Download the old site again, install it locally in another directory and upgrade it to 3.x again.
  • Export the assets table, content, and in my case JEvents.
  • Import the these tables into your upgraded site.
  • You should be very close at this point. This is where I used the restored version of the first site I upgraded and made the new template.

The tables I had to export were the following:

  • j25_assets
  • j25_content – j25_content_types ( _content_types are not in Joomla 3.X )
  • prefix_content – prefix_content_rating

Since this site was using JEvents I exported all the “_jevent_” tables, deleted those tables from fully upgraded new template site’s database, and imported the exported tables.

I hope this helps someone else out there.

Modules Anywhere –> In Joomla

While working a site where I wanted the home page to made of time sensitive information and some permanent, so I wanted to use Modules for each section on the home page. I used Modules Anywhere but the formatting was wacky, and there was a undocumented “–>” on the screen.

I was able to fix this from within the Modules Anywhere Plugin. Go to the plugin and on the “Behaviour” tab turn “Place HTML comments“.

I hope this helps someone else out there…


WordPress Divi Footer From Search Engines Yoast

Working on new WordPress site using the Divi theme. I had found a video on creating a custom footer by creating a page and that page becomes an element you can save in your Divi library to be reused. I made a footer and added to each page.

The problem came when I was reviewing the analytics after a month. “Footer” was one of the pages listed by Google and indexed by Google.

I discover that I can disable search engines from tracking the Divi Elements / Pages. Go to that element / page. In my case it was the “Footer” element. This element is a page built with the Divi builder. This is what it looked like.

At the top of the page is my Yoast settings. There are 3 tabs on the left side. Click on the gear icon and you will see where to turn this off.

 

I hope this helps someone else out there….

 

 

Validating Forms Without JavaScript

I had request from a customer regarding JavaScript and their various forms. Their company turns JavaScript off by policy, and the customer is concerned that others won’t see warning.

I found this site and I want to give it a try.

https://codepen.io/xavieraraque/pen/ojEeMP

I hope this helps someone else out there…

 

ChronoForms ChronoConnectivity 5 Example

The real benefit to Chronoforms is it is FREE.

I start with installing both ChronoForms and CronoConnectivity from Chronoengine. Go into Chronoforms and create a form. I started one here for customers. I wanted to keep their name, website, and password list. I started with a form called Customers.

After the designer elements of the form were finished  I did not go into set up yet. I went back to the “Forms Manager”, checked the “Customer” form and hit “Create table”. I ended up using the standard setting.

Now I go back into the form and add a couple of pieces to the “Setup” tab. In the “on load” section add “HTML (Render Form)” and “on submit” area add a “DB Save” from the Data Management elements.

You will now be saving the data to the database.

In ChronoConnectivity click “New” credential Manager. I am calling mine “customeredit”.  The Connection Name I called “customeredit”, and set published to “yes”.

Next click on “Models” and enter a new Model. I titled mine “customered” for customer edit. Use the dropdown to select the table where you stored the data from the form.

On the “Front List” tab Click on “Settings”. Select the display type as “Table”. The “Columns list” is the how the data is displayed when it is returned. The breakdown of the columns list is this:

customered.domain.DOMAIN = the model name . the database column name . the heading of the column ( you can make these up.)

The “Sortables” allows this column to be sortable once it is displayed.

On the “Actions” tab click “edit”. The form event will be the name of the form and the action. I called mine “CustomerEdit” and the action is “:load”. I don’t have this form created yet so we will do that next.

Before we leave this connection we need to set it permissions and that is to make the “view” allowed for the public so we can see it.

Go back to Chronoforms, check “Customer” our original form and hit the “Copy” button. Rename this copy “CustomerEdit”. This is what the the “Form event” is looking for.

Go into the form “CustomerEdit” and click on “Designer”

Click on the “Edit” button and set the “Field Name” and the “Field ID” for this “First Name” element to be “customered[firstname]”. This will tie the data coming over to this form together, so the firstname parameter will fill in the “firstname” field. Do the same with the rest of the elements. I also put a hidden field to collect the ID number.

Next go to the “Setup” tab. Add a “HTML (Render Form) element in the “On load” section. From the “External Apps” menu drag a “Connection Action”

Lastly add the name of the connection from ChronoConnectivity. I used the name “customeredit”. The Connection action is “save”.

You can create a menu item for the Form and the Connectivity View to see it all in action .

I will upload a zip file with the forms, connection, and database extract so you can use what I have working. It is easy to take my form and “Restore” it to your Chronoform and do the same thing with the Chrono Connection. The database table is easy to import a single table, and in my zip I have just the one table.

chronos_example_full

I am working on a Chronoform / Connectivitiy version 6 tutorial. Version 5 wasn’t easy to understand and version 6 is looking to be just as complicated. Version 6 does handle the database input better.

I hope this helps someone else out there…