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
983
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
983
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
974
posted 10 years ago by apphp-snippets
[ Yii Framework ] Use this to redirect to previous page or last request URL
0
932
posted 10 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
851
posted 11 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
4403
posted 11 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
874
posted 11 years ago by rickahontas
Function to get wordpress post/page slug to be used on for custom class etc
0
966
posted 12 years ago by Farhan
Show all child pages content and featured image on the parent page
0
1258
posted 12 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
835
posted 12 years ago by dburgess
This will detect the Home Page of Joomla and perfom whatever code you tell it to
0
789
posted 12 years ago by dburgess
The Logo settings start on line 110 of the commented version.
0
803
posted 13 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
762
posted 13 years ago by resting