Drupal 7 (I’m so excited)

Drupal 7 Marketing Video from Lullabot on Vimeo.

Επιτέλους το drupal 7 μετά απο αρκετή καθυστέρηση είναι εκεί έξω έτοιμο να μας υποδειχτεί και να γίνει ο καλύτερος μας φίλος. Με νέα βελτιωμένα χαρακτηριστικά, καλύτερες επιδόσεις και ενα user expirience που δείχνει τον δρόμο είναι πλέον έτοιμο να αναλάβει ακόμη μεγαλύτερα projects,

Ρίξτε μια ματιά στο επίσημο release του drupal 7 για να μάθετε περισσότερα για τις δυνατότητες του νέου drupal.

Δεν έχω περισσότερα λόγια μιας και ανυπομονώ να πάω να παίξω μαζί του και να ανακαλύψω τις νέες δυνατότητες.

(οκ οκ λέω ψέμματα … έχω αρκετό καιρό που παίζω μαζί του απλά πλέον από μυστική ερωμένη θα γίνει επίσημη σύντροφος).

Υγ. Για όσους δεν έχουν την δυνατότητα να εγκαταστήσουν το νέο drupal μπορούν να παίξουν μαζί του στο www.drupalgardens.com/.

Ubercart subproject module modified

Μια και αυτή την περίοδο τρέχουμε ένα eshop project (προφανώς drupal + ubercart) προέκυψε το εξής ζήτημα.

Πέραν από ένα μόνο Product θέλουμε να υπάρχει η δυνατότητα να πουλήσουμε colection απο products που έχουμε στο κατάστημά μας. (Ίσως σε κάποια στιγμή αργότερα να μιλήσουμε για το πώς συσχετίζουμε ένα product με ένα colection με taxonomy,views και λίγη php αλλά δεν είναι το θέμα μας αυτή τι στιγμή).

Στο θέμα μας λοιπόν ο πιο απλός τρόπος που μας δίνεις το ubercart για να φτιάξουμε colections απο products είναι το module SubProduct. Εγκαθιστούμε το module και ακολουθώντας τις οδηγίες καταλήγουμε με ένα νέο node type που είναι το “superproduct” μας. Φτιάχνοντας λοιπόν ένα super product και ορίζοντας τα products που αυτό περιέχει έχουμε ένα αποτέλεσμα σαν αυτό. Continue reading

Jquery cycle and IE… craziness

Ειναι Ιουλιος (αν θυμάμε καλά)

Ειναι σάββατο (για αυτό είμαι σίγουρος) αν και εδώ και λίγες ώρες έχει πιάσει Κυριακή.

Είμαι απο το πρωί στο γραφείο και η ώρα είναι 3:07.  Όλοι είναι έξω και πίνουν tequilles και γώ παλέυω απο το μεσημέρι να κάνω ενα site να δουλευει σωστά με IE (all versions) Εδώ και μερικές ώρες όλα φαίνονται σωστά εκτός απο ένα μαύρο background γύρω απο ένα jquerry slideshow… έχω δοκιμάσει τα πάντα και στα πρόθυρα τις απελπισίας πέφτω πάνω σε αυτό…

There are two cleartype options in Cycle, and unfortunately one of
them is not documented (yet).

The general purpose of the cleartype logic in Cycle is to workaround a
rendering issue in IE when cleartype is enabled on the system. When a
Windows machine has cleartype enabled, IE6/7 render text aliased when
there is an opacity filter applied to an element. In IE6, the effects
of this can be greatly minimized if the element in question has an
explicit background color.

When Cycle’s ‘cleartype’ option is true the plugin will attempt to set
a background color on all of the slides to provided better
antialiasing support on IE6. To determine the best bg color, the
plugin walks up the parent hierarchy until it finds a parent with a
non-transparent background color. If it doesn’t find one then it uses
white. In addition, when the cleartype option is true the plugin will
always try to remove the opacity filter after the transition
completes, this fixes the aliased text on IE7.

Since Cycle is used in many, many different environments I realized
that there are some cases in which setting a specific background color
is not desirable. A long time ago I added an option called
‘cleartypeNoBg’. When this option is true Cycle will *not* set a
background color on the slide elements (but it will still remove the
opacity filter after each slide transition).

In Internet Explorer the default value of Cycle’s ‘cleartype’ option
is true in recent versions of the plugin.

So to use the undocumented option you would do this:

$(‘#slideshow’).cycle({
cleartypeNoBg: true

});

ΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑΑ

καληνύχτα…