Previously I was assigning the menu with featured article and in the module manager I've assigned the module to that menu. But this time I needed to show this on iphone browser, thus it is not displaying the module as it is linked to featured article.
Now I'm trying to create a article and assign that module in article by placing just simply this code {loadposition moduleposition} and I'm also assure that loadmodule plugin is also enabled and the module is showing but I'm having the problem.
If I assign the the menu in module manager then it doesn't display the module. And if I assign the menu in module manager then it is show two times. And if it was the same I could have displayed to none to one module. But I'm totally confused how this is appearing in my site. I tried to change the style defined in loadmodule plugin but nothing seems to vary.
desktop site demo
mobile site demo
So, is there any good way to assign the module in menu?
Anyway, If this was showing the gallery pictures like in the desktop browser in iphone browser I would have set display: none; to below unwanted element.
Try this,
On your module manager menu assignment set to on all pages.
Then use {loadposition your_custom_position} inside article, make sure this position never repeated on any other places(bcoz we have set the module assignment to every page so only required pages use this position).
Another option is set module to all pages and edit the template file check page like.
<?php if($page == "gallery"):?>
<jdoc:include type="modules" name="your_custom_position" />
<?php endif;?>
Second option is not good but no other way then try this too.
In first method your load content plugin should be enabled.
Hope it helps..
Related
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.
I have created a custom joomla template based on blank joomla template from http://blank.vc/. Everything was fine until i clicked either forgot password?, forgot your username? or create account link that bring me to register or reset page in frontend but strangely the top menu was gone.
This is the screenshot :
http://i63.photobucket.com/albums/h145/affan2fly/menugone.jpg
i have no idea why this could happenned.
Please help with this. I appreciate all the help. Thanks!
The problem is because only on the pages selected option for module assignment is set. If you open a page which doesn't belong to any menu, then module won't be shown on it.
You can either check menu module to be shown on all pages, or make a new menu item for forgot password functionality, and then assign that menu for both menu module, and breadcrumbs module.
I don't know which Joomla version you're using and what you use for translation, but if you use Joomfish or Falang, language translation should be much easier.
If you don't use any of those, and you really need to leave everything as it is, then you can also detect current user language in the template, and load either one or the other menu module based on it. That way you can set module to be shown on all pages, and make sure it is displayed only for the choosen language.
Just want change the layout of the login page same as other pages, I want to remove the left sidebar bar and show the main menu, few images and text. You can see the current layout.
Visit http://www.egovtsolutions.net/index.php/component/users/?view=login
You can make the menu module display on all pages rather than on selected pages...then the menu will be displayed on all pages.
You have to choose display option from that module. If you want to enable some modules in that position just check the menus names from that module.
If you don't want any module in login page just unselect all modules from that page. Then only you have better look for login prompt as your wish.
Try this....
I dont know which version of joomla are you working on. But this link covers from joomla 1.5 to 1.7.
You should try to give the "extra2" or "position-29" to your log in module.
The key is just the position you are assigning.
I have tried to look around all over the place to edit the joomla frontpage. Im using a template from joomlaxtc which is another reason why I believe im having trouble as the coding is a little different.
What I'm trying to achieve is remove the component or article area for my Joomla 2.5 front page.
here is the website
http://colmandesigns.123abc.co.nz/tyrelink/
as you can see the 'coming soon' white text box I want to remove however I only want to remove it for the front page not the rest of the pages.
I can't get your site to come up, but the home page of a joomla site is generally determined by the default item on your main menu.
From the admin Control Panel:
Choose Menu->Main Menu
Locate the menu item on the list that has a star in the "Home" column
Click on the menu item, and from what you see, determine what the article is
Go to that article, and edit there.
This presumes that your home page is an article, as is the case in a standard Joomla site, and doesn't account for anything your template may do in terms of features or settings,
Simply go to the template manager and go to the advanced parameters and see the show component on home page and select NONE
If you want to remove the "coming soon" bit, then go to the module that holds the "coming soon" bit. On the left, you should see "Module assignment." Click that, and choose "no" for Home Page: assign to.
This video may also be helpful.
Your template may have configuration to hide main content block from frontpage but if not then it can be hidden by using code block below on index.php or your php file which will define template layout.
<?php if (JRequest::getVar('view') != 'featured'): ?>
<div id="maincontentdiv"><jdoc:include type="component" /></div>
<?php endif; ?>
I'm in the process of porting an existing website to Joomla. Most pages of this website consist of a main content area and a sidebar containing additional items relating to the main content, such as (in-page) links, images, additional information, etc.
In Joomla, the main page content would probably be an article, but I'm not sure what would be the best way to create the sidebar content in Joomla.
Examples of pages-with-sidebar:
http://www.aikikan.nl/en_watisaikido
http://www.aikikan.nl/dojo?id=2
I'm creating a custom template for this website, so any solutions that require modifying the template are fine as well. What would be the best way to set this up?
Keep the content of each sidebar in an article and then assign it to a module by means of the article-as-module extension. You can then control the scope for each module (i.e. choose menu postions for which it will be shown) in the admin interface.
There is an extension called meta mod which is perfect for this sort of thing. It allows you to show modules based on any condition you can evaluate with PHP