Joomla 3 - Use Box Plus outside of article content - joomla

I would like to use the boxplus-lightbox extension for Joomla (http://extensions.joomla.org/extensions/multimedia/multimedia-display/16555). Unfortunately, it can only be used in articles as far as I can see. Do you know if there's any chance to activate it outside of articles, e.g. in a module?
Thanks in advance,
enne

Its has a plugin feature - {boxplus}Link text{/boxplus}
So:
Try inserting it as a custom html module - {boxplus}Link text{/boxplus}
Alternatively use the article anywhere plugin: http://www.nonumber.nl/extensions/articlesanywhere - which enables you to insert articles into modules.
Or another ARTICLES EMBED extension:
http://extensions.joomla.org/extensions/news-display/articles-display/content-embed
I just created it using a custom module.
Using Custom HTML Module
In J3.1:
Go to: "Extensions > Module Manager"
Click "New"
Choose "Custom HTML"
Select Module Position
Under "Options" Tab: "Prepare Content" -> make sure it is Yes
Under "Custom" Tab paste:
{boxplus theme=lightsquare href=images/joomla_black.gif}Link text{/boxplus}
Save
Refresh page - if it shows only text then check step 5

Related

How to only show module in joomla

I have a problem linking from a menu item to a module that I want to show. The problem is that the module does not have a custom item showing in the Menu item selection.
This means I end up having to link to an article. But that will show a lot of unwanted information like headers and other stuff from the single article.
How can I avoid that?
The options
1. link directly to the facebook module I wan to show with no article
2. Hide all information from the "single article"
If you want disable all information form article you can go to your article you want modify and go to Options tab.
Here you can hide all information
You can add directly module on your article with:
{loadposition myposition}
myposition is the position module that you have selected in module creation.
You can add a position who not use by other module.

How to attach ItemID to joomla footermenu

I am don't know joomla, but familiar with wordpress & PHP & wants to change some links in my clients existing project.
I have a menu which is a link like http://www.smarti.com.sa/index.php?option=com_content&view=article&id=6&Itemid=107 while calling it from top navigation menu.
developer has taken same link in footer but it redirects to
http://www.smarti.com.sa/index.php?option=com_content&view=article&id=6
Now i want ItemID in footer link also.
My Site URL is http://www.smarti.com.sa/
In that please Products > Microsoft.
Please give solution
As per your post, Your menu link for now is : http://www.smarti.com.sa/index.php?option=com_content&view=article&id=6 .
But, you want to use this like : http://www.smarti.com.sa/index.php/your_menu_name.
You can use aliases of menu links.
You can find aliases here, When you create/edit a menu link from backend of joomla you can see an alias associated with it. You can also find Aliases of menu link from grid screen of you menu type.
For showing Menu in front end you have to create CUSTOM HTML module, You can find how to create Custom HTML module here : http://vinaora.com/2012/09/how-to-add-custom-html-to-your-joomla-site-2/
Now, How can you find HTML to write in thst Custom HTML Module? So, for this you can go the page of front-end where that menu is visible. Now prss CTRL+U, you will see the HTML of that page. Here, you have to find the HTML of those menus.
In this HTML, you will find the links like : index.php?option=com_content&view=article&id=6
Now, you have to replace these links with index.php/alias_of_your_menu.
Now paste the edited HTML in Custom HTML module and save it by selecting a proper Position.
You can use joomla menu module in the footer.
Joomla also has the option to display second level menu items in a menu module.
To do this:
Set the Start Level to "1" and the End Level to "1".
That's all. Good Luck.

How can I add PHP to a Joomla menu item?

Here's what I'm trying to do:
In Joomla 3.1, I'm using the K2 component to build a full content-driven news website.
All is well, but I just don't like the K2 Login module, and therein lies the rub. That module automatically generates two key links:
• Add Item
• My Page
I want to unpublish the login module and add both of these links to a standard Joomla menu. It's easy to add the "add item" link because it's essentially static.
But the "My Page" link is dynamic. I've found the PHP code that generates it:
<?php echo JText::_('My Page'); ?>
But I don't know how to make a plain old Joomla menu item -- as in, one that I add through the menu manager -- to generate that code.
Note: It's important that I be able to use the Joomla menu structure because I'm also using Joomla's access control to hide or show these buttons. Meaning, I've added a "contributor" usergroup, and I only want them to see these links.
Any bright ideas would be much appreciated! Thank you!
You should go to the template you are currently using, in their you create a html folder.
In that folder you create a mod_menu folder.
Than you got your Joomla root > modules > mod_menu.
And copy files which are inside and drop them in the html > mod_menu folder.
Now you can edit the mod_menu to your favors with a rewrite.
http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core
Hope this helps you.

How can I edit Joomla! menu?

I'm looking for a way to edit Joomla! menu or creating a custom menu for Joomla!(version 2.5), like add an element to each menu item.
I can edit modules from this path: root\templates\beez_20\html\modules.php
how can I edit menu source code ?
If you just want to edit the CSS, you could append a specific css class to your menu module in the Joomla! backend.
But if you want to add an element (i.e. change the code), you could for example just create your own module (http://docs.joomla.org/J2.5:Creating_a_simple_module/Developing_a_Basic_Module) and then "clone" the menu module (root/modules/mod_menu) by copying the contents to the respective files of your module.
Note that you would have to create a module package as explained in the link, then you'll be able to install it through the Joomla backend. When the custom menu module is installed, you can edit the way it looks by going to the folder root/modules/mod_yourmenuname/tmpl/default.php. Is this what you were looking for?

joomla file upload module assign to menu

Module Name: Simple File Upload v1.3
Module Source: File Upload Module
Just today i got very clear clarity on this questions.
My questions is, With module we can set the positions only, we could not able to assign to menu directly in admin menus. but can call the module in article. but actual requirement is. i want to show the upload form in the admin area. so i want to create one menu in the admin menus, when user click this menu. appropriate upload form will be display.
How to achieve this.
To assign module to a menu,Go to extensions -> module manager, Then open your module Simple File Upload v1.3 and On the bottom left you will find Menu Assignment section select the menu there where you want to assign that module.
And hit save.
OR
You can also do this by menu manager also go menu manager under which menus where you want to assign that module Go to edit view and on the right under Module Assignment for this Menu Item click on the module name then popup will open and follow the instruction as described above.And save you are done .
Read more : How do you assign a module to specific pages?
Hope this will help.

Resources