Wednesday, 01 October 2014 05:57
beggarly

problem: read more opens article in the same page

problem: read more opens article in the same page

Postby mpfauda » Sat Apr 13, 2013 1:39 pm

hi,
i'm experiencing a problem, and this time i don't think i can figure out how to solve it by myself.

i'm develiping a website and successfully using the module in the products page, in the news page.

in producs and news it works perfeclty, whan i click on "read more" or on the product image/news image, it takes me on the article.

In the homepage, if you click on read more or the news image, the article opens in the homepage, lower right!
why is it happening?

to use the module in different ways and different paged i duplicated it and assigned a personalised css to each module, it went good with mixer and news, wrong with the homepage. can you help me solve this issue?

bonus question: i managed to change the read more label into another label modifying the language ini file. How can i assign another ini file to a copy of my module? i don't want the read more label to be alwaysthe same label in all the website

many thanks in advance
Last edited by mpfauda on Mon Apr 22, 2013 7:52 am, edited 1 time in total.
mpfauda
Fresh Boarder
Fresh Boarder
 
Posts: 7
Joined: Thu Apr 11, 2013 8:40 am

Re: problem: read more opens article in the same page

Postby chus » Sun Apr 14, 2013 2:36 pm

Hello,

What kind of menu items are "News" and "Prodotti -> Mixer"? I presume they are "Articles -> Single Article". If so, you should change their type to "Articles -> Category Blog/List" with their respective category. This way joomla will build the right link to every article from thos categories.

As for the "Read More" issue, maybe you can use the "Read More Text" option every article has under the "Article Options"

Regards!
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: problem: read more opens article in the same page

Postby mpfauda » Sun Apr 14, 2013 4:10 pm

hi,
yes they are single articles, but they call for the featured categoried module using another modile that allows to call modules in articles ("modules aniwhere")

the problem i'm having only shows up in the homepage, mixer and news are fine ast they are! i can't change the layout into blog type as the client requested it to be like that.

i noticed that the module i placed using the same method ad the other two in the homepage, removes a part of the link when i click con the news or the product, for example:

go on the news page and put the mouse over the first news's image
then go on the homepage and do the same on the first news image

as you can see, the homepage link lacks of a part of the path "newsok"

i think the problem might be that, but i really cant' figure out how to fix it
mpfauda
Fresh Boarder
Fresh Boarder
 
Posts: 7
Joined: Thu Apr 11, 2013 8:40 am

Re: problem: read more opens article in the same page

Postby chus » Sun Apr 14, 2013 5:04 pm

You don't need an additional extension to load a module in an article, just make sure Extensions -> Plugin Manager -> Content - Load Modules is activated and use {loadposition yourposition} in the article ;)

But I suggest you try changing the menu items types as I said before, setting them to show nothing, no articles at all and assigning the modules to them. This will solve the links problem.
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: problem: read more opens article in the same page

Postby mpfauda » Mon Apr 15, 2013 2:05 pm

hi again,
i understand that this solution could work, but you are talking about the menu.
i'm having problems with the module loaded in the homepage, that specific module isn't assigned to any menu!

the menu in the homepage is supposed to load a preview of the articles of a specific cathegory, those articles however aren't assigned to any menu, they are loaded directly by the module in their specific page

i'm sorry i'm not english i hope i'm explaining myself
mpfauda
Fresh Boarder
Fresh Boarder
 
Posts: 7
Joined: Thu Apr 11, 2013 8:40 am

Re: problem: read more opens article in the same page

Postby mpfauda » Tue Apr 16, 2013 12:49 pm

hi,
i managed to solve the problem somehow

first i created a hidden menu item and associated a blog cathegory loading the articles i needed, but didn't work

then, and this worked out, i created a new hidden menu and inside added menu items as i did in the first attempt
mpfauda
Fresh Boarder
Fresh Boarder
 
Posts: 7
Joined: Thu Apr 11, 2013 8:40 am

Re: problem: read more opens article in the same page

Postby chus » Tue Apr 16, 2013 1:30 pm

A hidden menu is a great idea... complimenti :)
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: problem: read more opens article in the same page

Postby mpfauda » Tue Apr 16, 2013 4:41 pm

it was not my idea, i have to admit, but it worked!
out of curiosity, why does this happens? it works perfectly in all other pages besides the homepage, i was just curious about the reason
mpfauda
Fresh Boarder
Fresh Boarder
 
Posts: 7
Joined: Thu Apr 11, 2013 8:40 am

Re: problem: read more opens article in the same page

Postby chus » Thu Apr 18, 2013 4:15 pm

It's the normal behavior, Joomla searches for menu structures in order to build the links to content categories and articles :)
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica


Return to Featured Categories



Who is online

Users browsing this forum: No registered users and 0 guests