Jquery

How to Enable Pagination in RSS feed with Drupal 6

Hello folks

I know is a weird request, but today I received a request from a client to enable pagination and items per page in RSS feed in Drupal 6, this feature is not available by default :s.

So I resolved this request using Views Hook views_pre_execute, check the code listed below

Language Vine

languagevine.png

Languagevine.com is a website dedicated to learning different languages with a twist. Anexusit had a mission, create a website to make users stay and decide to pay in order to access even more content.

Languagevine was a great project that presented challenges and features such as multi language, media content such as videos, sound and pictures as well as interactive games to lead the user to gain credit point while learning the language of their preference.

Patch to fix term edition in Taxonomy Manager module for Drupal 6

Taxonomy Manager.png

Hello folks.

We have developed a patch in order to disable the use of ajax when you save a term on taxonomy manager module, it seems that is a problem with the form action url when you use ajax.

The problem is that the form action URL is admin/content/taxonomy_manager/voc/VID and after the click the  term, it's never changes. Applying the patch attached on the post, the browser url will change automatically to  admin/content/taxonomy_manager/voc/VID/TID.

AttachmentSize
taxonomy_manager-[issue-number].txt1.69 KB

Views Exposed Filters With a Reset Button

views-filters-reset.png

Hi folks

Views modules is maybe one of the most powerful module on drupal, and when we create exposed filters in order to help the end user find any result it is even better, however if the user wants to reset a search, either he needs to click back on the web browser or go to the url again.

There is an easy way to create a reset button in just a few lines of code.

 

1. Enable preprocess function for exposed filters in views

How to enable Close button in popups for Drupal 6

Hello folks

If you want to create popups for Drupal using modules Popup and Popup filter to render elements like Nodes or Webforms, you will find a big problem: How to enable a close button. because the documentation doesn't provide this information, below you can find a solution for it.

Here an example for render a node using popup filter

Check for Login Status in Javascript for Drupal

Hello folks.

By default in Drupal 6 you don't have the option to check the login status in JavaScript, if you need this functionality include it in your template file i.e page.tpl.php the following code

<?php
global $user;
echo '<script type="text/javascript">';
echo 'var logged_in = ' . ($user->uid)?'true':'false';
echo '</script>';
?>

Now you can use in your JavaScripts the variable logged_in to check user login status

Enjoy It

enzo

Problems with pager and ajax request for Drupal Module Dynamic display block

Hello folks

I found a problem with the pager of module Dynamic display block , because I was using a custom implementation of module Dialog and after any ajax call the pager is regenerated and appends to the current pager.

Please check the attached path to jquery.cycle.all.min.js

The change was

OLD Version

AttachmentSize
jquery.cycle_.all_.min_.js_.txt26.3 KB

Drupal: How to Enable Active Trail with Nice Menus

As you maybe know Nice Menus is one of the top ten modules in Drupal, because we can enable a js menu with sub levels.

The problem I found at least until now is nice menus doesn't implement by default the active trail classes used to highlight a menu or section.

If you as me needs this functionality just copy these functions to your template.php file in your theme and clean the cache, after that select a menu and you will see new active-trails css classes. CSS classes to highlight menu aren't included.

ABC Twiggles

ABC Twiggles

The ABC Twiggles website offers a research-based curriculum with an engaging blend of technology, literature, and instructional teacher support.

Terrible Choices

Terrible Choices

The world is faced with choices everyday, but most of them are relatively easy. But what about the tough decisions... right or wrong, life or death.  Terrible Choices wants to know how the normal person reacts to horrible scenarios and the why they make the decision that they make. Often funny, and sometimes a bit over the top, terrible choices is an addicting website.

Project tasks:

  • Drupal Configuration
  • Drupal Theme


 

Syndicate content