Using CMSMS 1.3.1 Havana, I created a new "page" using the "External Link" content type. I set the target to "_blank" so that the link would open in a new window. This worked fine, and for the past few weeks, the site has been running with no issues.
Today, I needed to change that link to a regular page. So I opened the page in the admin, changed the Content Type from "External Link" to "Content", and completed the rest of my changes, adding text, etc. Everything works fine EXCEPT that the page still opens in a new window. The "target='_blank'" attribute is still being applied for some reason.
I'm going to look in the db to see if I can change this manually, or if I will have to erase and recreate the page from scratch.
Can anyone else reproduce this issue?
---
EDIT TO ADD:
Looking at the db, this page shows "url,target,content_en" in the prop_names field. If I remove "url,target", everything works OK.
Change content type from External Link to Content - bug?
Change content type from External Link to Content - bug?
Last edited by jmcgin51 on Mon Jul 21, 2008 8:56 pm, edited 1 time in total.
Re: Change content type from External Link to Content - bug?
If someone can confirm this issue, I'll submit a bug report.
Thanks
Thanks
Re: Change content type from External Link to Content - bug?
content type "content" does not have a "target" option; so is not displayed when that type is chosen.
remove the target while content type is still set to "external link", then change content type to "content".
remove the target while content type is still set to "external link", then change content type to "content".
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Change content type from External Link to Content - bug?
content pages have a 'target' dropdown in 1.4 
also, if you changed the content type back to link, changed the target to _none', hit apply then changed the content type back to 'content'.... I don't think you would lose any data.

also, if you changed the content type back to link, changed the target to _none', hit apply then changed the content type back to 'content'.... I don't think you would lose any data.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Change content type from External Link to Content - bug? (SOLVED)
so it sounds like this really probably isn't a bug, but just the software working differently from what I expected. I expected that if you changed content types, all the attributes associated with the previous content type would be cleared. It doesn't work that way, so I'll just keep this in mind for the future.
thanks kermit and calguy!
thanks kermit and calguy!