Welcome To Snipplr
Everyone's Recent PHP Snippets Tagged page
- All /
 - JavaScript /
 - HTML /
 - PHP /
 - CSS /
 - Ruby /
 - Objective C
 
Ultratabs extension will provide you with power to display, hide and change order of core Magento tabs on product details page. Such as: Description, Additional Information, Upsell Products List, Related Products List, Products Tags and Products Revi...
        
        
        
            0 
        
        
            2401 
        
                    posted 10 years ago by steelgray9
            FAQ Page extension allows you to create separate page with common questions, categorize them, add popular questions,
use magento shortcodes in questions text. Customers get nice page with answers for all common questions
        
        
        
            0 
        
        
            2453 
        
                    posted 10 years ago by steelgray9
            We know that normally index.html or index.php is the default page for many servers, when visitor types a directory without specifying a file name. You can change this rule with .htaccess:
        
        
        
            0 
        
        
            2471 
        
                    posted 11 years ago by apphp-snippets
            [ Yii Framework ] Use this to redirect to previous page or last request URL
        
        
        
            0 
        
        
            2341 
        
                    posted 11 years ago by tucq88
            Doing the echo with multiple concatenated bits of strings was very error prone and I was always getting parsing errors. The toggle format where you flip PHP on and off throughout the HTML is less error prone but is a real pain in the ass if you have...
        
        
        
            0 
        
        
            2226 
        
                    posted 12 years ago by COBOLdinosaur
            Here's the basic principal behind spiders. (ex: <a href="http://giochiflash.123homepage.it">Giochi Flash</a> $html = file_get_contents('http://www.example.com');
        
        
        
            6 
        
        
            6640 
        
                    posted 12 years ago by haydin
            This is a combined version of Bill Erickson's hide post editor and rilwis' Metabox include for specific IDs. It hides the editor for a specified post ID. You can have multiple IDs, just separate with commas.
        
        
        
            1 
        
        
            1262 
        
                    posted 12 years ago by rickahontas
            Function to get wordpress post/page slug to be used on for custom class etc
        
        
        
            0 
        
        
            2312 
        
                    posted 13 years ago by Farhan
            Show all child pages content and featured image on the parent page
        
        
        
            0 
        
        
            2879 
        
                    posted 13 years ago by i-am-andy
            This will let you execute certain scripts on the home page and other scripts on the other pages of the site.
        
        
        
            0 
        
        
            1293 
        
                    posted 13 years ago by dburgess
            This will detect the Home Page of Joomla and perfom whatever code you tell it to
        
        
        
            0 
        
        
            1215 
        
                    posted 13 years ago by dburgess
            The Logo settings start on line 110 of the commented version.
        
        
        
            0 
        
        
            1183 
        
                    posted 14 years ago by jeremyjared74
            Only this portion needed
    // Add page template suggestions based on node type, if we aren't editing the node.
        if ($vars['node'] && arg(2) != 'edit') {
          $vars['template_files'][] = 'page-nodetype-'. $vars['node']->type;...
        
        
        
            1 
        
        
            1310 
        
                    posted 14 years ago by resting