Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 10:25:39 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155556
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Facebook like on news post
Pages: [
1
]
Go Down
Author
Topic: Facebook like on news post (Read 266 times)
Gerben
Offline
Posts: 3
Facebook like on news post
«
on:
January 08, 2012, 03:33:51 PM »
At the bottom of a single newspost we have a tweet and like button. When you click on it, the url of the specific newspost is send as a tweet or a like. The url of the page is based on its newspost title. The problem is that when you change the title of the newspost, the url of the page also changes. So my question is, can you open a newspost based on its post_id? For example, now you link a news post with title "This is a post" with an url like: /pages/posts/this-is-a-post-234.php, and I would like to link it with an url like: /pages/posts/post.php?post_id=234. Is this already possible with module news, or do I have to make my own post_id based url referrer?
In het Nederlands:
Ik heb een Like button die een nieuwsbericht met de url naar Facebook doorzend. Nu is de url gebaseerd op de title zoals "dit-is-een-bericht-232.php" en ik wil een url gebaseerd op "bericht.php?post_id=232". Is dit al mogelijk in de module news?
Logged
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2298
Re: Facebook like on news post
«
Reply #1 on:
January 08, 2012, 11:03:10 PM »
No, WB (and also the news module) use SEO friendly urls.
It might be possible to modify the /modules/news/view.php so it will accept a link like that, but it would also be difficult to generate the correct link for the FB/TW buttons.
Logged
Professional WebsiteBaker Solutions
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...