Welcome To Snipplr


Everyone's Recent Snippets Tagged joomla



« Prev 1 2 3 4
  1. FAV

    Script for uploading ZIP file and unzip it on the server

    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...
    PHP saved by 8 people 25 views posted 7 years ago by jvandemerwe
  2. FAV

    Mad Current Event Update for Joomla vs 2.5.6

    I've updated Mad Current Event to work with Joomla vs 2.5.6. Just replace the contents of mod_madcurrentevent.xml with the following code.
    XML 7 views posted 7 years ago by mrjohnmain
  3. FAV

    Basic template for Joomla 2.5

    Basic template for Joomla 2.5 with 3 columns
    PHP saved by 3 people 8 views posted 7 years ago by gradamedia
  4. FAV

    Conditionial statement to show html in Joomla 2.5

    Show html on homepage and different html on other pages
    PHP 6 views posted 7 years ago by morktron
  5. FAV

    Base display function to use Joomla! cache

    This is a base function to use with Joomla! to display the view using the Joomla cache system.
    PHP 4 views posted 7 years ago by kevincam
  6. FAV

    Determine if Joomla User is a Guest/not logged in

    Determine if the current Joomla! user is logged in or not
    PHP 3 views posted 7 years ago by kevincam
  7. FAV

    How to get menu Itemid in your own components

    PHP 4 views posted 7 years ago by kevincam
  8. FAV

    Link to Jomsocal User Profile Page

    PHP 3 views posted 7 years ago by kevincam
  9. FAV

    Use JomSocial built-in personal messaging system

    PHP 1 views posted 7 years ago by kevincam
  10. FAV

    Using Jomsocial functions in outside of Jomsocial

    PHP 1 views posted 7 years ago by kevincam
  11. FAV

    How to get the Jomsocial User Object

    PHP 0 views posted 7 years ago by kevincam
  12. FAV

    How to get menu Itemid in your own components

    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...
    PHP saved by 2 people 4 views posted 7 years ago by kevincam
  13. FAV

    Users Sharing between multiple Joomla 2.5.x sites

    xxxx1... are tables from master site xxxx2... are tables from client site
    MySQL 4 views posted 7 years ago by A973C
  14. FAV

    Virtumart - Straight to Cart

    Remove noscript tag and will work
    PHP 1 views posted 7 years ago by bubaphex
  15. FAV

    Joomla - Load only on home page

    This will detect the Home Page of Joomla and perfom whatever code you tell it to
    PHP 6 views posted 8 years ago by dburgess
  16. FAV

    Retrieve module id in Joomla xml element

    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...
    PHP saved by 1 person 4 views posted 8 years ago by joomlabamboo
  17. FAV

    backgrounds diferentes segun seccion

    PHP 1 views posted 8 years ago by juanprimal
  18. FAV

    Remove Title from Read More

    PHP 1 views posted 8 years ago by bubaphex
  19. FAV

    Add SPAN to Joomla menu

    Replace in modules\mod_menu\tmpl\default_component.php
    PHP 2 views posted 8 years ago by vyatka
  20. FAV

    Joomla 301 redirect for all pages

    Regular Expression 9 views posted 8 years ago by kristapslazda
  21. FAV

    Remove Mootools From Joomla Header

    Remove Mootools from the Joomla Header in a Joomla Template
    PHP 1 views posted 8 years ago by bubaphex
  22. FAV

    If Module Set, display this

    If a module is set to display, load this
    PHP 2 views posted 8 years ago by bubaphex
  23. FAV

    Load on homepage only

    Used in template's, load this if home page etc
    PHP 3 views posted 8 years ago by bubaphex
  24. FAV

    Get Joomla language locale for use with Facebook js/fbml etc. on multilingual sites

    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...
    PHP 3 views posted 8 years ago by burconsult
  25. FAV

    Joomla!: Place Modules anywhere in the code

    PHP 6 views posted 8 years ago by mortennajbjerg
  26. FAV

    Joomla!: Place Positions anywhere in the code

    PHP 2 views posted 8 years ago by mortennajbjerg
  27. FAV

    Batch password reset in Joomla!

    Basic sample courtesy of John Martin @ www.bigspring.co.uk/
    PHP 4 views posted 8 years ago by beneberle
  28. FAV

    Joomla! K2 image naming...

    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)
    PHP 4 views posted 8 years ago by iroybot
  29. FAV

    Criar utilizador em rsforms

    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...
    PHP 0 views posted 8 years ago by montejunto
  30. FAV

    Joomla! install/upgrade procedure over ssh

    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...
    Bash 2 views posted 8 years ago by beneberle
« Prev 1 2 3 4