Blogs


 

This is a test of the 1.5 url rerouting with sh404sef. This is the first test with the new Joomla 1.5 content editor from the front-end of the website.

I've had to fix quite a few things and migrate to some new components, but it really hasn't been that bad.

The biggest issue was that mxComment has issues with sh404sef (and Joomla 1.5 URLs in general). I decided to download JomComment to see if it had any issues with 1.5 and it works like a charm. I should also note that JomComment recently added support for the import of comments from MxComment, which made the transition a breeze.

If you start getting template errors (specifically with JoomlaArt templates) like the one below, just replace the lines of code listed below. I've noticed this happen on JA_Fagus and JA_Purity... although I think JA_Purity was fixed in the 1.5.6 Joomla packages.

Fatal error: Call to a member function getItems() on a non-object in /***/templates/ja_***/ja_menus/Base.class.php on line ***. 

Open up the file that has the error in it and look for the following line:

$menu = @JMenu :: getInstance(); 

And replace it with:

$menu = &JSite::getMenu(); 

I got tired of having to click through the tabs in Joomla 1.0.x to change my publishing state from unpublished to published and check the show on frontpage item everytime I posted a new article. That being said, I did a little research and figured out how to change the default settings. It requires you to modify the core joomla code, so if you patch your site to a new joomla version and they replace the file you will have to reapply this patch.  All you have to do is open the /components/com_content/content.php file and look for the $row->state variable in the editItem() function. By default it is set to 0 and you will want to change it to 1.

The $row->state variable will change the default publishing status. 0 being unpublished and 1 being published.

The $row->frontpage variable will change the default status for whether or not an item will show up on the frontpage. 0 means it will not show up on the frontpage and 1 means it will show up on the frontpage.

In my content.php file, the $row->state variable was on line 1,843 - but this may vary for you depending on the version of Joomla you are running.

Today is my (Josh Lyon) birthday and the interns did their individual final presentations today. 3 of the 8 interns were working for me on on a new platform that we will be rolling out to customers in the near future and all their presentations were awesome. We had a great group of kids this year and I was really happy to be involved with the program this year. I learned a lot about my management style and they all taught me a thing or two. My best child-hood friend's (Travis') mom is taking me out for dinner tonight, so I don't have time to make a big blog post, but I wanted to make sure I posted this up.

The photos from the Anheuser-Busch brewery tour in Colorado have been posted. Aaron (my brother-in-law) took about 150 pictures, but I posted the ones I liked best. It was fun getting to go through the tour and see the beer brewing process, but the best part was at the end where we got to taste the beer (2 beers / person). I tried their version of a Guiness as well as a beer called the Harbin.

We also got to see the Clydesdale's after the tour. The horses are HUGE and were really excited to see us - think "red rocket" like a dog or "now I know why they say 'hung like a horse'!" I saw a lot of pumps and valves throughout the plant but never asked who made the pumps (eg. if they were Flowserve's). Click the image below to view the pictures:

Brewery Tour

Subcategories

About Me

Josh Lyon Profile Picture

Name: Joshua Lyon
Location: Dallas, TX
E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.
ProfilesGoogle, Twitter, GitHub
Other Sites:
     SharpTools.io
     L2 Technology Services