Read more button creates an uneeded amp:

Change your online store into modern look with myStore eCommerce VirtueMart Joomla template - discussion forum.
GK User
Sat Sep 11, 2010 11:47 am
I have a problem with the read more button. The problem is that the links that the read more button creates an "amp:" after every "&" shown below

index.php?option=com_content&view=article&id=714&catid=167:nyheter&Itemid=374

and it should be
index.php?option=com_content&view=article&id=714&catid=167:nyheter&Itemid=374

The last one works like it should, when I use it. The other one does.

The problem with these amp: is that a menu that I've assigned disappears when the amp: is in the URL.

Can you please help me with this problem.
User avatar
Junior Boarder

teitbite
Sun Sep 12, 2010 4:29 pm
Hi

Please show me Your site.
User avatar
Moderator

GK User
Sun Sep 12, 2010 5:01 pm
I've sent you a mail with link to my site.
User avatar
Junior Boarder

teitbite
Mon Sep 13, 2010 2:22 pm
Hi

Please send me Joomla panel access and ftp access. That looks like the work of som plugin.
User avatar
Moderator

GK User
Mon Sep 13, 2010 11:15 pm
Mail has been sent to you.

Thanks in advance.
User avatar
Junior Boarder

teitbite
Wed Sep 15, 2010 2:39 pm
Hi

I've went to Your site and the problem is gone ;/ What did You do ? I bet it was a SEF problem.
User avatar
Moderator

GK User
Wed Sep 15, 2010 11:55 pm
I've found the solution. This is an error in the template files located i /templates/gk_mystore/html/com_content/section/blog_item.php


On line 311:
Code: Select all
<a href="<?php echo $this->escape($this->item->readmore_link); ?>" title="<?php echo $this->escape($this->item->title); ?>" class="readon<?php echo $this->escape($this->item->params->get('pageclass_sfx')); ?>">


It should be:
Code: Select all
<a href="<?php echo $this->item->readmore_link; ?>" title="<?php echo $this->escape($this->item->title); ?>" class="readon<?php echo $this->escape($this->item->params->get('pageclass_sfx')); ?>">




But I hope you will take a look on what's happend with my megamenu, as I described in the mail I've sent you Teitbite. It won't work.

I had do use the dropline menu now until the problem is fixed.
User avatar
Junior Boarder

teitbite
Thu Sep 16, 2010 6:03 pm
Hi

Unfortunately that was not a solution. I've changed it to this:

Code: Select all
str_replace( 'amp;', '', $this->item->readmore_link );


Now think it looks ok.
User avatar
Moderator

GK User
Thu Sep 16, 2010 6:51 pm
Well it worked when I did it. All the amps were gone. But the most important thing is that it works now. Thanks.



Did you find any reason for why the megamenu don't work anymore? I use the dropline menu preliminary. But I want to use the megamenu.
User avatar
Junior Boarder

teitbite
Fri Sep 17, 2010 12:06 pm
Hi

When I saw Your site with Your change it was still linking wrong.

Please extend my panel access so I will be able to change the menu type and play around global configurations.
User avatar
Moderator

GK User
Fri Sep 17, 2010 12:10 pm
Now you got superadministrator access.

Were do you find wrong linking? The sites I've checked, works fine.

Could you also check out the problem with megamenu. That is the menu I want to use.
User avatar
Junior Boarder

teitbite
Sat Sep 18, 2010 2:52 pm
Hi

There was a problem with plugin System - Mootools Upgrade. I've unpublished it and megamenu works just fine.
User avatar
Moderator

GK User
Sun Sep 19, 2010 9:09 pm
Hey!

Thanks for your help.
User avatar
Junior Boarder


cron