Re: News & Article Management
Quote:
Originally Posted by
MischiefDesignz
I have installed this on 1.3.9 c and it works perfectly, except for a couple little snags, 1. I am using the news ticker and on different resolution and larger monitors then mine, the ticker " scrolling message" is either cut off or not even showing. How do I change the height?
Thanks in advance!
figured out the height change.
Go to includes/templates/template you have it uploaded to/sideboxes/and edit tpl_news_ticker.php
around line 36 you will see NEWS_TICKER_HEIGHT, just delete that and add a number that is more acceptable for it to be veiwed, I have put 35 and it works great.
Re: News & Article Management
Quote:
Originally Posted by
MischiefDesignz
I have installed this on 1.3.9 c and it works perfectly, except for a couple little snags, 2. on the news page there is a date of WEDNESDAY 31 DECEMBER, 2014. How can I remove this?
Figured this out as well, I have just removed it,
includes/templates/template where you have the files/templates
edit tpl_news_article_default.php also tpl_news_default.php
around line 35
Code:
// News header
$newsDisplay->newsHeader(HEADING_TITLE, $newsDate, $newsHeaderLinks);
remove
Code:
$newsDate, $newsHeaderLinks
so it will look like this
Code:
// News header
$newsDisplay->newsHeader(HEADING_TITLE);
Re: News & Article Management
Hi everyone
do you know how to display the title of the article in the header of the brower?
I can't see it in my articles. here is a link http://www.cheap-poloshirts.com/inde...e&article_id=1
can't display the title
thanks
Re: News & Article Management
Fix for future versions.
Code:
UPDATE configuration SET set_function = NULL WHERE configuration_key = 'RSS_CACHE_TIME';
Re: News & Article Management
How can I open the first page? It's seems that I do not have rights.
Re: News & Article Management
Wondering the same thing as sub103. How do I get the ArticleHeading to be the page title. and how do I get ArticleSummary to be the page description?
I am using 1.3.9f.
TheScannerStore.com
Re: News & Article Management
Has anyone come up with a way to display the Article Name rather than the Article Date in the Recent News Section?
Quote:
Originally Posted by
poosk
Can I somehow display just recent news and change the article heading instead of date like in the example?
Recent News
Wednesday 19 May, 2010
Thursday 15 April, 2010
Tuesday 23 February, 2010
Wednesday 10 February, 2010
Friday 05 February, 2010
News archive
Re: News & Article Management
(1) I added the following code in bold to /includes/modules/pages/news_article/header_php.php
require(DIR_WS_MODULES . 'require_languages.php');
require_once(DIR_WS_CLASSES . 'news.php');
$article = $db->Execute("select n.news_date_published, nt.news_article_name, nt.news_article_shorttext from " . TABLE_NEWS_ARTICLES
(2) I also changed code in /includes/modules/meta_tags.php to fix this.
After the following line:
// NO "break" here. Allow defaults if not overridden at the per-page level
Insert the following code:
//// Dynamic titles for news pages
// BOF
case 'news':
if (isset($_GET['date']) && zen_not_null($_GET['date'])) {
define('META_TAG_TITLE', zen_date_long($date) . ' : ' . NAVBAR_TITLE . PRIMARY_SECTION . TITLE . TAGLINE);
} else {
define('META_TAG_TITLE', (defined('NAVBAR_TITLE') ? NAVBAR_TITLE . PRIMARY_SECTION : '') . TITLE . TAGLINE);
}
define('META_TAG_DESCRIPTION', NAVBAR_TITLE . PRIMARY_SECTION . TITLE . METATAGS_DIVIDER . SECONDARY_SECTION . KEYWORDS);
define('META_TAG_KEYWORDS', KEYWORDS . METATAGS_DIVIDER . NAVBAR_TITLE);
break;
case 'news_article':
define('META_TAG_TITLE', $article->fields['news_article_name'] . ' : ' . NAVBAR_TITLE . PRIMARY_SECTION . TITLE . TAGLINE);
define('META_TAG_DESCRIPTION', $article->fields['news_article_shorttext']);
define('META_TAG_KEYWORDS', KEYWORDS . METATAGS_DIVIDER . NAVBAR_TITLE);
break;
case 'news_comments':
define('META_TAG_TITLE', $article->fields['news_article_name'] . ' :' . SECONDARY_SECTION . NAVBAR_TITLE_COMMENTS . PRIMARY_SECTION . TITLE . TAGLINE);
define('META_TAG_DESCRIPTION', $article->fields['news_article_name'] . ' ' . NAVBAR_TITLE_COMMENTS . METATAGS_DIVIDER . NAVBAR_TITLE . PRIMARY_SECTION . TITLE . METATAGS_DIVIDER . SECONDARY_SECTION . KEYWORDS);
define('META_TAG_KEYWORDS', KEYWORDS . METATAGS_DIVIDER . NAVBAR_TITLE);
break;
case 'news_archive':
define('META_TAG_TITLE', news_date_archive($archive_date) . ' : News Archive : ' . NAVBAR_TITLE . PRIMARY_SECTION . TITLE . TAGLINE);
define('META_TAG_DESCRIPTION', news_date_archive($archive_date) . ' : News Archive : ' . NAVBAR_TITLE . PRIMARY_SECTION . TITLE . METATAGS_DIVIDER . SECONDARY_SECTION . KEYWORDS);
define('META_TAG_KEYWORDS', KEYWORDS . METATAGS_DIVIDER . NAVBAR_TITLE);
break;
// EOF
//// Dynamic titles for news pages
I modified for my particular taste. You may wish to do different!
Quote:
Originally Posted by
icekraz
Wondering the same thing as sub103. How do I get the ArticleHeading to be the page title. and how do I get ArticleSummary to be the page description?
I am using 1.3.9f.
TheScannerStore.com
Re: News & Article Management
Boost up
Quote:
Originally Posted by
icekraz
Has anyone come up with a way to display the Article Name rather than the Article Date in the Recent News Section?
Re: News & Article Management
Hello,
I saw there are already a few people asked similar questions but never got a clear answer:
All I want in news_archive page is a list of the articles without any date or year. How do I do that?
Thanks in advance!