Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • bitx Friend
    #143553

    Hi there

    I just recognized that the behavior of JA News 1.3.1 has changed on my offline-site.

    When I click an article at JA News, I would like that it opens on a new site… like here:

    http://www.mcm-swiss.net

    At my offline-site I probably changed a setting, causing that the article opens on top of the JA News which is unwanted, as the reader has to scroll down every time. :((

    Please let me know how I could change this back, as I did not found any possibility at the module settings!

    bitx Friend
    #314734

    As I did not receive any answers, I suppose my explanation was not very clear.

    Here some Screenshots to illustrate the problem:

    My frontpage looks like this:

    At the server, where I uploaded the page some days ago, the behavior of the articels are different. Clicking on the first Article “Convallis interdum wisi” opens a new page, showing just this article.

    See as here:

    This is as desired. Using a rather big Slideshow at the top of the frontpage, forcing the user to scroll down…

    but, since I changes something (which I do not remember :(( ) this behavior changed and the article “Convallis interdum wisi” opens on top of the JA News module…

    I searched already the forum and found THIS thread. I did as described but with no success.

    As the site is almost ready to go online, I am rather concerned about it!

    Please, send any feedbacks or ideas on this matter!

    Thank you in advance.

    EDIT: The next step I took, was to copy the template.css from the server to my local machine. I renamed the local template.css and used the other one. It worked as wished localy!

    The only funny thing is, comparing the two css files with WinMerge, showed that they are totaly IDENTICAL!.

    ??? I am really confused now!


    1. frontpage
    2. frontpage_article_Convallis_active_new_window
    3. frontpage_article_Convallis_active_top_of_JA_NEWS
    bitx Friend
    #314771

    I sorted it out, as far as I could…

    Obviously it was not a template.css problem!

    Depending, how one would return to the Frontpage after opening an article, using the “Home” button, the adress would change to:

    http://www.mcm-swiss.net/index.php?option=com_content&view=frontpage&Itemid=1

    Check it out on the site!

    which will cause the problem, when clicking an article the next time. As I saw at the JA Lead demo-page, the return adress is just just the URL itself, with no further syntax.

    Need HELP please!!! :-[

    scotty Friend
    #314772

    The problem is the Home link. Although it is a link to your home page it is not your ‘default’ link. try changing it to an ‘alias’ of your default link. If you have no idea what I am talking about have a look at the Joomla documentation.

    bitx Friend
    #314778

    @ beam me up, scotty:

    What an answer! What I will not do now is:

    If the post was helpful please click the ‘Thank You’ button.
    If your problem has been solved click (Mark Best Answer)

    Are you afraid, that your fingers could fall off, when writing some more info?

    >:(

    …but you could Mark this as the best answer available, isnt it?!

    scotty Friend
    #314781

    bitx I’m not here to give lessons in the basic setup of a Joomla menu. There are numerous tutorials already available to show you how to do that.

    You asked about a problem with JA News and you now know there is no problem with JA News but rather the way you have (mis)configured your menu.

    If you knew me at all you would find I’m extremely helpful on here but the attitude you have taken will win you no favours!

    bitx Friend
    #314785

    Sorry, if you found this the wrong attitude…

    Its true, I do not know you as well you do not know me… so we are on the same level, arent we?!

    Working since 2006 with selfmade templates and as well self programed modules, I am for sure not a beginner anymore… believe it or not.

    Using joomlart templates is something my boss asked for, I personally wouldnt use them for good. But thats another story.

    Using some SEO and SEF modules (which I used many times and, until now, did not encounter such problems) lead me to the wrong conclusion, that it has to be an error with the template, I already mentioned this in my thread “Today 07:50 PM”… but sometimes the solution is actually simple and just a little hint opens the knot.

    Scotty, you did not provide a hint. If you think, that it isnt, as a trial moderator, your duty to help (in anyway you can) than you should not write… or am I wrong now?

    If I would give such answers to my clients, what do you think, they would do? They wouldnt pay my Salami, which I am eating right now!

    As I wrote from the beginning of this tread, IDEAS and FEEDBACK are much appreciated!

    scotty Friend
    #314789

    OK Bitx lets start again….

    The way that Joomla determines what modules are to be displayed on a page is by adding an ‘&itemid= ‘ to the end of the URL. This is a Menu Item ID and &Itemid=1 is usually the front page (or default/home link to be correct).

    For some reason when you click the ‘Home’ link on the menu you have added to the top of your site it adds &Itemid=1 to the end of every link on the page. This means when you click one of those links joomla still thinks it is on the frontpage and therefore loads all the modules that are set to appear on the frontpage including JA News.

    I think the problem may be that you have no menu items set up for the sections and categories that these articles are in. This used to be a bug with Mambo years ago. Can you make new menu items (you don’t have to publish them) and assign them to your sections and categories. This will force Joomla to assign an itemid (different to 1) to these articles.

    bitx Friend
    #314792

    Scotty,

    thanks for starting over with me! 😉

    Yes, I agree with you, it was an old bug. But… why did it worked, until i changed the Superfish menu to another, more lightwight, one?

    If you wish, I will upload the last working version on demo.mcm-swiss.net. Please keep in mind, that there had not been any changes of text, as the actual articels are just for demonstration. The only thing changed, was the topmenu… no cats or sections have been added or changed!

    scotty Friend
    #314793

    Bitx can you make a new mod_mainmenu and assign the same menu to it that you have assigned to the menu at the top of the site? Publish this new menu to the left or right position and test it. See if the Home link ads Itemid=1 to the end of all the URL;s. It it doesn’t then the problem is that menu component you have added to the top of your site. If it does… then it is a problem with Joomla. From doing a google search it seems the problem is related to itemid’s being assigned (or not) to sections and cats.

    bitx Friend
    #314801

    scotty,

    thats exactly what I made!

    Please have a look at http://www.mcm-swiss.net and find the wrong horizontal menu, at the left the wrong mod_mainmenu and beneath the newly, and correct, mod_testmenu…

    Somehow this all makes no sense to me! :confused:

    I think i will throw all the menus out and start them from scratch … or does it seem logical for you?!

    bitx Friend
    #314802

    …to be serios, I changed something at the site, before making the new menu.:p

    Please have a look at the templates ja_lead => ja_menus and find there the file Base.class.php.

    Go to line 87. There I changed the variable from

    $v->url = JURI::base();

    to

    $v->url = 'index.php';

    I forgott about it, because it did not had any impact on the existing menues but it seems, that it worked for the new mod_testmenu?!

    EDIT: Sorry, false alarm! No, it depends how the mod_mainmenu is set. As you see on the site, the two menues are different… the upper (wrong one) is set as “Legacy Vertical” the one beneath of it is set as “List”.

    The used menu modules are different in treating those settings. Super Fish seems to use “List” (which works fine), the used “Kore Menu” uses, as it seems, the “Legacy Vertical” mode and pulls out with the error.

    At the end, it is as you supposed. Assigning the Cats and Sectors probably will resolve the matter even for the “Kore Menu”… something I will test out tomorrow 😉

    Anyway, thanks for the chat and sorry again, that I reacted in this way!

Viewing 12 posts - 1 through 12 (of 12 total)

This topic contains 12 replies, has 2 voices, and was last updated by  bitx 15 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum