- Posts: 7
COMMUNITY FORUM
image-type menu link path is wrong
- Bill52
- Topic Author
- Offline
- New Member
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
- Visitor
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
- Topic Author
- Offline
- New Member
- Posts: 7
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
- Visitor
Do you have any mod_menu overrides?
Please Log in or Create an account to join the conversation.
- Bill52
- Topic Author
- Offline
- New Member
- Posts: 7
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
- Visitor
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
- Topic Author
- Offline
- New Member
- Posts: 7
Correct.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?
Excellent idea, thanks. Unfortunately for me, it's not the case, there is no template override at all.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.
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
- Topic Author
- Offline
- New Member
- Posts: 7
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
- Visitor
Please Log in or Create an account to join the conversation.