How to get facebook timeline right now
December 16th, 2011
Custom ‘Sort by’ drop-down menu for Magento
December 14th, 2011
Yesterday i have spent some hours getting this done, so here the explanation hoping to save you some time.
Magento version 1.6.0
Modified core files:
/app/code/core/Mage/Catalog/Block/Product/List/Toolbar.php
Modified template files:
/app/design/frontend/mytemplate/default/template/catalog/product/list/toolbar.phtml
/app/design/frontend/mytemplate/default/template/catalog/layer/view.phtml
Translations:
/app/design/frontend/mytemplate/default/locale/it_IT/translate.csv
Life-Saving Threads: where i have found the hints to make this work
http://www.magentocommerce.com/boards/viewthread/20437/
http://www.magentocommerce.com/boards/&/viewthread/4029/P15/
First you have to setup the new order options in Toolbar.php.
Find the function named getAvailableOrders and modify it like this:
/**
* Retrieve available Order fields list
*
* @return array
*/
public function getAvailableOrders()
{
// SLD CUSTOM 13.12.2011
$this->_availableOrder = array(
'position' => $this->__('Popularity'),
'entity_id' => $this->__('Latest arrivals'),
'name' => $this->__('Name'),
'price' => $this->__('Price')
);
// / SLD CUSTOM
return $this->_availableOrder;
}
now we can order our products by position, entity_id, name and price.
Now in our toolbar.phtml we can use those options to modify the “Sort By” drop-down menu. Here we use our new options with getOrderUrl and directions ( ‘asc’/'desc’ ) to get values for our drop-down menu.
example: “order by lowest price first url” is < ?php echo $ob->getOrderUrl(’price’, ‘asc’); ?>
< ?php $ob = new Mage_Catalog_Block_Product_List_Toolbar;?>
<fieldset class="sort-by">
<select onchange="setLocation(this.value)">
<option value="< ?php echo $ob->getOrderUrl('position', 'asc') ?>"< ?php if($ob->isOrderCurrent('position') && $ob->getCurrentDirection() == 'asc'): ?> selected="selected"< ?php endif; ?>>
< ?php echo $this->__('Popularity'); ?>
<option value="< ?php echo $ob->getOrderUrl('price', 'asc') ?>"< ?php if($ob->isOrderCurrent('price') && $ob->getCurrentDirection() == 'asc'): ?> selected="selected"< ?php endif; ?>>
< ?php echo $this->__('Lowest price'); ?>
<option value="< ?php echo $ob->getOrderUrl('price', 'desc') ?>"< ?php if($ob->isOrderCurrent('price') && $ob->getCurrentDirection() == 'desc'): ?> selected="selected"< ?php endif; ?>>
< ?php echo $this->__('Highest price'); ?>
<option value="< ?php echo $ob->getOrderUrl('entity_id', 'desc') ?>"< ?php if($ob->isOrderCurrent('entity_id') && $ob->getCurrentDirection() == 'desc'): ?> selected="selected"< ?php endif; ?>>
< ?php echo $this->__('Latest arrivals'); ?>
Come attivare subito la nuova google bar
December 1st, 2011
Come in molti di voi si saranno accorti, continua il processo di implemetazione di google.
Nell’ultimo anno e mezzo dopo:
- google wave ( sistema di condivisione di documenti)
- google buzz (progetto fallimentare da poco chiuso)
- il primo mobile a marchio Google con sistema operativo Android
- l’acquisizione di Youtube
- la messa online di google+
Google si sta infatti trasformando da browser a vero e proprio sistema operativo.
Da oggi potete infatti gustare la nuova barra di navigazione/ punto di accesso di tutto il mondo google ( internet), ben suddiviso nelle sue principali funzionalità.
Trascinate nel cestino ( se non l’avete già fatto) il vecchio START di Windows e seguite le procedura qui sotto.
- Andate su google.com
- Aprite la console web /o console javascript/ da menu strumenti in Firefox
- copiate e incollate questa stringa di testo lì dentro document.cookie=”PREF=ID=03fd476a699d6487:U=88e8716486ff1e5d:FF=0:LD=en:CR=2:TM=1322688084:LM=1322688085:S=McEsyvcXKMiVfGds; path=/; domain=.google.com”;window.location.reload();
- premete invio
- refreshate la pagina
- se non trovate la console java script/ console web invece, saricatevi questo add on
- poi andate nel menu di firefox > strumenti > cookies manager cliccateci sopra

- nella barra di ricerca cercate “google.com” ( senza virgolette)

- visualizzate i cookies in ordine alfabetico per nome e cercate PREF

- cliccateci sopra due volte

- selezionate a stringa di testo in contenuto e sostituitela con ” ID=03fd476a699d6487:U=88e8716486ff1e5d:FF=0:LD=en:CR=2:TM=1322688084:LM=1322688085:S=McEsyvcXKMiVfGds”
- Tadaaaa!

Enjoy.
How to add twitter, youtube, flickr account to your fan page on facebook.
November 24th, 2011
Simply follow these five steps.
- open the INVOLVER.com page

- install the app related to the account you want to add to your fanpage on facebook
- now add this app to facebook

- insert your youtube account settings (no psw need) and set your preferences for your youtube tab on facebook

- voilà, here is you facebook page integrated with your youtube account

Fits perfectly all the social app available on Involver.com.
If you add your twitter account to a fan page on facebook and you want the completly sync with the facebook wall (all your twit updates automatically goes to facebook wall and not only on the twitter tab):
- log in in your twitter account > settings > profile
- under “bio” click on “post your tweets to facebook”
- preoceed with “connect to facebook”
- remember to check only the box “post to your facebook page” and select the facebook page you want to sync
- ticking both check box, the updates will run either on your private facebook wall either on your fan page wall
If you like this post like us on facebook
![]()
Come integrare Twitter, Youtube, Flickr nelle pagine di Facebook
November 24th, 2011
3 semplici mosse per integrare il vostro social network selettivo ( dedicato a video, status update, foto) all’interno della vostra fan page su facebook.
- aprire la pagina INVOLVER.com

- installare l’applicazione desiderata (se volete integrare youtube, andrete su youtube… )
- vi si aprirà una finestra in facebook per aggiungere l’applicazione

- inserite il nome del vostro canale youtube e settate le impostazioni preferenziali per il vostro youtube tab su facebook

- voilà, ecco il vostro account facebook integrato perfettamente con facebook.

funziona per tutti i social.
Se integrate twitter in facebook, per essere sicuri che tutti i vostri aggiornamenti vadano direttamente da twitter alla bacheca:
- entrate nel vostro profilo > settings > profile
- sotto la “bio” cliccate sul pulsante “post your tweets to facebook”
- procedete con il “connect to facebook”
- ceccate solo il box “post to your facebook page” e selezionate su quale pagina volete che gli aggiornamenti siano inviati in automatico.
- ceccando entrambe i box, gli aggiornamenti verranno inviati sia sulla vostra bacheca personale sia sulla bacheca della vostra pagina.
Se pensate vi sia stato utile, regalateci un like alla pagina su facebook.

