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

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Re: Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 02:09:24 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:55:53 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 01:47:42 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:34:07 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 12:20:17 pm

+- HTML Menu


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

Recent Topics ezBlock

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Where is the facebook button color? by EzPortal
February 28, 2023, 06:45:09 pm

Display on Mobile - SMF 2.1.3 and EZ 5.5.2 by BugginIn
December 29, 2022, 04:07:13 pm

Blocks Help by Riggs1973
November 20, 2022, 12:59:30 pm

Surface ol lite theme release Free! by Steffen K.
November 18, 2022, 03:57:24 am

Undefined index: href by EzPortal
October 04, 2022, 08:49:59 pm

SMF-ezportal_column_5.cache): failed to open stream: No such file or directory by EzPortal
June 04, 2022, 11:40:13 am

Arcade block error: failed to open stream: No such file or directory by Shades
May 20, 2022, 02:47:13 pm

Author Topic: Articles not showing in center block area  (Read 7952 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: 1299
  • Karma: 67
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
7095 Views
Last post April 30, 2009, 06:59:34 am
by nerieru
3 Replies
6929 Views
Last post September 24, 2009, 05:26:54 pm
by EzPortal
5 Replies
12830 Views
Last post April 23, 2011, 07:37:31 am
by EzPortal
0 Replies
5811 Views
Last post August 09, 2012, 10:37:58 am
by desi4um
4 Replies
22150 Views
Last post February 16, 2018, 09:40:48 am
by EzPortal

+-SMF Gallery

Quick Menu


Powered by EzPortal