I have a small problem, the hash tags for each tweet displayed are linking through to the twitter search page (https://twitter.com/search-home) rather than to the search results for that particular hash tag.
How can I fix that?
Could you please explain more detail about your issue? It is easier for us if you send me link to the page where we can check this issue.
Sure, you can see the module on the homepage, right-hand column here: http://www.telcoexec.com
When you click on a hash tag say #telecoms for example (see screenshot: http://screencast.com/t/FqbARrLpeI) they open the generic twitter search page instead of the correct hash tag search results page (https://twitter.com/hashtag/telecoms?src=hash).
So my question is how can I get the hash tag links to open the correct page? Hope that’s a bit clearer.
To resolve this issue, please follow these steps :
– Open the file:
– Find the code line:
[PHP]$description = preg_replace(‘#(^|[n ])#([^ “tnr<:]*)#i’, ‘$1<a target=”_blank” href=”https://twitter.com/search?q=#$2&src=hash” >$2</a>’, $description);[/PHP]
– And replace it with:
[PHP]$description = preg_replace(‘#(^|[n ])#([^ “tnr<:]*)#i’, ‘$1<a target=”_blank” href=”https://twitter.com/hashtag/$2?src=hash” >$2</a>’, $description);[/PHP]
1 user says Thank You to Thanh Nguyen Viet for this useful post
Excellent! Thank you 🙂
This topic contains 5 replies, has 2 voices, and was last updated by spheredesign 4 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
New Unified Portal is live
Please post all new support queries in our New Forum.
Please read this Announcement for details.