Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

9.02, HomePage - repair

Asked Modified Viewed 1,713 times
K
Kvido
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
  • Started this discussions
asked
Senior Member

Hello!
On the HomePage column (Latest News) in addition to the first line remains the same news. They have a different date of insertion. Date should be downward.
I recommend correction:
Line number: 87
 ORDER BY ns.news_sticky DESC, ns.news_datestamp DESC LIMIT 15",
Edited by Kvido on 07-12-2016 07:18,
0 replies

3 posts

K
Kvido
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
  • Started this discussions
answered
Senior Member

1/ Yes. OK:
ORDER BY ns.news_sticky DESC, ns.news_datestamp DESC, comment_count DESC LIMIT 15",


3/ The other does not Aggregate Featured...
Correcting. Featured works!
It is necessary to turn on / activate the ContentAdmin> News "Sticky", as shown in Fig.
Edited by Kvido on 11-12-2016 08:54,
Kvido attached the following file:
phpf_sticky_news.png [No information available / 65 Downloads]
0 replies
K
Kvido
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
  • Started this discussions
answered
Senior Member

1/ I do this only works in Latest news:
ORDER BY ns.news_sticky DESC, ns.news_datestamp DESC LIMIT 15",

In the main I have the right to HP "HomePanel", is it good?

2/ Yet the second question to Blog:
Blog does not counter article?

3 / The third question, how is the solution? Where is switched on. Nothing appears to me ...

// Aggregate Featured
                if (isset($row['sticky']) && $row['sticky'] == 1) {
                    $data[$count]['datestamp'] = $row['datestamp'];
                    $current_featured = $data[$count];
                    $current_featured += $default_item;
                    self::$featured_content[] = $current_featured;
                }
                $count++;
            }

            self::$contents[$table]['data'] = $data;
        }
Edited by Kvido on 09-12-2016 06:43,
0 replies
C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

OK, thank you. The home class right? Got it.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 3 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

K
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
  • Started this discussions
C
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet