Category Archives: Joomla!

Couple Joomla Tips

As of late I’ve been doing a lot of working on Joomla and creating a Joomla template for a school district that will be used district wide. It will not only be used on the districts website but it will also be used on the High School’s website, the Middle School’s website, and the Elementary School’s website. That’s a big thing for me because it means that the template has to actually be a template and not just a template that is that site specific, which I used to do a lot when creating Joomla templates. This has been a tremendous learning curve for me and has and will defiantly help me out when I do other website. Here are a couple coding tips for anyone who has use of them, but mainly they’ll be here for me to easily reference to and know where they are at.

This first one is to tell if the current page is from a certain Joomla component. The one in this example is JEvents, which is a really good calendar component for Joomla.

1
2
3
4
<?php /*store true or false in a variable for ease of use*/$is_calendar = (JRequest::getCmd('option') == 'com_jevents'); ?>
<?php /*see if this page is the events page*/ if ($is_calendar) : ?>
<p>Do something in here if the page being displayed is of the com_jevents</p>
<?php /*end the if statement */ endif; ?>

The second one is to see if the current page is the front page, or the default that people go to when they come to your website.

1
2
3
4
<?php /*store the menu in a variable for ease of use*/ $menu = JSite::getMenu(); ?>
<?php /*see if the current page is the front page, if so then do something*/ if ($menu-&gt;getActive() == $menu-&gt;getDefault()) : ?>
<?php /*if it's not, then do this instead*/ else : ?>
<?php /*end our if statement saying if the page is the front page or not*/ endif; ?>

Pretty nice and easy to do once you figure out how to do them, there’s so many different options out there that you can do. For example, the first one you can replace “com_jevents” with any other component and use it that way.

If you have any questions, feel free to ask!
Bradley Hilton

1st Real Project

Svcliving.com

Here’s just a quick update about something I recently did. As many of you know I love coding, especially website coding. Many people have asked me why I like it so much, and the only truthful answer I can give is the fact that it’s sometimes a challenge. I love challenges even if I get mad or angry while doing it. Why? Because after I’m done and get it working 100% correctly, I’m happy and excited about it. :)

With that in mind, you also know that I’ve coded a couple websites. Including but not limited to My Pastors, My School’s, My School District’s Welcome Center, and mine (new one in the process).

As of just recently, I can now add another one to that list. Also in a couple days from now I’ll be able to add two more, but for now I’ll just talk about one.

This picture is a screenshot taken from my phone (since it’s what I’ve typed up this blog post with) and it’s of the site I can now add to my portfolio. It’s for a real estate company as you can maybe see from the screen shot. It is a Joomla! template and it’s also a Joomanager theme. There was a little bit of a learning curve going from just coding a Joomla! template to adding and making sure that Joomanager worked and looked correctly. I was excited to do this site and glad that I got it done before my deadline. The link to the live website is: http://www.svcliving.com/ even though they currently don’t have it all the way up as they are learning how to use Joomla and Joomanager. Just thought I’d share this with you all.

And upcoming sometime soon is a post called “Who Are the Best Actors”. I’ve still got a ways to go before that post is complete, but I’m hoping it’s going to end up good.

God Bless,
Bradley

Recent Activity Update

It’s been quite some time since I’ve posted something to my blog and that’s due to a couple of things. One is church and school have been keeping me busy. School’s going pretty good, except for the fact that tonight we have a Pre-Calc take home test and this section is pretty hard in my opinion (and a couple of other people)! What’s keeping me busy with church you’re probably asking yourself?! Well, I’ve been doing a lot of research on how to get us to be able to record better and more professionally. After a ton of research and going to Guitar Center, I’ve found out that what we are wanting is a PreSonus FireStudio (Interface Only). You can go ahead and research it yourself, since I’m posting this while I wait… Basically it allows us to have multiple channels (or inputs) going to our computer, so then when we record it’s not just one channel but how every many we have set up. That way we can record and then later go and make it sound more professional than before.

Another thing that has been keeping me busy is work, which if you’ve read my blog that’s working for my school district. Well, I just got my check in the mail today and it’s way more than I expected! :) I’m excited about that, but I think half of it is going to be gone cause of paying my mom and dad off.

lhs01

Recently I’ve been spending a lot of time working on getting new features for my school’s websites. There are two main features that I’ve added, and you can see them from the picture on the left. The main feature is what I call “highlighted articles”. This is a scrollable list of articles that have been posted to the website, and it also can have pictures of the subject. I’ve ran into a ton of problems with this! I’ve over came a couple of them, but I’m still running into a couple of them. Another feature is the search bar at the top right of the menu. The positioning of this took more work than I had originally thought it would have, but hey I love a good coding challenge every so often! I also had to edit one of the Joomla! files to make the search appear in a different page than the front page. I’ve made a good amount more of changes to the site, but those are all little details that a majority of people will never know… Haha

I hopefully will be posting an article this week or weekend that has some good meaning behind it, and might get you thinking.. Who knows.

Bradley

Week Review and Saturday 9/19/09

In my last blog post I told you that I would post again before the weekend and tell you what was going to happen. Well, here it is and I’m really surprised that I actually did what I said I was going to do! Lol

This week has been an interesting one all things considered. Monday at school my P.E. teacher wouldn’t accept the letter that my mom wrote to excuse me from working out since my hands weren’t healed yet. He told me that I had to have a doctors note to fully excuse me from working out. This then caused me to have to go to see a doctor, so that Monday night I did go. CIMG0209The doctor said that I bruised my bone and that my wound(s) were infected. She gave me some medication to take to get rid of my infection and then wrote a note to excuse me from working out until the CIMG020621st. Tuesday another day of school and long one at that, posted a blog post, and then that night I went to puppet practice and meet up with my friend. Yeah that’s him pictured to the left, me and him are really good buddies, we’ve done I think too puppet shows together and we’re really good together! Ha-ha. Wednesday night was a another day of school, but it kind of went pretty fast which felt good. That night I got surprised because there was a visiting preacher, Elder Eldon Eckles. His preaching was AWESOME, but he had a young apostolic lady with him. I was wondering who she was because honestly she was pretty good looking. So, service went on and Pastor Chalfant introduced the preacher and then said that it was Elder Eldon Eckles’ grand daughter. Knowing me, I haven’t got the guts to talk to her because I’m too shy when it comes to talking to girls and meeting new Apostolic people in person… I’m determined to do it though! (I’ll tell you my plan here shortly.) Thursday was a pretty good day because it went by pretty fast, and I learned that I will be paid $600 for working 60 hours, working for USD469 doing technical work and things related to that. Also, Thursday night I worked on converting a website layout and designCIMG0124 that I had done a while back into a Joomla! template, I got a good amount done, just got a whole bunch more to do. Friday (today) wasn’t the best for the first half of the day, but after school things got a ton better! Got home and worked on the Joomla! template some more (fixed some bugs here and there), then left for prayer meeting. After prayer meeting was over I stayed to practice a song for the youth service that is coming up the 23rd at Truth Tabernacle. As we was practicing, they asked me if I could lead song service. What could I say, besides yes? So, I’m leading youth service song service on Wednesday night. That’s been this week. What about this weekend and my plan of me trying to talk to Elder Eckles’ grand daughter?

My answer is as follows. Tomorrow there is a Youth Rally at New Life in Olathe, KS. I’m excited because it’s the first one in a long time and I’m ready to be in a service with other young people that is directed to young people. I’ll try to post some pictures of it if I take any… As for my plan to talk to Elder Eckles’ CIMG0213grand daughter, I’m planning on getting or making myself talk to her tomorrow since they are going (my dad asked Elder Eckles). If any of you read this and are going tomorrow, want to maybe help me out or give me any pointers? Ha-ha

That’s it, except the picture to the right is the starting of what I hope is my second to next blog post. And if you’re wondering, yes I do actually write down some of blog post because I get ideas at school and can’t really type them up on a computer or on my phone. If you click on the picture you might be able to read what my title might be, in case you can’t I plan to title it “Me, Myself, and You?”. Thanks for taking the time out of YOUR day to read my blog!!!

God Bless,
Bradley Hilton

Church02.5!

FINALLY I CAN SLEEP!!! Lol – That’s how i feel right now because I’ve figured out how to add a drop down menu to my template for Joomla! I told you guys in my last post that I would be posting here whenever I finally got my template with a MooMenu added. And that’s what I am doing, but in the process of doing it I thought that you guys might want to see my screen when I work on it. This screen shot is actually from whenever I was testing out the new menu and seeing if it would work in all the browsers I have installed. The ones open and up are Opera and Safari. To my surprise Internet Explorer handled the menu better than Firefox! To all the web developers you know that this came as a huge surprise!!! Lol – As you can tell I’m really excited (from all the “!”‘s). Here’s the screen shot:

church02_wip

The only thing that I have left to do is to edit the “templateDetails.xml” file to be up to date and to include all the files when installing. Then the next test will be to test the installing of the template and work out all of the errors that I get. Let’s pray that I can get it all working before I go to bed! :D

On a side note, I’ve been texting this girl since last week sometime, and then this past Saturday a local church had a youth service with fellowship afterward. I stayed for it and talked to someone about this girl and to find out she’s on fire for God which is AWESOME! This means that once I talk to my pastor about his rules for talking to girls, then I am going to move on from there and I’m praying that she actually likes me!!! Lol – I’m sure most of my readers don’t really care about this, but I just thought I would put that in there! Haha – That’s all for now, will update later some time, that ain’t a promise that it’ll be within a week, but I will try.

God Bless,
Bradley Hilton

New Template!!!

I’m sure that most of you have probably been wondering when I will acutally get done with creating a template for Joomla. Well the time has come for me to show you all the almost finished Joomla template! The thing that I will include in release 1.5 will be a MooMenu (or a.k.a. Drop Menu). I will also include in that realse is CSS fixes, index.php fixes, and just little bugs and stuff. Tell me what you guys think of this template!

Link: http://www.graywolf336.com/joomla
Preview:
template_thumbnail

I know that the preview image isn’t that big, that’s because this is the only image that i have myself. If you want to look at it with a “bigger” image, then feel free to visit http://www.graywolf336.com/joomla/ Thanks and let me know what you think!!!

God Bless,
Bradley Hilton

Joomla!

Howdy everyone! How’s your day (or night) going so far? As of right now, mine is doing pretty good! That’s partly because this whole week I’ve been on Spring Break, which means no school and no homework! :D There’s another reason why I”m doing pretty good, and that’s because I’ve almost got making a template for Joomla! down pact.

If you’re like most people, then you probably have no idea what Joomla! is. Correct? Well, let me try to explain to you what it is and hopefully you’ll have a better understanding. Joomla! is a Content Management System, or rather known as CMS. What this means is that someone can easily manage a website without any XHTML, CSS, or PHP, or any other website/server language. The only downfall to doing that, is someone will either have to settle for a free template (thus being not very good) or they can pay a good chunk of money for a template for it that has a good amount of features already built into it. I’ve seen, on average, a template for Joomla! costing about sixty dollars! There was also a website that I saw that claimed it had it’s “own” content management system and they would host and design your very own template, well when I got to looking at the CMS they had, it was straight up Joomla!! Here’s the part that really got me, it cost a ton of money up front and then a good chunk of money per month if you went with them.

Well all of information has got to my head and I’ve started to realize that if I could create templates for Joomla! and then start hosting some, I could possibly get a good amount of money! This whole week (except for Tuesday and maybe today) I have spent all day acting like a geek and being a geek. Which means I have been learning how to create a template for Joomla!. Now I have a totally different way of learning how to any type of coding or learning a language. I’ve applied this same concept for learning how to create a template for Joomla! and I believe that it’s actually working!

So far I have successfully create ½ of a template. You’re probably wondering how in the world this is possible and let me know you it is. Lol – It’s possible because to create a template for Joomla! you really only need one page for whole website. This page is the “index.php” and  it contains many and many lines of code. Not only does it have html and php but it also has some sort of special coding language that is for Joomla! and I think by Joomla!. I have wrote a complete front page of the template, but I need to (or rather find out how to) include some PHP coding so that it checks and see if there is any content being posted on the right side of the page, and then if there isn’t anything  there then not display that stuff. Wish me luck my readers and peeps! Lol

God Bless,
Bradley Hilton