Francis Crossen
Forum Replies Created
-
Forum: Plugins
In reply to: [Author: Francis Crossen (fcrossen)] Is this plugin discontinuedHi,
Sorry – I only saw this message now.
Tina MVC works with WP 3.8.1 – see the demo site at https://tina-mvc-demo.seeit.org/.
If you need any help with your integration just shout.
Regards,
Fran.Forum: Themes and Templates
In reply to: [Tempera] ResponsiveMake your images 318 x 201 pixels and they’ll behave.
Forum: Plugins
In reply to: [Author: Francis Crossen (fcrossen)] Error by installing how to remove tinaHi,
Sorry about the delay in replying – I never saw the notification of this message.
If you just install and activate Tina MVC, it makes *no* changes to your database (other than setting some options for it’s own use). When you remove Tina MVC it cleans out the options table. Of course, this changes once you start to write your own code.
If you are debugging, try:
– addingdefine('WP_DEBUG',TRUE)
to your wp-config.php file
– making sure$tina_mvc_app_settings->missing_page_controller_action = 'display_error'
is set in your Tina MVC app_settings.php file.Also, remember that changes to Tina MVC’s app_settings.php file are only applied when you deactivate and reactivate the plugin.
F.
Forum: Hacks
In reply to: Can't access wordpress. Showing a Parce error: syntax errorRename the theme folder ‘allure-real-estate-theme-for-placester’ and the default theme will be used instead.
Forum: Plugins
In reply to: Comments:EmailNotification to all Admins ?Check out:
https://codex.www.ads-software.com/Function_Reference/wp_notify_moderatorIt is a pluggable function – define it in your own plugin and it will override the WP one.
I needed to display excerpts when available, with a fallback to the truncated content. Since excerpts allow for HTML, this was perfect for me.
Here’s the fix:
In
themes/{theme_name}/display.php
, change:<p><?php echo FA_truncate_text($post->FA_post_content, $image ? $options['desc_truncate'] : $options['desc_truncate_noimg']);?></p>
to
<p> <?php if( $post->post_excerpt) { echo $post->post_excerpt; } else { echo FA_truncate_text($post->FA_post_content, $image ? $options['desc_truncate'] : $options['desc_truncate_noimg']); } ?> </p>
Hope this helps.
Forum: Fixing WordPress
In reply to: Can't Get the Terms from My Posts!Sorry – I didn’t read your post properly.
Fixed my issue too – another bonehead problem!Thanks.
Forum: Fixing WordPress
In reply to: Can't Get the Terms from My Posts!Having the same problem here… care to share how you fixed this?
??
Thanks,
Forum: Fixing WordPress
In reply to: Development SystemsIf I understand your problem correctly, you could set an entry in your
/etc/hosts
files for https://www.example.com (or whatever your WordPress domain is).Point the domain at your netbook.
Forum: Fixing WordPress
In reply to: 500 Internal Server Error With Go DaddyHave you tried removing the .htaccess file altogether? Server 500 errors are often caused by syntax and other errors.
If that doesn’t work, put it back and wait for goDaddy!
Forum: Fixing WordPress
In reply to: 3.0 Upgrade: Success, but now I just get blank pagesThere is also a known issue with some plugins. See:
https://www.ads-software.com/support/topic/411422?replies=5#post-1556528
for a fix.Forum: Fixing WordPress
In reply to: 3.0 Upgrade: Success, but now I just get blank pagesCheck your web server error logs and set us know what you get.
You can also
define( 'WP_DEBUG' , 1 )
in your wp-config.php file to display error messages. (Don’t forget to comment out/delete the line after you are finished).Forum: Plugins
In reply to: How do I create a new page with the plugin I’m buildingYour problem is on line 15… if you are using permalinks then page_id is 0 and isset returns true.
Try:
if(!empty($q->query_vars['page_id']) AND (intval($q->query_vars['page_id']) == $this->page_id ))
Forum: Plugins
In reply to: How do I create a new page with the plugin I’m buildingThanks.
I can’t think of a way to prevent the page from appearing.
In fairness you don’t need a page. I did this so my page would appear in the WordPress menu system. You could sniff out the request and create a blank post with your own content and title.
I also had a comment from R’phael Spindel suggesting I look at WP_Rewrite. That could accomplish the same thing.
Forum: Alpha/Beta/RC
In reply to: How to add_filter to the_posts in WordPress 3.0 Alpha?I’m using
the_posts
filter for a plugin and all is well with beta 2. Beta 1 was fine too.Check the source for the ‘Tina MVC’ plugin and look at:
– tina_mvc.php: function tina_mvc_page_filter( $posts )