Re: [PROTOTYPE] Can we move the elephpant photos to the footer?
| From: | Paul Dragoonis | Date: | Mon, 18 Jun 2012 21:40:32 +0000 |
| Subject: | Re: [PROTOTYPE] Can we move the elephpant photos to the footer? | ||
| References: | 1 2 3 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-13724@lists.php.net to get a copy of this message | ||
On Mon, Jun 18, 2012 at 8:41 PM, Levi Morrison <morrison.levi@gmail.com> wrote:
>> On Mon, Jun 18, 2012 at 6:11 PM, Levi Morrison <morrison.levi@gmail.com> wrote:
>>> It's not really adding anything necessary, but would make great footer
>>> content. We could stick it just above or just below the footer. I
>>> wasn't around for the discussion for the elephpant photos, so I
>>> thought I'd ask before I moved it.
>>>
>>> --
>>> PHP Webmaster List Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
> On Mon, Jun 18, 2012 at 1:01 PM, Paul Dragoonis <dragoonis@gmail.com> wrote:
>> Elephpants were just content fillers when building the homepage (above
>> the fold) stuff.
>>
>> Feel free to push them down to the footer as they are not imperative
>> to the homepage and only provide supplementary information.
>>
>> What do you suggest to replace them, with more important above the fold content.
>>
>> - Paul.
>>
>
> I suggest we move the Recent News portion of the sidebar and place it
> below the 2x2 grid. It would be something like the current php.net in
> that regard. It makes the homepage more useful to have the recent news
> directly on the homepage.
I agree, this is much more useful space for the homepage.
This is how I see it working, with semantic markup, feel free to rip
it apart and make it better.
<ul class="homepage-news-items">
<?php foreach($newsItems as $newsItem): ?>
<li>
<p class="news-title"><?php echo
htmlentities($newsItem['title'], ENT_QUOTES, 'UTF-8'); ?></p>
<p class="news-content">
<?php echo
htmlentities(truncateNewsItem($newsItem['content'], 100), ENT_QUOTES,
'UTF-8'); ?>
</p>
</li>
<?php endforeach; ?>
</ul>
- Paul.