Skip to main content

Posts

Showing posts with the label Joomla

Creating Joomla Component Submenus

Simply we can add joomla component sub menu using component installation xml file. For that you need to include fallowing xml elements in your xml file inside com installation zip file. Main Menu Name/Component Name Menu Item 1 Menu Item 2 Menu Item 3 Menu Item 4 Menu Item 5 if some one need to add additional sub menus when already installed component you can add those using simple direct DB insert operation. Steps: 1. Go to the joomla database. 2. Select "DBfrefix_components" table. 3. Get component id by doing some search for "name" column and select its "id". 4. Now add your desired sub menu as fallow. INSERT INTO `jos_components` (`id`, `name`, `link`, `menuid`, `parent`, `admin_menu_link`, `admin_menu_alt`, `option`, `ordering`, `admin_menu_img`, `iscore`, `params`, `enabled`) VALUES (1, 'Main Menu Name/Component Name', 'option=com_componentname' , 0, 0,'option= com_componentname', 'Main Menu Name/Component Name', ...

Hacking joomla core (categorize joomla modules under assigned menu)

Most of the time we have to face many difficulties search specific joomla modules that assigned to specific menu item. Currently (joomla 1.5x) joomla provide categorization of modules under fallowing four way According to template According to Position According to Type According to State My new modification will add another categorization for module as According to assigned menu. This is simple add stride forward. Step 01: Go to administrator\components\com_modules\toolbar.modules.html.php and past as fallow Existing one (line 49) echo $lists['assigned']; echo $lists['position']; echo $lists['type']; echo $lists['state']; After modified echo $lists['assigned']; echo $lists['position']; echo $lists['type']; echo $lists['state']; echo $lists['menu']; Step 02: Go to administrator\components\com_modules\toolbar.modules.html.php and add fallowing(After line: 6...

Simpale AJAX Shout out box for joomla

If we google as "joomla shout out box" we can get multiple results specific to joomla as show form fallowing link. http://extensions.joomla.org/extensions/communication/shoutbox Other than using above extensions we can implement our own shout out box with fallowing features. Adding our recently entered shout out for waiting shout out list. Normally as a normal users, they may entered deferent type of shout outs with out caring. That type of situation we need a human monitoring system to monitor shout outs. Display recently added shout outs in the side of admin through the separate admin panel. In this type of application admin should has a facility to monitor the shout outs and accept or cancel that shout out easily real time. Adding accepted shout outs to shout list for display all users and remove form waiting list. Identify accepted shout out and rejected shout out easily for users. If there is a restriction like one user can add limited number of shout outs, available nu...

Hide joomla article short inroduction text from article view

When I first time faced this problem I am really confused how can I hide article intro text form article view. Most of the time inside the intro text we position small images and fonts to maintain blog layout. But after clicking more information link we need to show article image and fonts as normal. So hiding intro text from full article view is must. In joomla we can do this easily. Only thing we need to do as fallows. Content -> article manager -> [Select a article] -> Parameters(Advanced) -> select hide intro Other than that there are more configurations to change article view here. Therefor without changing the coding we can easily change the article layout view

Understanding Joomla URLs and Itemids

One of the most? frequently asked questions on the Joomla forums is "What is the Itemid and what does it do?". Its something that frustrates even experienced developers ... witness the post called " Damn you, infernal item IDs!!! " on WhyJoomla.com . I thought a quick tutorial would be useful and along the way we can break down other aspects of Joomla URLs. An Example Joomla URL and Itemid Let's use a news item called "Joomla Weekly News Magazine Issue 10" written by Brian Teeman. If you navigate to this news item via Joomla.org, you can see this URL in the browser bar: http://www.joomla.org/content/view/2985/33/ You see this because inside the administrator section of Joomla.org, Search Engine Friendly URLs have been turned on (Site => Global Configuration => SEO => Search Engine Friendly URLs = Yes) . Its a shorter version of the real URL produced by Joomla: http://joomla.org/index.php?option=com_content&task=view&id=2985&Itemid...