Joomla! 3.4 Menus not appearing - joomla

New Joomla! user here, for some reason when I set the menu assignment for a menu module to be seen on all pages, I can see it on every page of my site, but when I try change the assignment to where the menu only shows up on certain pages it disappears completely. This is rather confusing as no matter which pages I check on the assignment page the menu isn't displayed unless all of the boxes are checked.
EDIT:
This seems to be the case after a login redirect, How would I tell joomla to display a menu after a user logs in? to give more context the menu is displayed on: http://localhost/sitename/index.php/welcome but not on the redirect page: http://localhost/sitename/index.php?id=3
I think the discrepancy in the urls is what is throwing joomla off

I resolved my issue by updating (issue with SEF enabled in 3.4.x):
libraries/cms/application/site.php
if ($router->getMode() == JROUTER_MODE_SEF){
//$document->setBase(htmlspecialchars(JUri::current()));
}
This is clearing out the query string, after upgrade you'll need if not fixed to do this again.
I've found this issue in 3.4 upto 3.4.4 today.

This problem was solved by using the redirect manager, I just redirected the strange urls to my desired pages that display my desired menus.

Related

Magento Pages Showing Same Content

I am using Magento 1.9.2. I created 3 categories active in the main navigation menu. The display mode for each category is 'static block only' and the static block each one is set to use has a unique url key, name, and content. The categories are called 'how to use', 'colors,' and 'faq.'
The problem is that when I click on one of the links on the frontend for one of those categories, the content for that category/cms block displays fine, but if I click on another link the url changes correctly but the content stays the same. For example, if I click on the how to use link first, I get the right content, but then if I click on the faq link the url changes to the faq page but the page keeps displaying the content for the how to use page.
Flushing the cache and reindexing only works for one click on one of the links. In other words, if I have the problem described above and then flush the cache/reindex the site and click on the faq link, the content changes to the faq content, but if I then click on the colors link I have the same problem.
Has anyone ever encountered this before and/or can explain why this problem is happening?
Thank you for your help.
I resolved this issue by downloading Magento 1.9.2.1 and uploading app/code/core/Mage/Cms/Block/Block.php to app/code/local/Mage/Cms/Block/Block.php.

Joomla! Module not showing up after implementing sh404sef

I have placed a module in the position "Below content" on my Joomla!-site. It is supposed to show up below the content (well ...) like shown in the picture attached. Problem is, it only does so when I set it to 'show on all pages', and I only want it to appear on a selected few pages. When I set it to only show on these pages, it disappears!
It is the carousel called "Andre modeller"See the image here
Now, I have disabled the module except on this page (and the other beachflag pages): http://anansi.dk/strandflag-a
And it is gone. It worked before I implemented sh404SEF. Anyone?
:-) Astrid
For anyone that stumbles across this question, the sh404sef user manual page on Troubleshooting issues with missing modules might be of assistance.
In brief, first ensure that the module is set to display on the specific menu. Then:
In Joomla's menu list, find the Itemid of the menu item that displays the page. It will be listed in the last column labelled ID. You will need this ID later in the last step.
Open the sh404SEF URL manager and locate the SEF url for that page which is not displaying the module. You will notice that the SEF url will have at least 1 duplicate URL for this item. Click on the this number to open the Duplicates Manager.
There should be a native URL such as (index.php?option=com_k2&Itemid=345&id=214&lang=en&view=item) that contains the Itemid you found in step 1 above. You need to make it the Main url by clicking on the Make Main button.
Hope this helps.

Problems adding an article in Joomla

I got a problem I really cant solve. I am trying to create a menu with an single article in Joomla 2.5, but it wont show the article.
I have created a main menu with some menus which are set to single article, and I have created some articles, which I've added to the specific menu items, it has no problems saving the menu, but when I reload the page, there is no article/text/picture.
Does some one have any idea why this is happening?
Make sure article is published. Even if it won't work. Just on error reporting n see what exactly error is getting about & find the solution.
It seems like a SEF issue.
Say your menu is published under the SEF url /fun/jokes.html: if the SEF plugin is not enabled Joomla might be looking for your pictures in /fun/images/... instead of /images/...
Just head to the administrator / plugin, search for SEF (system - SEF plugin) and enable it.
Clear the cache and it should start working.
I have found the problem. Under my profil for the template, "System Output" whas set to "no". Changed it to "yes" and it shows all my article.
But thanks for your efforts

Get preview link to article before publishing

In Joomla 1.5, I created an article. Before publishing it, I want to send a preview URL to my colleagues (they are not registered to Joomla).
I'm looking for something like adding task=preview to the URL and it would show the article.
It would be enough if the article would be normally published but would not be displayed on the main page in the latest news. I tried to set "Front Page" to "No" but without success.
How can I solve the problem?
Joomla! 1.5 doesn't have a feature like this and from the way it's built I'm not sure it's possible without modifying the core com_content files. You could try a search of the Joomla! Extension Directory to see if someone has implemented what you're after.
In the meantime if the article is turning up on the websites front page even when you've set it not to - then the front page must be using a Section/Category Blog page style rather than a Joomla Frontpage page. In this case you could find out which category is set to show on the menu item being used for the front page and then temporarily change your article to another that doesn't appear there.
Once you've got it in another Category you should be able to get a link to the article by doing a search from the front end (assuming you don't want to create a menu link).
try creating a new category called Preview and since that wouldn't have been assigned to any pages yet, it should not appear. If you have trouble finding the article then, you could temporarily publish it either on the home page or somewhere in the menu. Then when you have found and copied the url, you can remove the article from the home page or menu or wherever you temporarily have it appear.
If you should ever want several 'preview' articles appearing on one page, create a new menu item, assign it to the Preview category you made, and in System Parameters, click on Show Title: 'No' so it doesn't appear in the menu. I don't know about what shows up in Google for example so if it's sensitive data I can't say it won't show in search engines, it probably will.
It probably appears on the Front Page because as you say it's part of the 'latest news' module. You could also try removing it from the module feed, but a new category is what I'd do.
Paul
I just selected Section: "Uncategorised" and the article went out from the latest news. Hope it's not accessible any other way in the current setup (there is no search function hopefully). It's not a cleanest solution, but it seems to work.

Remove "componentheading" from homepage - Joomla!

I'm working on a site in Joomla! and on the homepage, at the top of the article, it comes up with a h1 of the website name. The pagesource says (Note it's not the article title.)
Any idea how to get rid of it?
Thanks,
Steph
You can set this h1 tag not to display via the Parameters - System section of your Menu Item Manager screen in administrator ... this page has a nice depiction of the steps.
It's so simple
Just do the following :
Login to the Joomla Administrator Interface
Go to the Menu Manager
Select your Menu
Select your Menu Item (Home Menu)
On the right hand, Click Parameters (System)—> and in the *Show Page Title—->*Just Select No.
That's all.
This is not the desired solution, since many people, (including myself) actually need to be able to Set/Override the page title (That Appears in the Browser’s Title bar), and setting Page Title to no here will also remove the functionality to Configure the Browser title (which is important for SEO among other things).
Anyway, I have searched and not been able to find a fully correct solution via CMS or PHP Code. The closest solution which is not fully perfect, but unlikely to cause significant (if any) negative effect on your site is through Javascript (Example is JQuery).
jQuery(document).ready( function($) {
$(‘.componentheading’).empty();
});
This can also be done is JS with no JQuery. When I find a better method of doing this I’ll let you know.This should actually be done by removing output from a template file.I don’t know which one yet. When I do, I’ll post it…
When setting the page title not to show in the menu item as stated in other answers, this will not stop the text entered in the page title box being used as the browser title, it will just stop it being shown in the page.
Using javascript to remove it is not a good idea.
1. It will only work for browsers with javascript enabled
2. Search engine spiders will still see it. As the component heading for articles is 'articles' by default it will see all your pages with the same h1 tag.
Just turn it off in the menu item and enter your browser title in the text box above.

Resources