Hello,
Thanks for your usefull widget
I have made an upgrade to be able to templatize the output
here the changes I have made in rp-news-ticker-front.php
in the function display_frontend
/**
* Widget Output Begins
*----------------------------------------------------*/
// use a version of the widget template from the theme if it exists
// otherwise, use the default widget template from the plugin folder
$fpw_template = locate_template( 'rp_news_ticker_template/rpnt_default.php', false, true );
foreach($myposts as $post){
setup_postdata($post);
if( $fpw_template ) {
require( $fpw_template );
} else {
require( plugin_dir_path( __FILE__ ) . 'rp_news_ticker_template/rpnt_default.php' );
}
$in_categories[] = $result;
}
$alldata = array();
and here you actual template in the directory of your plugin, file rp_news_ticker_template/rpnt_default.php
<?php
$result = sprintf('<li><span>%s</span><a href="%s">%s</a></li>',
apply_filters('the_time', get_the_time($options['date_format']), $options['date_format']),
apply_filters('the_permalink', get_permalink()), stripslashes(the_title('', '', false))
);
here my template in my theme folder, file rp_news_ticker_template/rpnt_default.php
<?php
$result = sprintf('<li>%s</li>',
stripslashes(the_title('', '', false))
);
thanks again
Fran?ois Chastanet
Like everyone else…
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in …/wp-content/plugins/rp-news-ticker/rp-news-ticker-loader.php on line 92
Why can’t you fix this plug-in to work with PHP prior to 5.3 ??? Few people have control of what version of PHP their hosting company uses.
]]>Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/xporium/public_html/dev/wp-content/plugins/rp-news-ticker/rp-news-ticker-loader.php on line 92
]]>AL INSTALARLO APARECE ESTO:
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/luchosar/public_html/wp15/wp-content/plugins/rp-news-ticker/rp-news-ticker-loader.php on line 92
]]>Not able to install.
Reports error:
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in .../wp-content/plugins/rp-news-ticker/rp-news-ticker-loader.php on line 92
It worked okay (a few glitches but I could work around them) and then I upgraded hoping it would fix the glitches and it shut the whole site down.
It is now deleted never to be reinstalled.
]]>Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home2/finsntal/public_html/temporary/wp-content/plugins/rp-news-ticker/rp-news-ticker-loader.php on line 92
]]>Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home2/mefedusa/public_html/mediu/wp-content/plugins/rp-news-ticker/rp-news-ticker-loader.php on line 92
]]>[Plugin: RP News Ticker] Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM
]]>I get the following error…
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/clvrdev/public_html/wp-content/plugins/rp-news-ticker/rp-news-ticker-loader.php on line 92
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM
]]>Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/content/99/6770699/html/wp-content/plugins/rp-news-ticker/rp-news-ticker-loader.php on line 92
]]>Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/content/99/6770699/html/wp-content/plugins/rp-news-ticker/rp-news-ticker-loader.php on line 92
]]>.5 works fine. updated today to .7 and it broke the site. could be conflict with other scripted program. jquerycolorbox?
needed to ftp and roll back to .5 and all is fine. .7 will leave you stranded with not access to admin or your site. major error ??
]]>Hi.
I just updated the plugin and i cant reacticate its giving be an unknown error on line 92 in rp-news-ticker-loader.php
]]>I have a custom menu that appears on child pages in every main section.
I use the following function to accomplish this:
function is_child($pageID) {
global $post;
if( is_page() && ($post->post_parent==$pageID) ) {
return true;
} else {
return false;
}
}
This fetches a menu called “In this Section” for each page in a given section.
When I activate the RP News Ticker, the menus disappear on the child pages, but remained on the parent page (first level of section). The sidebar is empty of content.See here (plugin will be activated for now):
https://www.fvlc.dreamhosters.com/?page_id=84
Any ideas as to why this would be?
I am using Thematic Power Blog as a child theme of Thematic. I really like the ticker because I can use “explicit” content.
Let me know if you have any ideas why this conflict would be.
Thanks! Mary
]]>How can I make the ticker show across the site or the site’s content, not just the sidebar?
]]>I installed this plugin and created an unordered list in the content box. Half the time nothing show up on the page, the rest of the time the text doesn’t scroll.
]]>