From: SourceForge.net <no...@so...> - 2009-03-25 04:15:44
|
mod/ads item #2705559, was opened at 2009-03-23 03:58 Message generated for change (Comment added) made by verdonv You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=858037&aid=2705559&group_id=81360 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Support Request Group: 1.x.x Status: Pending Resolution: Accepted Priority: 5 Private: No Submitted By: Englesos (englesos) Assigned to: Greg Meiste (blindman1344) Summary: Link Target Options Initial Comment: The mod works like a charm - great product. Is there/can there be an option to stop the automatic opening of all links in a new window? Or else to optionally disable links? I don't want to bounce people out of my site unless I have to, or alternatively I'd like the option to send them elsewhere within my site - such as to a page or microsite for a particular topic/client/product. Many thanks :-) Englesos ---------------------------------------------------------------------- >Comment By: Verdon Vaillancourt (verdonv) Date: 2009-03-24 23:15 Message: Yes, that will work.. but I would still 2nd the feature request to be able to control the target of the link on an ad by ad basis. I might want some to stay in the window and others to target new windows. ---------------------------------------------------------------------- Comment By: Greg Meiste (blindman1344) Date: 2009-03-24 21:29 Message: You can modify the ad view template (ad/view.tpl) and take out target="_blank". You could also take out the link completely if you desire. The phpWebSite template engine looks for the template file in the following order: 1) It will first look in the theme (e.g. theme/mytheme/templates/ads/ad/view.tpl) 2) then it will look in the template directory (e.g. templates/ads/ad/view.tpl). 3) Finally it will look in the mod directory itself (e.g. mod/ads/templates/ad/view.tpl). It is recommended to use option #1 or #2. That way, when you upgrade the module, you don't accidentally overwrite your template modification. Hope that helps. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=858037&aid=2705559&group_id=81360 |