SimplePortal

Customization => Custom Coding => Topic started by: ncvettes on March 25, 2011, 02:11:20 PM

Title: Calendar Information Block
Post by: ncvettes on March 25, 2011, 02:11:20 PM

SMF2 RC5, SP 2.3.3
http://www.ncvettes.com



I'd like some help formatting this block's content. There's an event icon first, then the upcoming event text follows. If the text needs to wrap, it aligns left under the icon, as shown in the attached file. I would like to have text wraps align with the text, much like you'd see with table columns.


Tnx for any assistance.
Title: Re: Calendar Information Block
Post by: AngelinaBelle on March 29, 2011, 03:00:17 PM
SimplePortal does not offer you any options for this -- it will require just a little bit of custom coding.
You'll want to look in function sp_calendar, in PortalBlocks.php
Title: Re: Calendar Information Block
Post by: ncvettes on March 30, 2011, 08:15:08 PM
Ok, and tnx for pointing me in the right direction. I'll report back if I get anywhere with it.  ;D
Title: Re: Calendar Information Block
Post by: AngelinaBelle on March 31, 2011, 10:02:51 AM
I'd like to move this to Custom Coding, if you want to continue it there.
Otherwise, I'd like to close this support topic with "Sorry, SimplePortal cannot do that".


Your choice.


Title: Re: Calendar Information Block
Post by: ncvettes on March 31, 2011, 04:05:19 PM
Move it if you don't mind. Tnx.
Title: Re: Calendar Information Block
Post by: AngelinaBelle on March 31, 2011, 07:05:28 PM
OK. Here you are -- in custom coding. You'll find that block in function sp_calendar in PortalBlocks.php.
Title: Re: Calendar Information Block
Post by: demlak on November 25, 2012, 10:19:41 AM
1. i would like to have this feature..
2. whatabout not displaying the next xxx days.. but the next xxx events? this would be much more comfortable.. the site design could get crazy if there are many events.. in a few days.
Title: Re: Calendar Information Block
Post by: demlak on December 02, 2012, 04:15:29 AM
*bump*
is our idea not cool enough? =)
Title: Re: Calendar Information Block
Post by: demlak on December 11, 2012, 06:42:55 PM
hmm.. should i start a new topic for that?
Title: Re: Calendar Information Block
Post by: AngelinaBelle on January 16, 2013, 01:59:27 PM
It is a cool idea, and I think you are in the right place for it.
What is necessary is to attact enough interested customizers to get to work on it.
Title: Re: Calendar Information Block
Post by: demlak on January 16, 2013, 02:02:24 PM
hey.. thx for your repley.. i started a new thread on this topic right after christmas.. see: (url=http://simpleportal.net/index.php?topic=12195.0]link[/url]
SimplePortal 2.3.8 © 2008-2024, SimplePortal