• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Wrong image links in CGCalendar
PostPosted: Sat May 12, 2018 6:04 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Fri Jul 25, 2008 10:13 am
Posts: 282
Location: Zug, Switzerland
Hello CMSMS users

In my events detail pages, image links are wrong. The links goes to domain.com/calendar/7/uploads/image instead of domain.com/uploads/image

and I can not find where to influence that. Most easy solution would be to just define an absolute link for the image directly on the event detail, but TinyMCE does not save any change to that link, even when done directly in the code from tools/html.

I am using CMSMS 2.2.7, CGCalendar 2.5.1

Can't find any posts with the same problem in the forum, though.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Wrong image links in CGCalendar
PostPosted: Sat May 12, 2018 9:00 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 3013
Location: The Netherlands
Consider using the <base> tag in the head section. It comes with the {metadata} tag by default, but if you don't use that you should create it yourself.

Something like:

Code:
<base href="{root_url}" />


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Wrong image links in CGCalendar
PostPosted: Sat May 12, 2018 9:19 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Fri Jul 25, 2008 10:13 am
Posts: 282
Location: Zug, Switzerland
Thank you velden! I seems I did indeed not use the meta tag for this page, because it is a simple iframe displayed in a fancybox popup.

Now with
Code:
<base href="{root_url}" />
on the template, the image link is correct and the image displayed.

I am so glad for your help!

Greetings
Thomas


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting