Hi, probably a stupid question: When creating a new page I am able to put a link to an external site under options/address. When clicking now on this new page, the link will be open in the same window. It is possible to open this external link in a new page ?
I know that I can put a code i.e.: <a href="http://www.google.de" target="_blank">http://www.google.de</a></p> in short ot long description, but this is not possible under optiosn/address.
A few changes to do: 1. /actions/pages.php direct under: if(isset($aData)){ comment out the whole if(!empty($aData['sUrl'])){ ... ... } then in /core/pages.php in both functions throwMenu & throwSubMenu under $aData['iDepth']=0; add: if(isset($aData['sUrl'])&&!empty($aData['sUrl'])){ $aData['sLinkName']=$aData['sUrl']; $oTpl->setIf('NEW_WINDOW'); } then in /templates/default/menus.tpl direct after: <a href="$aData[sLinkName]" (but before: >$aData[sName], also still inside of a tag) add: <!-- IF:START NEW_WINDOW --> target="_blank"<!-- IF:END NEW_WINDOW -->
I don't know why, but the js function opening a new window by recognizing class="new-window" is no more there (qc51add). So we have to use target= _blank, or take the function targetBlank from older version of qc (in common.js). In this case you don't need to use the deprecated target=_blank method.