Search found 63 matches
- Sun Mar 21, 2021 11:30 pm
- Forum: FlatPress project
- Topic: FlatPress 1.2 "Legato" released
- Replies: 1
- Views: 92
Re: FlatPress 1.2 "Legato" released
Oh man, have already updated my dev blog with this version, and I'll be updating my main site with it soon. Well done to everyone involved~
- Fri Mar 19, 2021 2:10 am
- Forum: General Support
- Topic: How can I remove the web page entry field from the Comments form?
- Replies: 6
- Views: 216
Re: How can I remove the web page entry field from the Comments form?
My Comment-Form.tpl looked a little differently, but I remove the URL section and got the same results. So thanks for pointing me in the right direction! <div id="comment-userdata"> <p> <input type="text" {$error.name|notempty:'class="field-error"'} name="name&quo...
- Thu Mar 18, 2021 3:26 pm
- Forum: General Support
- Topic: How can I remove the web page entry field from the Comments form?
- Replies: 6
- Views: 216
Re: How can I remove the web page entry field from the Comments form?
Very simple to do. Go to the root of your FP install directory and locate "fp-interface/sharedtpls", and open the file called "comment-form.tpl". Simply find the following code and remove it: <p> {if isset($error) && isset($error.url) && !empty($error.url)} {assig...
- Tue Mar 16, 2021 12:09 pm
- Forum: FlatPress project
- Topic: Second beta release of FlatPress 1.2 "Legato": Please help testing
- Replies: 17
- Views: 1232
Re: Second beta release of FlatPress 1.2 "Legato": Please help testing
I'm ready for a release whenever you are!
- Fri Feb 26, 2021 11:40 pm
- Forum: General Support
- Topic: Use PHP in entries
- Replies: 18
- Views: 1210
Re: Use PHP in entries
Fair enough. I think I'll just focus on my blog content for now and maybe come back to this at some point in the future.
- Sun Feb 21, 2021 2:06 pm
- Forum: General Support
- Topic: How add a sharing button on Static pages ?
- Replies: 9
- Views: 521
Re: How add a sharing button on Static pages ?
If this can help you, this works better http://www.facebook.com/sharer/sharer.php (with this every page is shared well) than this http://www.facebook.com/sharer.php At the end I use this code: <a href="http://www.facebook.com/sharer/sharer.php?u={$id|link:page_link}&title={$subject|tag:the...
- Sat Feb 20, 2021 8:43 pm
- Forum: General Support
- Topic: How add a sharing button on Static pages ?
- Replies: 9
- Views: 521
Re: How add a sharing button on Static pages ?
Ah, glad you got it working! 

- Sat Feb 20, 2021 6:29 pm
- Forum: General Support
- Topic: Use PHP in entries
- Replies: 18
- Views: 1210
Re: Use PHP in entries
You need to tell your plugin to assign Smarty variables. function yourFunction() { global $smarty; $smarty->assign('yourvariable', 'some value'); These can then be used in the templates: <a href="{$yourvariable}">Back</a> Would I still be able to set what that variable is on a per static ...
- Sat Feb 20, 2021 6:21 pm
- Forum: General Support
- Topic: How add a sharing button on Static pages ?
- Replies: 9
- Views: 521
Re: How add a sharing button on Static pages ?
Hi, I have tried to modify in: <a href="http://www.facebook.com/sharer.php?u={$id|link:page_link}&title={$subject|tag:the_title}" target="_blank"><img src="/Immagini/facebook.png" border="0" alt="Facebook" width="36" height="36&qu...
- Sat Feb 20, 2021 2:19 am
- Forum: General Support
- Topic: How add a sharing button on Static pages ?
- Replies: 9
- Views: 521
Re: How add a sharing button on Static pages ?
On the plugin you made last year, I did add a thing on how to make it work on static pages. The same change will work here.
Please see this post: viewtopic.php?f=4&t=144&start=10#p453
Please see this post: viewtopic.php?f=4&t=144&start=10#p453