Re: News & Article Management
When I installed News and Article module together with Image Handler2 module, There is a conflict beetwen them. The image on article not align in a proper place. The image goes to above the article title. When you remove the image handler, the image on article back to normal. I found this on other section of this forum but never solved since a year ago. Maybe here, the right place to report the problem.
Fckeditor problem in News & Article Manager
I have installed news & article manager without any problems however there seems to a small error when trying to use the fckeditor.
I hope someone can help me out here..
Many thanks in advance
Bruce
I get this error-
Warning: Missing argument 1 for FCKeditor::__construct(), called in /admin/news.php on line 368 and defined in /admin/includes/fckeditor_php5.php on line 42
Fatal error: Call to undefined method FCKeditor::CreateFCKeditor() in /admin/news.php on line 370
The code that I have in NEWS.php is -
// News Article Headline, Summary, & Content input
// • HTML Editors support for summary input
if (HTML_EDITOR_PREFERENCE == 'FCKEDITOR') {
echo '<td class="dataTableContent" align="left" colspan="4">';
$oFCKeditor = new FCKeditor;
$oFCKeditor->Value = (($news_article_shorttext[$lang['id']]) ? stripslashes($news_article_shorttext[$lang['id']]) : news_get_news_article_shorttext($nInfo->article_id, $lang['id']));
$oFCKeditor->CreateFCKeditor('news_article_shorttext[' . $lang['id'] . ']', '100%', '130') ; //instanceName, width, height (px or %)
echo '</td>';
} elseif (HTML_EDITOR_PREFERENCE == 'HTMLAREA') {
echo '<td class="dataTableContent" align="left" colspan="4">' . zen_draw_textarea_field('news_article_shorttext[' . $lang['id'] . ']', 'soft', '70', '10', (($news_article_shorttext[$lang['id']]) ? stripslashes($news_article_shorttext[$lang['id']]) : news_get_news_article_shorttext($nInfo->article_id, $lang['id'])), 'style="width: 100%"') . '</td>';
} else {
echo '<td class="dataTableContent" align="left" colspan="4">' . zen_draw_textarea_field('news_article_shorttext[' . $lang['id'] . ']', 'soft', '70', '5', (($news_article_shorttext[$lang['id']]) ? stripslashes($news_article_shorttext[$lang['id']]) : news_get_news_article_shorttext($nInfo->article_id, $lang['id'])), 'style="width: 100%"') . '</td>';
}
echo
'<td class="dataTableContent" align="left"> </td>' .
'</tr>' .
'<tr class="dataTableRow">' .
'<td class="dataTableContent" align="left" valign="top">' . TEXT_NEWS_CONTENT . '<br /><a href="javascript:preview(\'news_article_text[' . $lang['id'] . ']\');"><em>' . TEXT_NEWS_CONTENT_PREVIEW . '</em></a></td>';
Re: News & Article Management
Hello All ... hope I can find some folks in here ...
have N&AM installed ... began the config process ... but I'm stuck on the landing page ...
Looking to have a News entrance that simply displays the following:
DATE
TITLE (links to full article)
SUMMARY
REF: http://northwood-farms.com/docs/news...sweet-news.jpg
I keep seeing references to the "News Summary Module" in the forums ... and even in the DOCS
REF: http://northwood-farms.com/docs/news...reenshots.html
For some reason ... I can't seem to find anything related to either the separate download or any manual config ...
Anyone else have this issue?? Anyone have an idea where to download this module?? Anyone have ANYTHING like what I've described?
Thanks in advance ...
Re: News & Article Management
just to be clear ... I understand that I can include the statement as described in "Optional Install News Summary Module (Recommended)" instructions to the "includes/templates/template_default/templates/tpl_index_default.php" by using the following:
<?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEWS_SUMMARY_MODULE)); ?>
what I'm trying to do is simply create a news landing page in the place of the NEWS index ... not the main index
Re: News & Article Management
and to further clarify ... I have yet to get the Summary Module to even display in the first place ... much less move it somewhere else ....
the structure would be ...
User clicks on NEWS from the footer or whereever ... user gets taken to the news section where the SUMMARY would show with a footer to get to recent/archive/etc ...
NEWS {from an ez link in the footer} --- >
NEWS Summary landing/section {links to articles/recent/archive/etc} --- >
NEWS Articles
Anyone??
Re: News & Article Management
:shocking:
I used zencart 1.3.8a and add on some module but some of it not actived:
- I installed rss feed on zencart 1.3.8a. Then, I integrated wordpress on zencart but RSS feed module of zencart error but rss on wordpress run well
please help me! can you tell me some solutions, i very need treatment this problem!
Thank You very much!
Sorry because I write english not well, I hope you can understand and help me.
Hai.Trinh
-----------------
www.shopsinhvien.vn
1 Attachment(s)
Re: News & Article Management
Hey guys, I need help with this addon. After installing it according to instructions I now have an option to turn on the SUMMARY module on the main page. So I set that to true and it appears. Now thing is, in the instructions it actually says to edit the tpl_index file and add the line that makes the summary module so how did it get to the admin? Besides the question, theres a problem. See, when I set the summary module to appear (enable it in the admin) it injects the module in a way that I can't control it. I have my main page content set to 3 DIVS Featured product, New Product, News (here goes the summary). Now these three sections are all DIVS that floats to each other. Problem is, the summary module is INJECTED right BETWEEN the two other divs causing disorder in the design...simply put instead of Featured Product // New Product // News & Articles I get Featured Product // News & Article // Featured Product...so any clue how to make this work normally? and if someone could answer my first question I'll be glad.
Re: News & Article Management
I've finally succeeded in what I wanted so nvm last post. Other thing though, how can I edit articles using a wysiwg editor? It doesn't seem to be affected when I enabled html area to be an editor.
Re: News & Article Management
OK ... here I try again ... SUMMARY problems ...
We start here ...
http://northwood-farms.com/index.php
I DO NOT want anything but a link to the NEWS (via Sweet News in footer)
Once user clicks on Sweet News, it should take them to the News Summary in the following format:
[loop through ALL articles]
DATE
TITLE (links to full article)
SUMMARY (read more if I must)
User clicks on article and the articles is displayed in full
I still cannot seem to get the summary module to work at all ...
I've added the include statement to the tml_index, tpl_footer ... I've even added it to the news_default ... all it does is CRASH the page ... as soon as the code hits the include statement, everything stops ...
Any ideas?? Anyone??
Has anyone had trouble displaying the summary???
Re: News & Article Management
I'm in big trouble. :(
I installed this contribution + the optional news scroller. It went fine except of the SQL patch of the scroller which isn't ending correctly, it only installed the sidebox but not the statements required for changing the height and such. Luckly, I found a solution for that earlier in this thread so that one is pretty much solved. ANYWAY, I have the FCK editor installed and it doesn't seem to work properly with the articles management so I changed back to HTML AREA and it works (still need to solve this tho). Thing is, before I figured it was the FCK editor causing a php error on the articles management, I went back and re-ran the SQL patches for the article management and now I have it appearing twice in the admin 'configuration' menu :( I found an uninstall SQL patch earlier in this thread but that doesn't work correctly so I'm in trouble. How can I totally remove Article management from the SQL so I can cleanly install it again?