Page 1 of 2
[solved] Problem content=link and target=_blank
Posted: Fri Aug 24, 2007 4:05 pm
by erport
Hi everyone !
I have a little problem with CMSms 1.1 :
when I choose "link" as content type, it works fine excepted the possibily to choose the target as "_blank"... How can I do ? I reallly need it !
Thanks for your help,
Regards.
Re: Problem content=link and target=_blank
Posted: Fri Aug 24, 2007 7:04 pm
by Dr.CSS
7th line down drop down says Target: blank is in there...
Re: Problem content=link and target=_blank
Posted: Sat Aug 25, 2007 8:33 am
by erport
thanks, Mark, for your interest and your answer but I don't understand it (I'm a poor french...). I know that blank is to be chosen in the 7th line, and I've choosen it, but il doesn't work at all... In the source code, I have :
linkname
and no linkname
or 7.1: linkname.
Perhaps it's because I work on an old server with :
php : 4.4.1-0.dotdeb.2
mysql : 3.23.49
mode_safe : on
In the content, I have :
Content type : link
Title : linkname
Menu text : linkname
Parent : 7.1
Link to file (instead of URL) : None (use URL Above)
Target : _blank
Active : yes
Show in Menu : yes
...
I think I made the good choice, no ? Can you help me more ? Thanks for your help,
regards.
Re: Problem content=link and target=_blank
Posted: Sat Aug 25, 2007 9:00 am
by jce76350
hi,
I think the problem is on the last file lib/classes/contenttypes/Link.inc.php
with the last svn Révision: 4078
Modified Mon Aug 20 by tsw
You have NOT the possibily to choose the target as "_blank"
So if you test with the lib/classes/contenttypes/Link.inc.php
Revision 3880 - Modified Tue Apr 24 (original into cms1.1)
That's OK for me
Please confirm
Thanks
Re: Problem content=link and target=_blank
Posted: Sat Aug 25, 2007 10:35 am
by Pierre M.
It seems Jean-Claude has solved things again : it
was ok with my 1.1rc2 test. I've never looked at SVN.
Pierre M.
Re: Problem content=link and target=_blank
Posted: Sat Aug 25, 2007 3:28 pm
by Dr.CSS
if you use 'Target: none' it some times works for blank also...
Re: Problem content=link and target=_blank
Posted: Sat Aug 25, 2007 6:54 pm
by tsw
jce76350 wrote:
Please confirm
confirmed, fixed in rev 4089
Re: Problem content=link and target=_blank
Posted: Sat Aug 25, 2007 7:20 pm
by jce76350
Hi,
confirmed, fixed in rev 4089
Ok for me
Thanks
Re: Problem content=link and target=_blank
Posted: Sun Aug 26, 2007 8:44 am
by erport
thanks everybody ! It doesn't work for me, but I think it's my sfault (I search, I search...).
Regards.
Re: [solved] Problem content=link and target=_blank
Posted: Mon Aug 25, 2008 2:14 pm
by Biggles_downunder
Hm, I don't think this problem is solved as I am having exactly this sort of problem.
Visit the website I have created for our school at
www.tvcs.sa.edu.au and click on the
Web Preferences item - it should open a new instance as I have set the target of the link to _blank, but it doesn't!
Re: [solved] Problem content=link and target=_blank
Posted: Mon Aug 25, 2008 2:50 pm
by Pierre M.
Biggles, on the wild Internet you run nothing but the latest official stable CMSms, don't you ? Hence 1.4.1. This version can report a lot of context settings helpfull for support. Please use it to give us more information to try to help you.
Pierre M.
Re: [solved] Problem content=link and target=_blank
Posted: Mon Aug 25, 2008 2:56 pm
by erport
Biggles, i think it's because you use the template Grass Stains. I had the same problem with it, and when i have changed (to underground one), the links work with "target="_blank".
Sorry for my poor english

!
Regards,
Eric
Re: [solved] Problem content=link and target=_blank
Posted: Mon Aug 25, 2008 9:46 pm
by Dr.CSS
The template doesn't make a difference as to whether a link will get set to _blank or if it will work...
It has to do with how you do it with how it is set when creating it, if you use external link as Content Type: then you get a choice to set it blank as done here, click blank...
http://multiintech.com/
If you are using an older ver. of CMSMS then that may be the problem, always try and keep up to date...
Re: [solved] Problem content=link and target=_blank
Posted: Mon Aug 25, 2008 9:47 pm
by erport
mark wrote:
The template doesn't make a difference as to whether a link will get set to _blank or if it will work...
except when the menu uses javascript, no ?
Regards,
Eric
Re: [solved] Problem content=link and target=_blank
Posted: Tue Aug 26, 2008 10:14 am
by erport
mark wrote:
The template doesn't make a difference as to whether a link will get set to _blank or if it will work...
I have a probe ! I have 2 cmsms 1.41, on the same server, on the same base (but with different prefix).
The first one use Grass Stains template :
http://www.eric-portal.ac-versailles.fr/cmsmadesimple/
The second one use Underground template :
http://www.eric-portal.ac-versailles.fr/cms/
Same adjustement for the two links :
Content type : external link
target : _blank
Click "Liens" to see...
The first one open the windows without target="_blank".
code source :
Code: Select all
<li><a href="http://www.grain2tice.fr/liens/">Liens</a></li>
The second one open the windows with target="_blank".
code source :
Code: Select all
<li><a href="http://www.grain2tice.fr/liens/" target="_blank"><dfn>9: </dfn><span>Liens</span></a></li>
So, Mark, what you said about the template ? I think you're wrong, sorry.
Regards,
Eric