Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 13, 2012, 02:58:41 AM
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
.
149700
Posts in
21103
Topics by
7538
Members
Latest Member:
ionline
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Facebook like on news post
Pages: [
1
]
Go Down
Author
Topic: Facebook like on news post (Read 153 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
Board member
WebsiteBaker Org e.V.
Offline
Posts: 2094
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 Developer
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...