Category Archives: Joomla

Show bangla date in joomla1.5

Hello, this is my another work for bangla computing. I just made a small plugin to show english date in bengali in joomla1.5. Please don’t think that it will show bangla date everywhere in joomla. This plugin is just for the component com_content which shows the content/article. I gave name for this plugin is Bangla(bn-bd) date or Joomla Bangla date. This will show article create and modification date in our local language bengali. Here is screenshot for backend.

Idea52 LAB - Administration_1257927094816

To make this plugin flexible, I tried to give so many options to configure for your joomla site to show dates in bangla. You can use this plugin as multi lingual mode easily as it has some advanced features like detect language or force to show bangla date. Even you can filter or configure for home page(front page or com_frontpage), full article mode, category filtering etc. Please check my post in post in amaderprojukti forum for details in bengali.

Continue reading

Posted in Bangla Computing, Joomla, Joomla Extention | Tagged , , | 20 Comments

RSS news ticker using jquery and Slick RSS module in joomla

newstickerLet me clear first about what is Slick RSS

Slick RSS is a joomla module that Parse and Display RSS Feed News with DHTML Teaser Tooltip. For details pls visit this link.

ok , let me tell what I am going to do next. That module is great to show rss feed from another site and I want to use it as a news ticker and it can be named as rss news ticker. ok then let’s make it done.

I am going to use js library jQuery and it’s plugin BBCNewsTicker. Please download latest version of jquery and that plugin this the given link.

Now, install the module Slick RSS in your joomla site and publish in any module position. Now I am going to make little change in the module code so that it can be configured for newsticker.

open the file default.php from modules\mod_slick_rss\tmpl and check link near 39

Continue reading

Posted in Java script, Joomla, Joomla Extention, jquery, Rss, Tips and Tricks | Tagged , , | 3 Comments

জুমলার ডিফল্ট টেমপ্লেটে পেজিনেশনে ডিজিট কিভাবে বাংলা করবেন ?

আমি ব্যক্তিগত ভাবে যা করি যখন জুমলার জন্য কোন নতুন টেমপ্লেট বানায় তখন ডিফল্ট টেমপ্লেট rhuk_milkyway কপি করে নতুন নাম দিয়ে অপ্রয়োজনীয় ছবি, সিএসএস কোড ইত্যাদি সব মুছে ফেলি। এরপর নিজের মতো করে কোড করি সব কিছু। একথা বলার কারণ এইটা যে আমরা যদি ডিফল্ট টেমপ্লেট ব্যবহার করি তাহলে একটা ফাইলে সামান্য কিছু কোড যুক্ত করেই পেজিনেশনের ডিজিটগুলো বাংলা করে ফেলতে পারি।

এখন দেখি কি করে করা যায়। যদি ভালো করে খেয়াল করেন তাহলে নিশ্চয় templates\rhuk_milkyway\html এই ডিরেক্টরীতে pagination.php নামে একটা ফাইল আছে। এই ফাইলটা প্রথমে utf-8 হিসাবে সংরক্ষণ(save) করুন। এরপর
ফাইলের একদম শেষে ?> এর আগে নিচের কোড কপি পেস্ট করুন। Continue reading

Posted in Bangla Blogs, Joomla, Tips and Tricks | Tagged , | 7 Comments

Tinybn for jce as a joomla plugin

Dear Friends,

I know there is no update on tinybn for many days and it has so many bugs but I am not gone yet ! heh heh. I think who are very familiar with joomla and it’s content editor tinymce, are also familiar with jce(joomla content editor), a joomla conent editor based on tinymce with lots of feature. You can get jce here. Please check their donwload section to download the jce component and jce plugin/mambot(editor).

hmm, please don’t get sleep … I just made a plugin for jce to use my tinybn plugin directly in jce. No manuall install needed , I mean editing files to work with default tinymce.
So , here is the download file of tinybn for jce.

Download

  Tinybn JCE Editor (12.1 KiB, 4,847 hits)

How to install

1. Install jce component (that will help you to modify or control jce editor and install new plugin and much more)
2. Install jce plugin
3. Now install tinybn plugin for jce. Go to Administrator-> Components-> JCE Administrations-> Install (see screenshot bellow)
4. Now browser the downloaded zip file and install it.

tinybnjce1

that’s it.
Install finish :) . Ok now go to article manager and try to open/write any new article. I think you are intelligent enough to make your editor default to jce or even disabled tinymce from plugins. If jce is your current editor and you have install the tinybn for jce according to instruction then you should see like bellow. Select keyboard and type in diff bengali layout.

tinybnjce2

mu ha ha…waiting for your feedback.

Posted in Java script, Joomla, Joomla Extention | Tagged , , , , | 9 Comments

My last 4/5 months project updates

It’s many days I didn’t write any thing here. I am not lost yet ! heh heh really I am not lost. Within last 4/5 months I did lots of projects. I said in many place that I started my professional career in jan 2008 and then it was hampered by so many things. I back to work again 4/5 months ago and now working as a full time freelancer at home. Yes I like to work with full freedom though working from home has some bad sides. Let me introduce you with some of my last 4/5 months projects. Hei ! I am really and here every thing is in brief.

ISLAM TRIBUNE_1248087112584Time.com clone (look and feel) using wordpress: Though time.com changes their layout frequently, I made a clone of it’s interface using wordpress, I mean the theme of wordpress. Here is snapshot of that. Oh yes, at first I made it red as time.com and then changed the red color to greenish. It’s for islamtribune.com.

BBC NEWS_1248108686378
BCC.co.uk clone using wordpress: I mentioned in another post that I made a theme for wordpress with same look and feel of bbc.co.uk. It’s front page is like bbc.co.uk and innner pages are like news.bbc.co.uk . sexy na ? heh heh.. wana see demo. check here. Here is screenshot.

secondbillysecondbilly.com clone of mobile.de: A german site for furniture market. It’s using  joomla and market place component , though it’s customized too much. The main marketplace component is customized as needed and some custom modules are developed to give support to the component in front end. It’s in german language :) Visit the site from here(http://www.secondbilly.com/).

Will update mores in another post :)

Posted in Joomla, Projects | Tagged , , | 8 Comments

Problem in IE for simple_video_flash_player (Joomla module)

I think JW Player(flash player) by longtailvideo.com is well known to u all. There are so many extension for joomla, wordpress, drupal and other cms using this tool. Simple_video_flash_player is a joomla module to show flash and other videos. Today I used it with one of project. But after checking in ie6 I was tempered becuase it was showing a js error in ie and the modules config file I meant he xml file has not param to show module class suffix which is very important to style module using css. I searched google and got so many solution. Here is my code that helped to solve this issue in ie6.
Continue reading

Posted in Joomla, Joomla Extention | Tagged | 1 Comment

Page title and pathway problem for rsgallery2

I always like to share web related silly problems that I face in my works.
If u are a joomla fan and u like to make a image gallery in joomla then rsgallery2 can be ur better(to me it’s best) choise. But one thing that I faced in joomla1.5(don’t know about the condition in joomla1.x series) about rsgallery2 is it’s title and pathway problem when it’s just connected as component from menu I mean just when u go to rsgallery2 as from menu as a component it doesn’t show any breadcrumb(pathway) and pagetitle

I searched google and joomla forum for this but didn’t get much help actually. BTW, at this time the rsgallery2 site is down for maintenance. So I gave a try to fix this as I always do.

At first let me clear about the problem. When first time u will go to rsgallery2 as component, in this condition no gallery is selected and no items in any gallery ie, no gallery id or current gallery is as no gallery id

Not clear yet, check the code in com_rsgallery2\templates\meta\display.class.php and in function showRSPathWay()…To get it clearly u have to check this function dear

see this
if ( $gallery->id == $currentGallery && empty($item) )

this is true when just go to rsgallery2 because no items and both the gallery id is null and currentgallery id is null and
as it’s true the code is executed as $pathway->addItem($gallery->name );
but as gallery id is null then it’s doesn’t show any gallery name… isn’t it a bug huh ? that means pathway fails to show any thing for this condition and same problem in
function metadata() which shows the pagetitle for rsgallery2 and meta information.

Here is the code that I edited for those two functions


/**     * shows proper Joomla path     */
function showRSPathWay() {
		global $mainframe, $mosConfig_live_site, $Itemid, $option;
		// if rsg2 isn't the component being displayed, don't show pathway
		if( $option != 'com_rsgallery2' )	return;

		$gallery = rsgInstance::getGallery();
		$currentGallery = $gallery->id;
		$item = rsgInstance::getItem();
		$galleries = array();
		$galleries[] = $gallery;
		while ( $gallery->parent != 0) {
			$gallery = $gallery->parent();
			$galleries[] = $gallery;
		}
		$galleries = array_reverse($galleries);
		if( defined( 'J15B_EXEC' ) )
		{
			// J1.0 method
			foreach( $galleries as $gallery )
			{
				if ( $gallery->id == $currentGallery && empty($item) )
				{
					$mainframe->appendPathWay($gallery->name);
				} else {
					$mainframe->appendPathWay('<a href="' . JRoute::_('index.php?option=com_rsgallery2&amp;Itemid='.$Itemid.'&amp;gid=' . $gallery->id) . '">' . $gallery->name . '</a>');
				}
			}
			if (!empty($item)) {
					$mainframe->appendPathWay( $item->title );
			}
		}
		else
		{
			// J1.5 method
			$pathway =&amp; $mainframe->getPathway();

			/*Edit start by manchumahara*/
			$document	=&amp; JFactory::getDocument();
			$params = &amp;$mainframe->getParams();
			$menus	= &amp;JSite::getMenu();
			$menu	= $menus->getActive();
			$pagetitle = '';
			if (is_object( $menu ))
			{
				$menu_params = new JParameter( $menu->params );
				if (!$menu_params->get( 'page_title'))
				{
					$pagetitle = JText::_('MRSGALLERYTITLE');
					//loading it from language file
				}
				else $pagetitle =$menu_params->get( 'page_title');
			}
			else
			{
				$pagetitle = JText::_('MRSGALLERYTITLE');
				//loading it from language file
			}
			//$pagetitle = $mainframe->getPageTitle();
			foreach( $galleries as $gallery )
			{
				if ( $gallery->id == $currentGallery &amp;&amp; empty($item) )
				{
					if($gallery->id== 0){
						//gallery id zero and no items ie, if menu is link to component directly
						$pathway->addItem($pagetitle);
					}
					else
					{
						//gallery id not zero,ie gid id ok but no items in this gallery
						$pathway->addItem($gallery->name );
					}
				} else
				{
					$link = 'index.php?option=com_rsgallery2&amp;gid=' . $gallery->id;
					$pathway->addItem( $gallery->name, $link );
				}
			}
			/*Edit end by manchumahara*/

			/*Edit start by manchumahara*/
			if (!empty($item)) {
				$mainframe->appendPathWay($item->title );
				//$mainframe->appendPathWay( $title );
			}
			else {$mainframe->appendPathWay($pagetitle);}
			/*Edit end by manchumahara*/
		}
	}
	/**	 * insert meta data into head	 */
	function metadata(){
		global $mainframe, $option;
		// if rsg2 isn't the component being displayed, don not append meta data
		if( $option != 'com_rsgallery2' )
			return;		/*Edit by manchumahara*/
		$document	=&amp; JFactory::getDocument();
		$params = &amp;$mainframe->getParams();
		$menus	= &amp;JSite::getMenu();
		$menu	= $menus->getActive();
		$pagetitle = '';
		if (is_object( $menu )) {
			$menu_params = new JParameter( $menu->params );
			if (!$menu_params->get( 'page_title')) {
				$pagetitle = JText::_('MRSGALLERYTITLE');
				//loading it from language file
			}
			else $pagetitle =$menu_params->get( 'page_title');
		}
		else
		{
			$pagetitle = JText::_('MRSGALLERYTITLE');
			//loading it from language file
		}

		/*Edit start by manchumahara*/
		$title = $this->gallery->get('name');
		$description = htmlspecialchars(strip_tags($this->gallery->get('description')), ENT_QUOTES );
		$item = rsgInstance::getItem();
		if ($item != null){
			$title .= ' - ' . $item->title;
			$description .= ' -  ' . htmlspecialchars(strip_tags($item->descr), ENT_QUOTES );
		}

		/*Edit end by manchumahara*/

		if($title == ''){ $title = $pagetitle;}

		/*Edit start by manchumahara*/
		$mainframe->setPageTitle( ' '. $title );
		$mainframe->appendMetaTag( 'description',  $description );
	}

BTW, as if there is nothig set as pagetitle from menu then I showed it from language file and for this I made an entry in language file as like this. Open en-GB.ini file and put this line at the end
MRSGALLERYTITLE = RSGallery2

Posted in Joomla | Tagged | 2 Comments

জুমলা ১.৫.৮ ভার্সনে কন্টেন্টে ডিফল্ট html ট্যাগ ফিল্টার

জুমলা ১.৫.৮ ভার্সনে কন্টেন্টে ডিফল্ট কিছু স্পেসিফিক html ট্যাগ ফিল্টার এর ব্যবস্থা করা হয়েছে সিকিউরিটি ইস্যু চিন্তা করে। এক্ষেত্রে html ট্যাগ সমূহকে তিন ক্যাটাগরীতে ভাগ করা হয়েছে। ব্লাকলিস্ট(Blacklist), হোয়াইট লিস্ট(Whitelist) এবং নো এইচটিএমএল(No Html)। ডিফল্ট হিসাবে ব্লাকলিস্ট সিলেক্ট করা থাকে। অর্থাৎ নির্দিষ্ট কিছু html ট্যাগ ছাড়া আর কিছু ব্যবহার করা যাবে না। সুপার এডমিন চাইলে ফ্রন্ট এন্ড এবং ব্যাক এন্ডের জন্য বিভিন্ন ইউজার গ্রুপ এর ভেতর আলাদা ভাবে এই ফিল্টার অপশন সেট করে দিতে পারেন।

আমি আজ জুমলাতে ফ্লাশ এড করতে গিয়ে বুঝতে পারলাম object ট্যাগ টা ফিল্টার করে দিচ্ছে এবং গুগল করেই জুমলার উইকিতে পেয়ে গেলাম সমস্যার কারণ। এই ডিফল্ট ফিল্টার কিভাবে সম্পাদনা করবেন তা নিচের লিঙ্কে বিস্তারিত পাবেন। আশা করি আমার মতো যারা এই সমস্যায় পড়েছেন বা পড়বেন তাদের জন্য উপকার হবে। কারণ মাঝে মাঝে এই ধরনের ছোট খাট সমস্যায় পড়ে অনেকেই মাথার চুল ছিড়ে ফেলেন। জুমলার ডিফল্ট tinymce editor এর থেকে যদি JCE এডিটর ব্যবহার করেন তাহলে কন্টেন্টে এডিটে অনেক অপশন পাবেন। জুমলার ব্যাপারে একটা জিনিস সব সময় মাথায় রাখি তা হল করা যায় না এমন কিছু নাই(অবশ্যই লিমিট আছে :P ) জুমলাতে তবে তা খুঁজে নিতে হবে। Continue reading

Posted in Bangla Blogs, Joomla | Tagged , | 1 Comment

জুমলা টিউটোরিয়াল-২ (সেকশন, ক্যাটাগরী ও আর্টিকেল)

নোটঃ এই টিউটোরিয়ালটি তাদের জন্য যারা নিজে থেকে জুমলা ইনস্টল করতে জানেন এবং জুমলার এডমিন প্যানেলে লগিন করতে পারেন।
জুমলা কাস্টমাইজেশনের (টেমপ্লেট ডিজাইন, মডুল ও কম্পোনেন্ট তৈরি) আগে ভালো করে জেনে নেওয়া উচিৎ এর সাধারণ গঠন। অর্থাৎ কোন কাস্টমাইজেশন ছাড়াই কিভাবে ডাউনলোড করা টেমপ্লেট, মডুল ও কম্পোনেন্ট দিয়ে কাজ সেরে ফেলা যায়।

আপনি যদি এডমিন প্যানেলে প্রবেশ করেন তাহলে নিচের মতো একটি ছবি দেখতে পারবেন।
ছবি
আমি আস্তে আস্তে সব কিছু নিয়ে বিস্তারিত আলোচনা করবো। মাঝে মাঝে মনে হতে পারে কথা গুলো বিচ্ছিন্ন কিন্তু কিছুদূর যাবার পরে যখন একটার সাথে আরো একটা মিল খুঁজে পাবেন তখন আবার হয়তো ট্রাকে ফিরে আসবেন। Continue reading

Posted in Bangla Blogs, Joomla | Tagged , , , | Leave a comment

Component listing module for joomla admin panel

Somedays ago I wrote a joomla module to list all the component in admin panel. Here I am sharing this with you and hope this will help you.

Here is little info about the module:

Name: Component Listing module
Type:  Admin panel
Joomla Version: 1.5.x
Description: This module displays the list of all installed components in admin panel home page for quick access and list viewing.
Author: Sabuj Kundu aka Manchumahara
License: GPL2
Download:

  mod_manchucomlist.zip (4.4 KiB, 2,575 hits)


Joomla Extension Directory: Check this link
How to install: Download the zip file name mod_manchucomlist.zip and install like any other modules. Now go to module manager and click the administrator tab. Find the module named Component listing and publish it in “cpanel” position. That’s it.

Free Image Hosting at www.ImageShack.us

লেখাটি আমাদের প্রযুক্তি ফোরামে বাংলায়  এখানে দেখুন।

Posted in Joomla | Tagged , | 5 Comments