Keyword

image-type menu link path is wrong

  • Bill52
  • Bill52's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #124862 by Bill52
image-type menu link path is wrong was created by Bill52
Hi,

Joomla 3.2.1
K2 Version 2.6.7
JCE
JCE to K2 bridge
AllVideos

I select an image under Link Type.
Pointing with the mouse to the little eye icon on the right of 'Link Type Attribute' shows the image.
However, the image doesn't show on the page in the browser.

Looking at the page source gives the path to the image as:
<URL>/images/stories/images/<REST_OF_PATH>
However, there is no such path as '/images/stories'.

There is a valid path though: <URL>/images/<REST_OF_PATH>

The path is correct if k2 is not installed so I believe the extra 'images/stories' is inserted by K2.

Could somebody pls explain what is happening and how to go about fixing it?

Thanks,
Bill

PS: would it be possible to use a humanly readable captcha? This re-capthcha is absolutely awful!

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 7 months ago #124863 by Yiota
Replied by Yiota on topic Re: image-type menu link path is wrong
Have you checked the path to your images through JCE. K2 doesn't use any image paths loaded in your text, anywhere. All settings for the editor's images come from the editor itself.

Have you also checked with a different editor or no editor to see if your images get the right path?

Please Log in or Create an account to join the conversation.

  • Bill52
  • Bill52's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #124864 by Bill52
Replied by Bill52 on topic Re: image-type menu link path is wrong
Thank you for the reply,

It happens when I add a menu item and select an image as a link for the menu-item.
Under menu-item/Link Type.

I believe the text editor has no effect on this selection.

Bill

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 7 months ago #124865 by Yiota
Replied by Yiota on topic Re: image-type menu link path is wrong
Neither has K2. This is joomla's default mechanism.
Do you have any mod_menu overrides?

Please Log in or Create an account to join the conversation.

  • Bill52
  • Bill52's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #124866 by Bill52
Replied by Bill52 on topic Re: image-type menu link path is wrong
I installed a fresh Joomla 3 and it works just fine.
Also, Joomla doesn't have '/images/stories/' path.

May be it is JoomlaWorks. I don't see how can AllVideos interfere here but who knows.
I'll ask it there.

Cheers,

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 7 months ago #124867 by Yiota
Replied by Yiota on topic Re: image-type menu link path is wrong
When you open the browse popup from the menu item you see the path correctly and only in the frontend you see it changed?
Have you checked in your template folder to see if you have a menu template override?
Check in templates/your_Template/html/ for a mod_menu folder.

Please Log in or Create an account to join the conversation.

  • Bill52
  • Bill52's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #124868 by Bill52
Replied by Bill52 on topic Re: image-type menu link path is wrong

Yiota Ziaggou wrote: When you open the browse popup from the menu item you see the path correctly and only in the frontend you see it changed?

Correct.

Yiota Ziaggou wrote: Have you checked in your template folder to see if you have a menu template override?
Check in templates/your_Template/html/ for a mod_menu folder.

Excellent idea, thanks. Unfortunately for me, it's not the case, there is no template override at all.

Meanwhile i installed a new J!3.2.2, added K2, AllVideo and JCE - no problem at all, the menu-item image shows as it should.

Searching for the 'images/stories' path it seems that some JoomlaWorks modules use this as a default path: Simple image Gallery.
www.joomlaworks.net/extensions/free-premium/simple-image-gallery
"... if we have a folder called "my_trip_to_Paris" located in images/stories/my_trip_to_Paris, then we can create our gallery by simply entering the tag {gallery}my_trip_to_Paris{/gallery} ..."
This suggests to me that there is a fixed path to images/stories/.

They also have a similar approach in AllVideos. One just need to enter the YouTube ID to play the video. It must have a hard coded path to YT.

But it needs to be confirmed that this indeed is the problem.

Cheers,

PS: Please use a more readable captcha!

Please Log in or Create an account to join the conversation.

  • Bill52
  • Bill52's Avatar Topic Author
  • Offline
  • New Member
More
10 years 7 months ago #124869 by Bill52
Replied by Bill52 on topic Re: image-type menu link path is wrong
I believe I found the culprit, thank you for the help Yiota.

It comes from a module called 'Extended Menu'.
Version 'extended-menu-module-1.2.0-joomla16' seems to be for Joomla 3.x.

In:
line 354 extmenu/view/menuview.class.php
and in
line 96 extmenu/view/pattemplate.menuview.class.php
the path is hardcoded.

Remedy:
remove the hardcoded path 'images/stories/' and replace the two files on the server.
Seems to work.

Cheers,

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 7 months ago #124870 by Yiota
Replied by Yiota on topic Re: image-type menu link path is wrong
Have you tried to disable these two content plugins to check if this is what is causing the issue?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum