Could someone check this out before I submit a bug report?
On 7.0.2 and 7.0.3, add a link to an external site using the Add link function.
Set it to use direct link and select new window (_blank) from the dropdown.
The page doesn't open in a new window it replaces the page in the site.
Links and new window
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Links and new window
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Links and new window
Yes there seems to be some problem. I have checked this with 7.0.3 on Category Page with data. Going to report it for 7.0.3.
Re: Links and new window
Issue logged, you can track progress here
http://bugs.ablecommerce.com/show_bug.cgi?id=8220
http://bugs.ablecommerce.com/show_bug.cgi?id=8220
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Links and new window
Is it something you can post a patch of code for? We've got a client ready to go live and I'll have to try something if you can't!
Thanks
Thanks
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Re: Links and new window
In categorygridpage4 locate following code
and update it as
Code: Select all
//OUTPUT LINKED NAME
itemTemplate1.Controls.Add(new LiteralControl(string.Format("<a href=\"{0}\" class=\"highlight\" target=\"{1}\">{2}</a><br />", catalogNodeUrl,target ,catalogNode.Name)));
Code: Select all
string target = string.Empty;
if (catalogNode.CatalogNodeType == CatalogNodeType.Link)
target = ((Link)catalogNode.ChildObject).TargetWindow;
//OUTPUT LINKED NAME
itemTemplate1.Controls.Add(new LiteralControl(string.Format("<a href=\"{0}\" class=\"highlight\" target=\"{1}\">{2}</a><br />", catalogNodeUrl,target ,catalogNode.Name)));