Posts Tagged ‘Drupal’
Configure your Drupal blog to use blogging firefox pluggin Scribefile.
- You need administrator priviledges since you have to activate Blog and Blog API if you have not done so.
- Go to Administration › Site building › Modules
- Enable the Blog API module and if you like writing composing Blog posts also from your Drupal web pages enable also BLog module.
- Go to Administration › Site configuration › Blog APIs
- Check at least one content type that is considered a blog entry (typically story, blog entry) and press save.
- User management › Permissions › blogapi module
- Ensure the user group (authenticated user or the group user belongs) is checked for “administer content with blog api”. save.
- UPDATE: If you like to post videos and images directly from your Scribefire account using the blog API, you shoulb make Full HTML input the default input setting for your site. To do so go to Site configuration › Input Format tab and choose Full HTML as the default input type.
- Open ScribeFire and click on the add account wizard in the right side of the ScribeFire window.
- In the Wizard: click “Manually Configure”, select “Custom Blog”,click “Next”, select “Drupal” blog system type, type in your domain. Enter domain name as(http://mysite.com/xmlrpc.php), click “Next”, enter your username, password, click “Next”, click “Done”.
- That’s it you now can write post using your firefox pluggin and integrate them seamlessly to your blog.
In future article we will also cover the procedure on how to automatically blog on Google Readerliked or shared items using grasemonkey scripts.
References
GraphMind a mindmap on Drupal
Posted August 29, 2009
on:GraphMind, a Freemind style mindmap editor module for Drupal. It could definitely impress some of your clients. Furthermore, client platform is Adobe Flex, which integrates seamlessly with Drupal API. My personal attempts for Flex apps on Drupal were pretty successful I should add.
[via]
Ελληνικά στο tcpdf.
Posted March 30, 2008
on:- In: Drupal | greek encoding
- 1 Comment
Η διαδικασία δεν είναι και τόσο trivial αν και μετά από λίγη ώρα googling κάποιος μπορεί να καταλάβει την λύση στο πρόβλημα. Έχουμε και λέμε θέλουμε Ελληνικά στα pdf που κάνει generate το module pdfview του Drupal. Η ιδέα είανι απλή μιας και με συνδιασμένα queries απο τα view μπορούμε να προσαρμόσουμε την ύλη του πεδίου content, όπως to αντιλαμβάνεται to template engine του drupal και να δημιουργήσουμε εντελώς δυναμικά και πλούσια σε περιεχόμενο pdf documents. Στο μέλλον θα μιλήσω και λίγο για τροποιήση κάνοντας απλά ένα override των function του pdfview, ώστε να δώσουμε το προσωπικό μας στίγμα στο pdf με rich formating και τα απαραίτητα banner του ιστοτόπου μας.
Λοιπόν κατεβάζουμε το pdfview από το επίσημο distro στο drupal.org. Κλασικά το κάνουμε extract στο folder /sites/all/modules και ενεργοπoιούμε το module.
Στη συνέχεια κατεβάζουμε από το project στο sourceforge την έκδοση για php 5 και την κάνουμε gzip στο folder του module μας μέσα σε ένα καινούριο folder με το όνομα tcpdf.
Πηγαίνουμε στο admin/user/access ώστε να δώσουμε access στον συγκεκριμένο ρόλο που θέλουμε να έχει πρόσβαση στο pdf generation link.
Ύστερα κάνουμε update στο ${SITE_ROOT}/sites/all/modules/pdfview/tcpdf/config/tcpdf_config.php file κάνοντας update στο σωστό absolute path τις μεταβλητές
define (“K_PATH_MAIN”, “${SITE_ROOT}/sites/all/modules/pdfview/tcpdf/”);
define (“K_PATH_URL”, “${SITE_ROOT}/sites/all/modules/pdfview/tcpdf/”);
όπου ${SITE_ROOT} είναι το root του installation σας.
Επιπλέον πρέπει να αλ΄λαξετε τα default fonts γιατί έχουν ένα προβληματάκι με τα utf-8 encodings
οπότε αλλάξετε την γραμμή
define (“PDF_FONT_NAME_MAIN”, “vera”);
σε
define (“PDF_FONT_NAME_MAIN”, “freeserif”);
Οκ όλα έτοιμα είστε έτοιμοι να κατεβάσετε τα generated pdf σας. 😉