- Posts: 11
- Thank you received: 0
Loading content data dynamically - No images?
- mapper
- Topic Author
- Offline
- New Member
Less
More
10 years 9 months ago #4445
by mapper
Replied by mapper on topic Loading content data dynamically - No images?
the image is in infobubble tab1 field
Please Log in or Create an account to join the conversation.
- mapper
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
10 years 9 months ago #4446
by mapper
Is there a way to fix the code so that the ajax request would change the url?
Thanks for your reply
Replied by mapper on topic Loading content data dynamically - No images?
I think you are right. I think this is the problem.Dima wrote: Hi.
I can only imagine, that when you set loading to NO, then the other plugin (content plugin) works and change this URL. And when you set to YES, it doesn't work, because of the ajax request, therefore this plugin doesn't change this URL.
Is there a way to fix the code so that the ajax request would change the url?
I tried to enter the full path for the image. It doesn't work bacause the editor strips the beginning of path from image url.Dima wrote: I suggest use full url to your image.
Thanks for your reply
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
10 years 9 months ago #4447
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Loading content data dynamically - No images?
But in infobubble you can add title and content.
If you enter image into content field ("HTML Text") I simple write it.
But if you enter loading to NO, the content of that fields in in page source, and it processed by content plugin. And you get URL from root.
If you set loading to YES, the content for this infobubble will loaded after the plugins execution. And you'll get the URL, which entered.
It is the same as I described above
If you enter image into content field ("HTML Text") I simple write it.
But if you enter loading to NO, the content of that fields in in page source, and it processed by content plugin. And you get URL from root.
If you set loading to YES, the content for this infobubble will loaded after the plugins execution. And you'll get the URL, which entered.
It is the same as I described above
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
10 years 9 months ago #4448
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Loading content data dynamically - No images?
For example, for JCE editor
Go to:
- JCE Administration :: Edit Profile - [Default]
- Cleanup & Output
- Relative URLs
Go to:
- JCE Administration :: Edit Profile - [Default]
- Cleanup & Output
- Relative URLs
Don't forget support my developments: post review in JED , donate , help with translation
The following user(s) said Thank You: mapper
Please Log in or Create an account to join the conversation.
- mapper
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
10 years 8 months ago #4663
by mapper
Replied by mapper on topic Loading content data dynamically - No images?
Thanks for your assistance. We got this working now.
We have a multillangage site and that was the cause of the problem with images not loading. This was the problem: Language extension adds language code after url like this: siteroot/en
Turning off search engine friendly urls in joomla solved the problem!
We have a multillangage site and that was the cause of the problem with images not loading. This was the problem: Language extension adds language code after url like this: siteroot/en
Turning off search engine friendly urls in joomla solved the problem!
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
10 years 8 months ago #4664
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Loading content data dynamically - No images?
Hi
As for images in JCE you can set not use related URL, in this case your images will be displayed correctly with enabled language extension addition code.
As for multilingual sites.
My placemarks don't support different translations.
Therefore you can use a trick
Create different maps for different languages.
On map details you can set language - in this case you forced set map language, ie all objects on map will be on definite language.
And you can create placemarks, which translated to different language.
As for images in JCE you can set not use related URL, in this case your images will be displayed correctly with enabled language extension addition code.
As for multilingual sites.
My placemarks don't support different translations.
Therefore you can use a trick
Create different maps for different languages.
On map details you can set language - in this case you forced set map language, ie all objects on map will be on definite language.
And you can create placemarks, which translated to different language.
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
Time to create page: 0.190 seconds