UserBox

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

Sponsored Links

+- Recent Posts

Re: German Language files by Tony_R
Today at 07:49:36 am

Re: German Language files by Tony_R
May 15, 2012, 02:09:12 pm

Re: German Language files by EzPortal
May 15, 2012, 02:00:02 pm

Re: German Language files by Tony_R
May 15, 2012, 01:55:26 pm

Re: German Language files by EzPortal
May 15, 2012, 01:38:52 pm

Re: German Language files by Tony_R
May 15, 2012, 01:29:19 pm

Re: German Language files by Tony_R
May 15, 2012, 09:44:14 am

Re: German Language files by Tony_R
May 15, 2012, 08:34:06 am

Re: German Language files by EzPortal
May 15, 2012, 07:27:30 am

Cache Error ? by Tony_R
May 15, 2012, 05:01:37 am

Quick Menu

Announcements
Community Guidelines & Rules
How To Section
EzPortal Showcase
Support

Author Topic: Articles not showing in center block area  (Read 1600 times)

0 Members and 1 Guest are viewing this topic.

Offline kmccann

  • Posts: 7
  • Karma: 0
    • View Profile
Articles not showing in center block area
« on: October 23, 2010, 08:23:34 am »
Hello,

I just installed SMF 1.11, then I installed the latest ezPortal, then SMF Articles. I created two articles, then I created a center block and chose the only option that seemed article-related (SMF Articles ezBlock), but the articles do not get displayed. Instead, I just see an index of the articles I created. Something like this:

------
another article
Comments 0
By: admin
Date Today at 09:08:32 AM

New Season
Comments 0
By: admin
Date Today at 08:24:47 AM
-------

I'd like the articles to be displayed, right under my top HTML center ezBlock, much like what I see on the ezPortal site frontpage. Am I missing something?

Thanks in advance for any help you can offer.

- Kevin
 

Offline kmccann

  • Posts: 7
  • Karma: 0
    • View Profile
Re: Articles not showing in center block area
« Reply #1 on: October 23, 2010, 08:56:04 am »
Just to follow up, I realize I can create a center block for messages that belong to a board, but I want articles that are not associated with any particular board. Just articles (with categories), plain and simple, which is why I installed the SMF Articles mod. Maybe I'm mistaken in thinking that I can use ezPortal to display the actual SMF Article articles rather than just a list of them?

- Kevin

Offline EzPortal

  • Administrator
  • *****
  • Posts: 671
  • Karma: 44
    • View Profile
Re: Articles not showing in center block area
« Reply #2 on: October 23, 2010, 05:07:15 pm »
Currently the articles block just shows the article title and not the full article yet which is something we may add in the future.

Offline kmccann

  • Posts: 7
  • Karma: 0
    • View Profile
Re: Articles not showing in center block area
« Reply #3 on: October 25, 2010, 04:22:24 am »
Thanks for the reply. In the meantime maybe I'll try to set up a PHP block that will handle it.

I really like ezPortal so far, but there are a couple of suggestions, which I am about to add to your Feature Requests board.

Thanks,
Kevin

Offline Mr Baggins

  • Posts: 1
  • Karma: 0
    • View Profile
Re: Articles not showing in center block area
« Reply #4 on: November 14, 2010, 02:09:19 pm »
I know this topic is a couple of weeks old, but after a bit of digging I found the solution as I wanted this functionality for my site also.

load up 'Sources/Subs-EzPortalMain2.php' into a text editor.

Find this block of code in the file - 'function EzBlockSMFArticlesEzBlock'

on line 1322 add these 2 lines

Code: [Select]
echo $row['description'].'<br />';
echo '<a href="' , $scripturl , '?action=articles;sa=view;article=', $row['ID_ARTICLE'], '">More...</a><br />';

The summary entered above the main article is then displayed in the EzBlock, with a More... link underneath to take you directly to the article.

For me this works on EzPortal 0.4.3 and Articles 1.3.2.

This is SMF2 RC4, not sure how similar it is on SMF 1.11.

Now ... back to that css file to sort the formatting out.
« Last Edit: November 14, 2010, 02:29:45 pm by Mr Baggins »

Offline ivalang

  • Posts: 1
  • Karma: 0
    • View Profile
Re: Articles not showing in center block area
« Reply #5 on: November 18, 2010, 07:12:52 pm »
I havent even figure it out yet how to do a post... Some help?

 

Powered by EzPortal