1. Which of the following items will be checked in when you use the “Global Check-in” function?
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Joomla does not provide the capability to include a podcast.
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Joomla provides an abstracted method called getEscaped() that returns the escaped string regardless of the target database.
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
$user =& JFactory::getUser();
if ($user->authorize(‘com_content’, ‘edit’, ‘content’, ‘all’))
{
//Display notice
} else {
//Display notice
}
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
/components
/com_content
/views
/articles
/tmpl
default.php
form.php
view.html.php
To override the layout for the articles view in a template, what is the correct folder structure?
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
-mod_module1
—mod_module1.php
—mod_module1.xml
—helper.php
—tmpl
—–default.php
How do you overwrite the output of a standard Joomla module?
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
echo $editor->display(‘content’, $this->content, ‘550’, ‘400’, ’60’, ’20’, false);
How do you get the content from the editor (containing line breaks and paragraphs)
Answers:
Answers:
Answers:
This is how the function is registered:
$mainframe->registerEvent(‘onSearch’, ‘plgSearchContent’);
Is it correct?
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Joomla is written in Perl.
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
Answers:
which triggers events in the global event dispatcher, notifying the relevant listeners.
It is a pass-through method for the JEventDispatcher ____ method.
Answers:
Answers:
Answers:
Answers:
- Banner
- Content
- Contact
- Components
- Modules
- Plugins
- Languages
- Menu
Answers:
- The Editor
- The Publisher
- The Manager
- The Administrator
Answers:
- Registered
- Author
- Editor
- Publisher
- Manager
Answers:
- Client
- Category
- Click URL
- Image
Answers:
- menuitem
- helpsites
- checkbox
- imageM
- timezones
- usergroup
Answers:
- PHP Mail Function
- SMTP
- IMAP
- Sendmail program
Answers:
- Back-end Language
- Front-end Language
- User Editor
- Templates
Answers:
- Wait for the system’s approval
- Check email and activate account
- No further step is required. The account is automatically activated.
- It depends on the “User Settings”. The account may be enabled automatically or the user may have to activate it.
Joomla does not provide the capability to include a podcast.
Answers:
- True
- False
Answers:
- A Module is a mini-application that renders the main body of the page.
- A Module is a smaller Extension typically used for rendering a small element that is displayed across multiple pages.
- A Module is a section of the code that runs when a pre-defined event happens within Joomla.
- A Module controls the way the content of a web site is displayed.
Answers:
- Joomla 1.0x extensions work well with Joomla 1.5 by default
- Joomla 1.0x extensions cannot work with Joomla 1.5 by default
- Enable the Legacy mode on the “Global Configuration”
- Enable Legacy plugin
Answers:
- Global Configuration
- Module Manager
Answers:
- JFolder::listFolde
- JFolder::listFolderTree
- JPath::listFolde
- JPath::listFolderTree
Answers:
- Upload files
- Delete files/folders
- Rename files/folders
- Create folders
Answers:
- $this->loadTemplate(‘layout1’);
- $this->loadTemplate(‘example_layout1’);
- $this->loadLayout(‘example_layout1.php’);
- $this->importLayout(‘layout1’);
Answers:
- To create a new task in the class
- To register (map) a task to a method in the class
- To register the default task to perform if a mapping is not found
- To replace a task with another task in the class
Answers:
- JPATH_XML_RPC
- JPATH_XMLRPC
- JPATH_ROOT
- JPATH_BASE
Answers:
- $doc =& JFactory::getDocument(); $doc->addStyleSheet($url);
- $doc =& JFactory::getDocument(); $doc->addStyle($url);
- $doc =& JFactory::getDocument(); $doc->addCSS($url);
Answers:
- In the Control Panel page of Administration -> Click on the “User Manager” icon
- Menu “Tools” -> User Manager
- Menu “Site” -> Global Configuration
- Menu “Site” -> User Manager
Answers:
- JHTML::_media_manager( ‘/’ )
- JToolBarHelper::custom (‘media_manager’)
- JToolBar::media_manager(‘/’)
- JToolBarHelper::media_manager( ‘/’ )
Answers:
- tpl=1
- tpl=component
- tp=1
Answers:
- Index.php
- Template.css
- TemplateDetails.xml
- Banner.fff
Answers:
- configuration.php
- install.php
- httpd.conf
- .htaccess
Answers:
- By using the “Forgot your password?” function.
- Super Administrators can reveal the password.
- The Password is encrypted and cannot be decrypted; thus he can not get back his plain password.
Answers:
- Style in file css/print.css
- Control the output of component.php
- Style for class “.print” inside css/template.css
Joomla provides an abstracted method called getEscaped() that returns the escaped string regardless of the target database.
Answers:
- True
- False
Answers:
- Category -> Section -> Article
- Static content -> Category -> Article
- Section -> Category -> Article
- Section -> Static Content -> Article
Answers:
- Component, Module, Template
- Component, Module, Template, Language
- Component, Module, Template, Language, Plugin
- Component, Module, Template, Language, Plugin, Addon
Answers:
- Twitter, Facebook, MySpace
- Gmail, LDAP
- Yahoo
Answers:
- Set configuration via Global Configuration > Site
- Set configuration via Global Configuration > System
- Set configuration via Global Configuration > Media
Answers:
- True
- False
Answers:
- Top Menu, Main Menu, Other menu, User menu, Resources, Example Pages and Key Concepts
- Top Menu, Main Menu and User menu
- Top Menu, Main Menu and Other menu
- Main Menu, Other menu and User menu
Answers:
- htaccess.php
- htaccess.txt
- htaccess.doc
- None of these
Answers:
- Create a contact item in the Contacts component. Select the contact item in the module Contacts.
- Create a contact item in the Contacts component. Create a menu item pointing to the contact item.
- Declare contact information in the module Contact and publish it.
- Declare contact information for the Administrator user and select it in the module Contact.
Answers:
- For uploading files in the Administration panel
- For uploading files in the Media Management panel
- For managing the file system in the Administration panel
- For handling file system manipulation and enabling Joomla! installers
$user =& JFactory::getUser();
if ($user->authorize(‘com_content’, ‘edit’, ‘content’, ‘all’))
{
//Display notice
} else {
//Display notice
}
Answers:
- Check user’s permission to edit all articles.
- Check user’s permission to view all articles.
- Check user’s permission to edit all articles. If this permission does not exist, the system will set the edit permission for the use.
Answers:
- To get the module by name. It returns an object with information about the module.
- To get the module by module position. It returns an array of objects with information about the module.
Answers:
- The menu and all its items will be deleted out of the system.
- The menu will be marked as deleted and you can delete/restore it from the “Trash Manager”.
- The menu item will be moved to the “Menu Trash”.
Answers:
- To publish news to other news readers
- To get news from other news providers
- To help users submit news/articles
- To help users get news/articles
Answers:
- Microsoft SQL Server
- MySQL
- Microsoft Access
- All of these
Answers:
- Use the $mainframe object to register a function with an event.
- Use the JPlugin class to register a function with an event.
- Extends class JPlugin and overrides the appropriate function with the event.
/components
/com_content
/views
/articles
/tmpl
default.php
form.php
view.html.php
To override the layout for the articles view in a template, what is the correct folder structure?
Answers:
- /templates /[template] /html /com_content /articles default.php form.php
- /templates /[template] /html /com_content /articles /tmpl default.php form.php
Answers:
- Multiple users in system
- A single user in system
- Multiple groups
- A single group
Answers:
- Publisher, Manager, Author, Editor, Administrator, and Super Administrator
- Publisher, Manager, Administrator, and Super Administrator
- Manager, Administrator, and Super Administrator
- Administrator, and Super Administrator
Answers:
- Installer
- Application
- Template
- Database
Answers:
- Section ID
- Category ID
- Section ID and Category ID
- Article ID
Answers:
- Yes
- No
Answers:
- It is the title page of the website.
- The selected content is presented there in blog form.
- Content cannot be selected from the FrontPage from all the contents.
- Individual content items can be sorted within the FrontPage Manager.
Answers:
- …provides methods for managing and manipulating data.
- …generates data for HTML pages.
- …determines user requests (task).
Answers:
- .php
- .svc
- .ini
- .xml
Answers:
- It is an environment for producing and maintaining online communities on Joomla driven sites.
- It is a system that provides user profile capabilities for Joomla sites.
- It is a different registration/login process for Joomla sites(It supports 4 different workflows).
- It is an integrated forum solution for Joomla.
- It is a framework for other Joomla components to integrate with user profiles.
Answers:
- It provides a drop down list of the available menu items from your Joomla site.
- It provides a drop down list of the available menus from your Joomla site.
- It provides a drop down list of the menus from your Joomla site.
Answers:
- Nothing will happen.
- Your site will not function as it has a default menu item.
- Your site will work with the condition that the Top menu and the Other menu remain unchanged.
Answers:
- Create a new module -> Assign the module with an existing position -> open an article and declare with the html code {loadposition position}
- Create a new module -> Assign the module with a new position -> open an article and declare with the html code {loadposition newposition}
- Create a new module -> Assign the module with a new position -> open an article and declare with the html code {load newposition}
- Create a new module -> Assign the module with an existed position -> open an article and declare with the html code {load newposition}
Answers:
- Create a poll item in the component Poll and select the poll in the module Poll.
- Create a poll item in the component Poll and select the option “Show on Frontpage”.
- Create poll in the module Poll.
- Create a poll item in the component Poll. Create a menu item pointing to that poll.
Answers:
- Each password in Joomla is stored as an MD5 hash value.
- It stands for message-digest algorithm 5.
- The length of the number for MD5 is a 128-bit hash code.
- None of these.
Answers:
- Yes
- No
-mod_module1
—mod_module1.php
—mod_module1.xml
—helper.php
—tmpl
—–default.php
How do you overwrite the output of a standard Joomla module?
Answers:
- Overwrite the appropriated style method in the file [template]/html/module.php.
- Overwrite the module layout in the file [template]/html/mod_module1/tmpl/default.php.
- Overwrite the module layout in the file [template]/html/mod_module1/default.php.
- Module output cannot be overwriten in the template.
Answers:
- The Author group allows a user to edit their own content. The Editor can edit any content.
- The Author group allows a user to submit new content. The Editor cannot submit new content.
- The Author group allows a user to edit any content. The Editor can edit only their own content.
Answers:
- Component manager
- Module manager
- Article manager
- None of these
Answers:
- application.php
- defines.php
- framework.php
- All of these
Answers:
- $_MAMBOTS->registerFunction( $event, $handler);
- $globalcontainer->registerEvent( $event, $handler, $params);
- $mainframe->registerEvent( $event, $handler, $params);
- $mainframe->registerEvent( $event, $handler);
Answers:
- $alt = “Upload”; $bar=& JToolBar::getInstance(‘toolbar’); $bar->appendButton(‘Popup’, ‘upload’, $alt, ‘index.php’, 550, 400);
- $alt = “UPload”; $bar=& JToolBar::getInstance(‘upload ); $bar->appendButton(‘Popup’, ‘upload’, $alt, ‘index.php’, 550, 400);
- $alt = “Upload”; $bar=& JToolBar::getInstance(‘toolbar’); $bar->custom(‘Popup’, ‘toolbar’, $alt, ‘index.php’, 550, 400);
Answers:
- Yes
- No
Answers:
- Yes
- No
Answers:
- To check if a module is enabled
- To enable or disable a module
Answers:
- 2 levels
- 5 levels
- 10 levels
- As many levels as you wish
Answers:
- Control Panel –> Click on “Media Manager” icon
- Content menu –> Front page manage
- Click on menu “Site” –> Global Configuration
- Click on menu “Site”–> Media Manage
Answers:
- Administrative events
- Authentication events
- Both administrative and authentication events
- None of these
Answers:
- It introduces security vulnerabilities.
- it prevents the Joomla framework from finalizing certain tasks like database connection and session store.
- It makes database tables crash.
Answers:
- Creating new files
- Adding new files
- Uploading/Deleting files and creating new sub folders
- Managing the system media files
Answers:
- Joomla! will not remove the extension files/folders.
- Joomla! will remove the files/folders declared in the xml file.
- Joomla! will remove all the files/folders inside the extension folder.
- Joomla! will backup all the files/folders of the extension into a package.
Answers:
- Shows the Login form for the users to login
- Shows the Signup form for the users to create new accounts
- Shows the Signup link for the users to create new accounts
- Shows the “Forgot your password” link for the users to reset the password
- Show the “Forgot your username” link for the users to get back the username
Answers:
- In .php file:Jtext::sprintf(‘KEY_STRING’,1,2,3); In language file (.ini): KEY_STRING=First %d, second %d, third %d
- In .php file:Jtext::sprintf(‘KEY_STRING’,1,2,3); In language file (.ini): KEY_STRING=First %f, second %f, third %f
- In .php file:Jtext::_(‘KEY_STRING’,1,2,3); In language file (.ini): KEY_STRING=First %d, second %d, third %d
- In .php file:Jtext::_(‘KEY_STRING’,1,2,3); In language file (.ini): KEY_STRING=First %f, second %f, third %f
Answers:
- To access the template from within by using code;
- To debug style sheets;
- To provide information and allow selection of the template within the template manager;
- All of these.
Answers:
- Super Administrator
- Administrator
- Manager
- System
Answers:
- CHM (compiled HTML)
- XML
- All of these.
echo $editor->display(‘content’, $this->content, ‘550’, ‘400’, ’60’, ’20’, false);
How do you get the content from the editor (containing line breaks and paragraphs)
Answers:
- $content = JRequest::getVar(‘content’, ”, ‘post’, ‘string’, JREQUEST_ALLOWRAW);
- $content = JRequest::getText(‘content’, ”);
- $content = $editor->getContent(‘content’);
- $content = JRequest::get(‘content’);
Answers:
- global $mainframe; $mainframe->addCustomHeadTag( ‘ <script type=”text/javascript”>alert(123);</script>’);
- JDocumentHTML::addCustomTag( ‘ <script type=”text/javascript”>alert(123);</script>’ );
- $doc =& JFactory::getDocument(); $doc->addCustomTag( ‘ <script type=”text/javascript”>alert(123);</script>’ );
- JHTML:_(‘script’,'<script type=”text/javascript”>alert(123);</script>’ );
Answers:
- JFile::copyTo($src, $dest)
- JFile::copy($src, $dest)
- JFile::move($src, $dest)
- Jfile->copy($src, $dest)
This is how the function is registered:
$mainframe->registerEvent(‘onSearch’, ‘plgSearchContent’);
Is it correct?
Answers:
- True
- False
Answers:
- A string which is a part of a URL address.
- An array of segments where each segment is separated by a ‘/’ which is combined to create the actual link (the items in the array should not contain ‘/’ character).
- A name => value array of the querystring variables that the link maps to.
Answers:
- MySQL
- MySQLi
- PostgreSQL
- IBM DB2
- Microsoft SQL Server
- Oracle RDBMS
Answers:
- JPluginHelper::importPlugin(‘content’);
- JApplication::importPlugin(‘content’);
- JPluginHelper::loadPlugin(‘content’);
Answers:
- It contains the basic authorship information.<>/span<
- It contains information about the files that make up the template.
- It contains information about the parameters that will be available for configuration through the administrator interface.
- All of these.
Answers:
- Fireboard
- VirtueMart
- Docman
- All of the above
Answers:
- zlib.output_compression
- zlib.output_handler
- extension_dir
- expose_php
Answers:
- OnDisplay
- OnSave
- OnGetInsertMethod
- OnAfterInitialise
Answers:
- The media file will be deleted.
- The media file will be moved to the Trash folder.
- The item will be marked as deleted and the file will be moved to the Trash folder.
Answers:
- It retrieves the body of the response that will be sent to the browser. The body of the response is then searched for links containing “/index.php…” and replaces them with a correct SEF url by calling JRoute::_(url).
- The body of the response will replace links containing “/index.php…” with a correct SEF url by calling JRoute::_(url).
- The body of the response will search links containing “/index.php…” and return an array to be used for the next command.
Answers:
- Module chrome allows template designers to have a certain amount of control over the way the output from a Module is displayed in their template.
- Module chrome provides a method to return the output HTML of the module.
- Module chrome provides a method to return the path to the layout file for the module.
- Module chrome support a method to return an stdClass object containing information about the module requested.
Answers:
- Upload the Package File
- Install from the Directory
- Install from the File
- Install from the URL
Joomla is written in Perl.
Answers:
- True
- False
Answers:
- Login
- Community builder
- Polling
- Search
Answers:
- Internal Link
- External Link
- Separator
- Alias
Answers:
- Create the Content Element XML file for Joomfish for the custom extension and place it to components/com_joomfish/contentelements.
- Create the Content Element XML file for Joomfish for the custom extension and place it to administrator/components/com_joomfish/contentelements.
- Declare the Joomfish inside the custom component xml file.
- In Joomfish Configuration, add and declare additional information for the custom component.
Answers:
- Online user names
- The number of guests online
- The number of members online
- The most active members
Answers:
- .htaccess
- my.ini
- configuration.php
- config.inc.php
Answers:
- Go to “Menus->Menu Trash”, select the menu item and click “Restore”
- Go to “Site->Trash Manager”, select the menu item and click “Restore”
- Go to “Tools->Trash Manager”, select the menu item and click “Restore”
Answers:
- Registered, Manager, Author, Editor, and Publisher
- Registered, Author, Editor, and Publisher
- Registered, Editor, and Publisher
- Registered and Publisher
Answers:
- Articles from any section and category
- Articles restricted to just a few sections and categories
- Only static item contents
Answers:
- JObject
- Object
- JoomlaObject
- JoomlaGenericObject
Answers:
- Yes. The structure menus depend on the 3-tier organization level.
- No. Your site can have any menu level.
Answers:
- Fireboard
- Community Builder
- Docman
- Joom!Fish
which triggers events in the global event dispatcher, notifying the relevant listeners.
It is a pass-through method for the JEventDispatcher ____ method.
Answers:
- triggerEvent()/trigger()
- egisterEvent()/register()
- triggerEvent()/register()
Answers:
- Abstract Factory Pattern
- Singleton Pattern
- Builder Pattern
- All of these
Answers:
- $model = JRequest::getModel(‘register’)
- $model = getModel(‘register’)
- $model = $this->getModel(‘register’)
- $Model = JModel::getModel(‘register’)
No comments:
Post a Comment