As there is not much options to manipulate teasers and especially taxonomies in drupal you should use this code in template.php
As there is not much options to manipulate teasers and especially taxonomies in drupal you should use this code in template.php
When you decide to make page for iphone, or maybe just make additional css to change how its views on iphone you should add this code, as iphones ignore other code. With this you set it depending on the size of the screen, so you hide sidebar for all devices that have screen smalled than 480px (widescreen iphone format). More info can be found on linke below
To find out which fields are available in custom fields in views, put following code in custom PHP field.
print var_export($data, false);
Few times i transfered online site to my localhost and site wouldnt work, no response form page. What i realized is that main problem were cache tables in database. After clearing them everything was fine. Best way to do that would be to use backup and migrate module and just select all cache tables to be emptied in advanced settings and then backup database and import it to your localhost.
Today I made a view from which 3 menu links derive, problem was that all had the same title as it was only one view. Way to solve this was to pass argument to view trough Global that would be ignored in query.
If you want to select form value, for example hidden field for subject in mail form you can set the form values with jQuery using the val() function.
If the form element is <input id="subject" name="subject" type="hidden" value="someweb.com" /> you set it with $('#subject').val(itemId);
so put it in function
Today i stumpled upon mailhandler module, cant wait to try it out. Creating content from email client could boost content production in many sites, mainly aiming for classifieds sites and community sites.
Ever had message like this?
If you are getting error like this
Recently i had a problem with taxonomy image and nodes. When using it with views you get every node listed twice, even when using dinstinct filter.