Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged joomla



« Prev 1 2 3
Easy PHP script for uploading and unpacking zip files to the server much faster Steps to follow: 1. create folder on the webserver called "zipper" or something else 2. copy the following PHP code into a file called "zipper.php" into this folde...
2 5862 posted 13 years ago by jvandemerwe
Basic template for Joomla 2.5 with 3 columns
1 2720 posted 13 years ago by gradamedia
Show html on homepage and different html on other pages
0 1811 posted 13 years ago by morktron
This is a base function to use with Joomla! to display the view using the Joomla cache system.
0 2702 posted 13 years ago by kevincam
0 1365 posted 13 years ago by kevincam
Joomla SEF to work properly it is based on Joomla menus. In your own components for SEF to work and menus to appear your need to pass the Itemid to links. To do this you need to get the Itemid based on on the URL link. Here is how you get the Itemid...
1 1908 posted 13 years ago by kevincam
Remove noscript tag and will work
0 1268 posted 14 years ago by bubaphex
This will detect the Home Page of Joomla and perfom whatever code you tell it to
0 1500 posted 14 years ago by dburgess
It's not possible to use the standard syntax to retrieve the current id of the Joomla module in a Joomla xml element. This code parses the url and grabs the last part of the url which i atypically the module id when editing a module in the Joomla adm...
1 1827 posted 14 years ago by joomlabamboo
0 1538 posted 14 years ago by bubaphex
Replace in modules\mod_menu\tmpl\default_component.php
0 1490 posted 14 years ago by vyatka
Remove Mootools from the Joomla Header in a Joomla Template
0 1442 posted 14 years ago by bubaphex
If a module is set to display, load this
0 1340 posted 14 years ago by bubaphex
Used in template's, load this if home page etc
0 1399 posted 14 years ago by bubaphex
You can use this in Joomla extensions where you need to get the current language locale for example to use with Facebook Connect/Like plugins etc. in the "en_US" format. With facebooj JS, all you have to do is replace the default locale with the resu...
0 1878 posted 14 years ago by burconsult
Basic sample courtesy of John Martin @ www.bigspring.co.uk/
0 1595 posted 14 years ago by beneberle
If you wanna use images stored by K2 in your custom scripts/classes you'll need to know how K2 generates the names... (took me quite a bit to find that, because they're not stored in the _k2_items table)
0 1590 posted 14 years ago by iroybot
Primeiro de tudo criar um novo formulário com os campos: Criar campos: nome username (com validação alphanumeric) password email e um submit button. Na área dos scripts colocar o código e ter em atenção que conforme a versão do joom...
0 1457 posted 14 years ago by montejunto
publish to everywhere except VirtueMart checkout pages (I think!)
0 1253 posted 14 years ago by morktron
Copy /modules/mod_menu/tmpl/default.php to /templates/MYTEMPLATE/html/mod_menu/default.php
0 3075 posted 14 years ago by nico65
0 1520 posted 14 years ago by beneberle
getCategory returns the category ID, getSection returns the section alias. Great for CSS overrides
0 1679 posted 15 years ago by beneberle
« Prev 1 2 3