Hi
I wanted to know the step for installing news and article management plugin to my website. Please help me, its very urgent.
Thanks
Printable View
Hi
I wanted to know the step for installing news and article management plugin to my website. Please help me, its very urgent.
Thanks
The Plug-in have a readme, all step there.
Remember back the files if it is overwrite. Using WinMerge for help integration the coding (Windows Base)
And backup the MySQL too.
Hi all,
I am using this modules and it is real good and thank all the developer make this on the work.
Now I have a layout problems on this module that need help.
The default title and it content layout are like that...
Title 001
Introduction Text 001
Click to see More 001
Title 002
Introduction Text 002
Click to see More 002
and so on....
And the loop continues until a value make it stop...
Now ... I am thinking it is too wide ... and want to make it as left/right, left/right loop layout ... how to change the coding like that?
This is what I want it to be of the layout ...
Title 001 Title 002
Introduction Text 001 Introduction Text 002
Click to see More 001 Click to see More 002
Title 003 Title 004
Introduction Text 003 Introduction Text 004
Click to see More 003 Click to see More 004
Thank you.
PHP Code:
<?php
// this query uses part of the original news query, just simplified, if you need different languages that coding needs adding, to alter the amount of stories shown change the limit 5 to number required
$comments = $db->Execute("select n.news_date_published, n.article_id, nt.news_article_name, nt.news_article_shorttext, n.news_image, nt.news_image_text from " . TABLE_NEWS_ARTICLES . " n left join " . TABLE_NEWS_ARTICLES_TEXT . " nt on n.article_id = nt.article_id where n.news_status = '1' order by n.article_id desc limit 5 ");
while (!$comments->EOF)
{
// article_id is used for testing comment out when you ready to send this live
//echo $comments->fields['article_id'];?><br /><span class="articleHeading"><?
echo $comments->fields['news_article_name'];?></span><br /><?
echo strtoupper(zen_date_long($comments->fields['news_date_published']))?> <br />
<?
// get the url for the article and attach to a simple read more link
$articleLink = zen_href_link(FILENAME_NEWS_ARTICLE, 'article_id=' . $comments->fields['article_id']);
// get image for story
if ((zen_not_null($comments->fields['news_image'])) && file_exists(DIR_FS_CATALOG . DIR_WS_IMAGES . $comments->fields['news_image'])) {
$articleImage = zen_image(DIR_WS_IMAGES . $comments->fields['news_image'], $comments->fields['news_image_text'], '', '', 'align="left"');
echo "<a href=" . $articleLink . ">" . $articleImage . "</a>" . "<p style=\"margin-left: 225px;\">" ;
}
echo $comments->fields['news_article_shorttext'];?></p><br /><?
?>
<div class="articleLinkList"><a href="<? echo $articleLink;?> ">Read more</a></div>
<div><img src="includes/templates/theme412/images/hr_bar.jpg" width="819" height="15" alt="" /></div>
<?
// bit of space between articles, if you do this properly with css you can style this better
?><br /><br /><?
$comments->MoveNext();
}
// need to add link to rest of news here if required
?>
Hello everyone, I have used successfully this plug-in version 1.39. Now I upgraded my store to version 1.51 with a new fresh installation. But unfortunately I can not install the patch sql. The error message is: "Error: Nothing to do - no query or query-file specified."
Could someone help me to solve? thanks in advance
I have tried the code that explorer1979 pointed out to show more than one article on the Recent News, it works but the styling of the original is lost. There must be some way of using the original news.php to include more than one article. My PHP knowledge is limited but I am confident I can figure it out if pointed in the right direction... Maybe using the article_id value with a while statement? Any help would be appreciated, I'm just looking for a starting point. Thanks!
Hi Speedwar
I'm still waiting to see if anyone has been able to get this working on 1.50 and nothing yet, so I'm guessing you're having the same problem I'm having with 1.50.
It's installed but there is no option in Admin > Configuration.
Try running "news_authors.php", and "news.php" in your Admin directory by typing in the full path yourdomain/admin-directory/news.php to add new articles, and news posts. I'm using "Links Manager" that way and its working fine. That is as far as I've gotten. In 1.50 there is a "Admin Page Registration" utility to add 3rd party plugins but I haven't figured out what to put into it to register the plugin.
In your 1.5.1 installation did you get any new settings for News & Article Management? Also, did you install the optional Sidebox?
I'll let you know if I find a way to use the "Admin Page Registration" utility, I think that is the key to being able to use this on 1.50 and above.
Thanks,
Gary
Installed it - not a clue how to enter my .xml code for the rss feed or where or what file to put this in or where to find it, nothing appears on my site and I cannot find anyway to make this work.
Hey pretty dumb
Did you follow the install info in the docs folder of your ZIP file? After following the installation instructions located in the _docs subfolder everything came up as expected for me. You should be able to add articles under the Catalog drop down menu in your admin, and settings are under the Configuration dropdown.
I've installed this feature, but when I try to get any of the options I'm getting empty results. For instance, I try to get the feed for new products and I'm getting it empty but when looking for new products on the site I get a huge list of them...
What can I do?