Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
How to retrieve product attributes outisde the product page in Magento
0
589
posted 14 years ago by TioSolid
This is an example of what a typical description meta tag looks like.
0
672
posted 14 years ago by goatboy91587
Execute this script to replace old links inside the content of Wordpress posts.
0
691
posted 14 years ago by jhonqwerty
File: /template/[mytemplate]/html/com_content/category/blog.php page...
0
734
posted 14 years ago by harikaram
By using this snippet we can recover fields from a database by filtering these ones per a specific field.
1
837
posted 14 years ago by juanchifc
By using this php snippnet we can store different fields (got by array post) into a sql database
1
761
posted 14 years ago by juanchifc
By using this snippnet we can recover and show on a table the items stored into a sql database managed with mysql.
1
751
posted 14 years ago by juanchifc
First, we select the link with an ID of #some_id, and prevent the default event from occurring (which would be to follow the link and load the target page). We grab the original destination of the link (by retrieving the href attribute of the link we...
3
670
posted 14 years ago by jmsrie
Mostrar un link a una subcategorÃa, dependiendo de la categorÃa superior. category_parent es igual al id de la categorÃa superior. Sirve sólo cuando el post tiene una categorÃa hija de la categorÃa superior.
0
722
posted 14 years ago by jhonqwerty
<p>This function returns a random number within a range.</p><p>For example:</p><p>// assigns low and high values for range</p><p><code>int rangeLow = 34, rangeHigh = 78;</code></p><p>// computes a random number between 34 and 78</p><p><code>myRandomN...
0
760
posted 14 years ago by dblandin