Joomla! Template Equals Component
I knew that you can modify the output of Joomla! still further by tagging "tmpl=component" onto the end the url.
This should then output the content of whatever component you are viewing without the template.
You might need to create a component.php file in the root of your template…
Never Design The Home Page First
This is something I think about doing, but really need to actually start doing it!
Pro tip. Never design the homepage first. Always start with a product page, an article or a page where design thinking is really needed.— Joe Leech 红豆 乔 (@mrjoe) January 14,
The Pressing Need to Overtake
Well, most working days. I cycle to work.
When you cycle a lot it is very easy to develop a sizable chip on your shoulder about motorists. I try to resist this as clearly, not all motorist are evil fuckers... However there are enough who…
2 Hard Things in Computer Science
I've long been a fan of this quote from Phil Karlton
"There are only two hard things in Computer Science: cache invalidation and naming things"
However I am an even bigger fan of the slight variation on it:
"There are only two hard things in Computer Science: cache
Recursively count all the files in a directory
Every now and then I need to do this... so this is here for reference...
find . -type f | wc -l
linux - Recursively count all the files in a directory
Git --assume-unchanged Problem When Switching Branches
I had a problem switching to a different branch when using git --assume-unchanged. I've been using this command as a lazy git ignore and found it quite useful.
However, I recently tried to switch a branch when I had marked a config file --assume-unchanged and had…
Search a Multi-Dimensional PHP Array with Standard PHP Library Recursive Iterator
(That's definitely the best blog post title I've ever come up with...)
Messing with php arrays often messes with my head...
So I needed to search a multi-dimensional array and return the results in an easily accessible format.
A bit of research uncovered…
Super Simple Git Submodule Guide
Hopefully you already have some idea what a git submodule is, but if not:
It often happens that while working on one project, you need to use another project from within it. Perhaps it’s a library that a third party developed or that you’re developing separately and…
PHP DateTime Class - Or why it pays to read the documentation (sometimes!)
I've always struggled with dates in PHP, more specifically writing dates submitted by a PHP form to a database correctly formatted.
I've done a few weird and wacky things to get the dates into the database as proper datetime…
I'm not completely sure what these people do (this site is in German and I don't speak German) However I find something strangely satisfying about the layout of this websites homepage.
I think it might be the circles... Most things on the web are usually in squares, so a nice circle…
< Previous Next >