Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 11:41 pm EST

Geeklog Forums

New Popup for Moreover News Links


Leafsforever.ca

Anonymous
Hi, I have a question that I hope can be answered. We are using an RSS newsfeed for moreover news. When clicking on a news link in the block it opens in the same browser, rather than opening the news article in a new browser.

Can this be changed? Thanks for the help! -Austin
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You need to hack COM_rdfImport() in lib-common.php to do that. bye, Dirk (who's glad that Mozilla can override target="_blank" ...)
 Quote

Leafsforever.ca

Anonymous
Can you please explain how exactly I would go about doing this? Thanks a bunch! -Austin
 Quote

Anonymous

Anonymous
at lib-common.php look for $headlines[] .= '<a href="' . addslashes($channel_data_link[$i]) . '">' and add target="blank" like $headlines[] .= '<a href="' . addslashes($channel_data_link[$i]) . '" target="_blank">'
 Quote

All times are EST. The time is now 11:41 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content