beneberle


Member since 06/18/2009

8 snippets

546 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

beneberle's Recent SnippetsTagged joomla



« Prev 1 Next »
Basic sample courtesy of John Martin @ www.bigspring.co.uk/
0 67 posted 8 years ago by beneberle
First, find the proper package from http://www.joomla.org/download/ and copy its path. Then, over ssh, navigate to the root of the joomla install and perform these commands. In the case of an upgrade, this will overwrite in place the needed files, an...
0 66 posted 9 years ago by beneberle
0 79 posted 9 years ago by beneberle
getCategory returns the category ID, getSection returns the section alias. Great for CSS overrides
0 66 posted 9 years ago by beneberle
function for determining the section ID of a given page. Good to include in a templatetools.php file inside of a template to set up some custom conditional logic
0 101 posted 9 years ago by beneberle
I set up an $isHome boolean variable at the beginning of a template's index.php file so I can easily test the condition throughout the file. To me, the semantic variable name makes the logic more readable.
0 49 posted 9 years ago by beneberle
Substitute new_ placeholder in the second line with your new prefix. Run it: http://www.yoursite.com/rename.php and wait until it responds with an OK, usually after a couple of seconds. Delete the rename.php script. Edit the configuration.php file...
0 88 posted 9 years ago by beneberle
« Prev 1 Next »