Log in

Register



xls-tips.jpg

Today I made something beautiful. But you probably have to appreciate excel formulas to appreciate this! This formula is used to create aliases or slugs.

We use slugs to create custom URL's for our products and categories, since we ditched our SEF URL component due to speed issues we now store them as a single line in the database.

Simply replace A1 and A2 with your Product Title and SKU respectively.

Read more: Google Sheets - Replace Special Characters - Lower Case - Concatenate

php-tips.jpg

I use this code a lot and it's quite useful to have handy. This is code that works anywhere in a Joomla component or module that displays or hides content based on the current logged in users group status. You can add and minus the group ID's by removing or adding to the in_array line. To find the Joomla group ID's just goto Users > Groups and it's on the right hand furthest column. 

Read more: How to Display Content To Specific User Groups in Joomla in PHP


Copyright © 2015 PromoNet Ltd | +44 (0)1795 857 804 | This email address is being protected from spambots. You need JavaScript enabled to view it.
Registered in England and Wales Company Number: 08456645 - Registered for VAT: No GB170189410