EzPortal - Portal Software for Forums

EzPortal - Made to Fit Your SMF Forum - Glad You Found Us!
+- +-

UserBox

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

+- Recent Posts

Re: How to remove the SMF menu on top of the portal by VSD
November 04, 2020, 11:02:52 pm

Re: How to remove the SMF menu on top of the portal by EzPortal
November 04, 2020, 09:29:10 pm

Re: How to remove the SMF menu on top of the portal by VSD
November 04, 2020, 08:17:14 pm

Re: How to remove the SMF menu on top of the portal by EzPortal
November 04, 2020, 07:57:05 pm

How to remove the SMF menu on top of the portal by VSD
November 04, 2020, 07:43:18 pm

Minor Update for SMF 2.1.x by EzPortal
October 18, 2020, 09:33:09 am

Re: EzPortal unable to be seen by user with primary custom usergroup by EzPortal
October 12, 2020, 07:55:08 am

EzPortal unable to be seen by user with primary custom usergroup by radi27
October 11, 2020, 04:46:32 pm

+- HTML Menu


Sample HTML Block Usage - You May Custom Code it, as needed!

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

0 Members and 1 Guest are viewing this topic.

Offline kmccann

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
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

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
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: 1229
  • Karma: 66
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.
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Offline kmccann

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
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
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.

Offline ivalang

  • Posts: 1
  • Karma: 0
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?

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
5119 Views
Last post April 30, 2009, 06:59:34 am
by nerieru
3 Replies
4881 Views
Last post September 24, 2009, 05:26:54 pm
by EzPortal
5 Replies
10344 Views
Last post April 23, 2011, 07:37:31 am
by EzPortal
0 Replies
4354 Views
Last post August 09, 2012, 10:37:58 am
by desi4um
4 Replies
18236 Views
Last post February 16, 2018, 09:40:48 am
by EzPortal

+-SMF Gallery

Quick Menu



Members Online

25 Guests, 0 Users
Powered by EzPortal