as you can check these links:
http://www.qqbee.com.vn/demo/opencart/intro
http://www.qqbee.com.vn/demo/opencart/changelog
http://www.qqbee.com.vn/demo/opencart/b ... r-opencart
http://www.qqbee.com.vn/demo/opencart/i ... news_id=12
and the admin
http://www.qqbee.com.vn/demo/opencart/admin
demo/demo
News/Blog extension for opencart, show Tagging related product while reading article
FAQ System for opencart, allow user to give feedback on each article
Combo set and discount when buy full set
Please find attached the Dutch Translation.
Please PM me if there is an issue.
Attachments
Dutch translation for News for OpenCart 150x v216
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
many thanks for the Dutch translation.
have just update link to the language pack in 1st post

News/Blog extension for opencart, show Tagging related product while reading article
FAQ System for opencart, allow user to give feedback on each article
Combo set and discount when buy full set
Just wondering if it would be possible to add something like a "Featured Article" checkbox to the Data tab in Admin. And what that checkbox would do would be to highlight (add a border, and possibly a light grey/other colour background) to the article in the article list/category and search pages.
So from this (no featured articles): To this (first article is featured): I think that it would be a great feature for everyone. Otherwise, PM me so we can talk costs. Thanks.
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
- when display category, only show featured articles which is belong to that category? or all featured articles?
- at the all news page (news/all) will all of them show at 1st place
- for the featured articles, what different? just show the border around all the featured articles? or border around each articles?
News/Blog extension for opencart, show Tagging related product while reading article
FAQ System for opencart, allow user to give feedback on each article
Combo set and discount when buy full set
* Good question. I've been thinking about this today. My first thought was just for the default sort (does default sort = time added / chronological?).... but then, for my purposes, customers would be paying to become "featured" so I'm thinking all kinds of sorts is probably better.fanha99 wrote:- featured articles will display at the 1st position for all kind of sort? or for default sort?
So, if the sort order is A-Z, first the featured articles from A-Z are shown first, and then the non-featured articles from A-Z follow.
Yep, I think all kinds of sort would be best

* Only show featured articles that belong to that category.fanha99 wrote:- when display category, only show featured articles which is belong to that category? or all featured articles?
* Yes... so when the customer clicks on sort (any kind), the featured articles are shown first, and then the non-featured articles follow (like the answer to the first question).fanha99 wrote:- at the all news page (news/all) will all of them show at 1st place
I'm unsure about the search page though. My first thought is that the featured articles shouldn't affect the results on the search page... But then again, maybe it should be the same as the the category/all examples above... featured articles show at the top of search and are sorted accordingly, followed by non-featured articles (I'll have to think about this one some more).
* The border is only around the featured articles. All normal articles just display as per usual. The featured articles could also have some other style changes, like a light coloured background, or bold heading, or something that makes them stand out.fanha99 wrote:- for the featured articles, what different? just show the border around all the featured articles? or border around each articles?
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
- "sort order field" Ascending, than date DESC
when I need some articles always on the top, I use the "sort order field" with -1, the other is 0 or 1,2....
if you not use the "sort order field", you can play trick with -1.
how do you think about the "sort order field" = -1 as the featured article? this solution will be cheap, don't need to modify the database.
it will easy to apply "sort order field" Ascending for the other kind of sort, like sort by title.
then, about the display style, you can change it with small peach of code in the template files, don't need to change the core files, so update will be easy.
News/Blog extension for opencart, show Tagging related product while reading article
FAQ System for opencart, allow user to give feedback on each article
Combo set and discount when buy full set
Sounds perfect! I don't use the sort order field for any reason now so that will work great!!fanha99 wrote:the default sort of current version is:
- "sort order field" Ascending, than date DESC
when I need some articles always on the top, I use the "sort order field" with -1, the other is 0 or 1,2....
if you not use the "sort order field", you can play trick with -1.
how do you think about the "sort order field" = -1 as the featured article? this solution will be cheap, don't need to modify the database.
it will easy to apply "sort order field" Ascending for the other kind of sort, like sort by title.
then, about the display style, you can change it with small peach of code in the template files, don't need to change the core files, so update will be easy.
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
catalog\model\catalog\news.php
search for these line:
Code: Select all
$sort_data = array(
'title-A' => 'nd.title ASC',
'title-D' => 'nd.title DESC',
Code: Select all
$sort_data = array(
'title-A' => 'n.sort_order ASC, nd.title ASC',
'title-D' => 'n.sort_order ASC, nd.title DESC',
2. for the controller
open the files inside catalog\controller\news\
search for
Code: Select all
$this->data['articles'][] = array(
'title' => $result['title'],
Code: Select all
$this->data['articles'][] = array(
'sort_order' => $result['sort_order'],
'title' => $result['title'],
hmmm, it will no problem to do with 1 column, but will be problem when you switch between 1 column and 2 column.
News/Blog extension for opencart, show Tagging related product while reading article
FAQ System for opencart, allow user to give feedback on each article
Combo set and discount when buy full set
I'm happy to only have the 1 column option, and get rid of the 2 column layout.
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
open file: catalog\view\theme\default\template\news\articles.tpl
Code: Select all
<div class="article-list">
<?php foreach ($articles as $article) { ?>
Code: Select all
<div class="article-list">
<?php
$featured = false;
foreach ($articles as $article) {
if (!$featured && $article['sort_order'] == -1) {
$featured = true;
echo '<div class="article-featured">';
}
if ($featured && $article['sort_order'] > -1) echo '</div>';
?>
News/Blog extension for opencart, show Tagging related product while reading article
FAQ System for opencart, allow user to give feedback on each article
Combo set and discount when buy full set
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
- admin: hot link to view article
- admin: hot link to view and modify comment of article
- admin: ajax filter title in comment list
- admin: filter title, filter status in comment list
- admin: ajax filter title in article list
- admin: filter title, filter status in article list
- admin: allow copy article
- all date will display with the "date_format_short" define by language
- send 404 error when article, category not found (good for SEO)
- add canonical link for news/all and news search page (good for SEO)
- add canonical link with full path for news category (good for SEO)
- auto get fill logged customer name and email to the comment box
- fixed: option with show read times and comment count in article page
- temporary remove "stick articles to top menu function"
News/Blog extension for opencart, show Tagging related product while reading article
FAQ System for opencart, allow user to give feedback on each article
Combo set and discount when buy full set
Finally getting back to the featured article. This code:
Code: Select all
<div class="article-list">
<?php
$featured = false;
foreach ($articles as $article) {
if (!$featured && $article['sort_order'] == -1) {
$featured = true;
echo '<div class="article-featured">';
}
if ($featured && $article['sort_order'] > -1) echo '</div>';
?>
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
News/Blog extension for opencart, show Tagging related product while reading article
FAQ System for opencart, allow user to give feedback on each article
Combo set and discount when buy full set
2. css, inside news.css
search
Code: Select all
.article-list > .box-article
then add this block (may at the end of file)
Code: Select all
.article-list .article-featured {
border: 1px solid #EEEEEE;
}
News/Blog extension for opencart, show Tagging related product while reading article
FAQ System for opencart, allow user to give feedback on each article
Combo set and discount when buy full set
Really like the look of this extension, but can I just check that I don't have to have the News for OpenCart/Blog box(es) in the left-hand column? I only have products down the left-hand side and would be happy for this to be just a link in the footer and maybe in the top bar.
Thanks in advance.
Jonathan
the left-hand column is a sub module of the extension.
just as other module, you can decide to show or not to show. you can decide where to show, you can decide which page will be show.
you can stick the category to the top-menu, just as the product category.
for add link to the footer, you will need to modify the footer.tpl, (and the controller/common/footer.php, maybe)
regard,
News/Blog extension for opencart, show Tagging related product while reading article
FAQ System for opencart, allow user to give feedback on each article
Combo set and discount when buy full set
Purchased and smoothly installed. Excellent!
It would be useful for me for the moment to be able to remove the share icons for Facebook etc etc.
I have had a root around in the files but not had any success and I fear I am close to breaking things. Can I have a pointer please? I only want to disable the option at the moment, as I can see it being needed at some point.
Thanks
Users browsing this forum: No registered users and 11 guests