You are currently browsing the tag archive for the ‘Drupal’ tag.

I like the simplicity of this editor, and to make it short, here’s what I did to control which text areas or page to show especially on the admin side–creating an article. I use the Display Suite module on managing the fields, and display. Here’s the draft:

A sample of a custom content type.

A sample of a custom content type.

After enabling…OK, so the BUEditor appears on the text areas I don’t want. The nice thing is, there’s an option in the BUEditor to control the visibility settings.

2firebugdisplay

I use Firefox plugin’s Firebug to see where the textarea, then copied the field.

3fixedsetting

Then to the Administration > Configuration > Content authoring > BUEditor > Visibility settings, I added where to show and hide the editor.

4fixed

That’s it!

Using the Taxonomy (Tag) and Relevant Content Module 7.x-1.x-dev, I encountered this error as I’m developing a website made of Drupal 7.

Error produced when a Relevant module display an empty Tag on Term Reference field.

The bug is after I deleted/emptied the tag/term, and the label of the Relevant Content doesn’t go away.

* Notice: Undefined index: title in relevant_content_field_formatter_view() (line 629 of /myserver/sites/all/modules/relevant_content/relevant_content.module).
* Notice: Undefined index: nid in relevant_content_field_formatter_view() (line 629 of /myserver/sites/all/modules/relevant_content/relevant_content.module).

To fix the bug, open the relevant_content.module and check line 629…

// Loop over all the items and create the field output
foreach ($items as $item) {
// Depending on the type, render a field
switch ($item_style) {
default:
case 'default' :
$result = l($item['title'], 'node/' . $item['nid']); //This line
break;

case 'plain' :
$result = check_plain($item['title']);
break;

case 'teaser' :
case 'full' :

For a quick fix, insert this code after the case ‘default’:
if (empty($item)) return;

// Loop over all the items and create the field output
foreach ($items as $item) {
// Depending on the type, render a field
switch ($item_style) {
default:
case 'default' :
if (empty($item)) return; // added additional code here
$result = l($item['title'], 'node/' . $item['nid']);
break;

case 'plain' :
$result = check_plain($item['title']);
break;

The error’s gone, but I rather submit this issue to the module developer for future use.

I saw this site googling around the web. http://pili.pin.as/translations/. Good for open source community especially for Filipinos who are eager to get their hands on this web application.

I think some translations are not appropriate from the root words of Tagalog as in the counterpart of English language. Let’s say the word ‘account,’ translated to ‘akawnt.’ I think (to my knowledge) it should be ‘talaan.’ I also notice some grammatical errors using the words in Tagalog sentence. I know because I was born using this language.

Anyway, thanks to the author of this site for propagating the Filipino language in Drupal community.

Teaser’s thumbnail and main image at full node are the default features using the ‘image module‘ function of Drupal.

Here’s a quick way if you’re in a hurry and don’t want to install other modules such as CCK, Imagecache, Imagefield, Imageapi, etc.. and creating fields at ‘Content Type’, creates presets at Imagecache and so on…
Read the rest of this entry »

Try to test your new modules? Themes? If I want my Drupal site back to my own computer, I use phpMyAdmin to save Sql file, then copy the whole folder or just use back-up button at your Web’s Control Panel. Read the rest of this entry »

August 2017
S M T W T F S
« May    
 12345
6789101112
13141516171819
20212223242526
2728293031  

Blog Stats

  • 73,139 hits