Tracker: mod/ads

5 Link Target Options - ID: 2705559
Last Update: Settings changed ( blindman1344 )

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


Englesos ( englesos ) - 2009-03-23 08:58

5

Open

Accepted

Greg Meiste

RFE

1.x.x

Public


Comments ( 4 )

Date: 2009-03-25 12:43
Sender: blindman1344Project AdminAccepting Donations

Moved to the feature request category.


Date: 2009-03-25 04:28
Sender: englesos

Hi All - thanks for getting back to me.
Blindman1344's solution should cover my needs short term but - unless I
can use multiple templates - I think this is an issue for the feature list
as Verdonv suggests.
Is such an update in the pipeline?

All the best

Englesos


Date: 2009-03-25 04:15
Sender: verdonv

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.


Date: 2009-03-25 02:29
Sender: blindman1344Project AdminAccepting Donations

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.


Attached File

No Files Currently Attached

Changes ( 6 )

Field Old Value Date By
category_id Support Request 2009-03-25 12:44 blindman1344
close_date 2009-03-25 02:29 2009-03-25 12:44 blindman1344
status_id Pending 2009-03-25 12:44 blindman1344
status_id Open 2009-03-25 02:29 blindman1344
resolution_id None 2009-03-25 02:29 blindman1344
close_date - 2009-03-25 02:29 blindman1344