Jump to content


Photo
- - - - -

Feature Box Questions


This topic has been archived. This means that you cannot reply to this topic.
13 replies to this topic

#1 dtraub

dtraub

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts

Posted 03 February 2010 - 06:17 PM

I've got 2 things I'd like to be able to do with a feature box and wondering if it's possible. 1) can i use a widget to fill a feature box 2) can i have a feature box pull the last x number of posts from a specific category?

#2 jnoh

jnoh

    Advocate

  • Members
  • PipPipPipPipPip
  • 502 posts

Posted 04 February 2010 - 12:44 AM

Both of these are currently not possible with the theme as it is now. But we do plan on adding this in the near future (within the next couple months). In the meantime, I can help you tweak the code to possibly get your first request working. Request #2 would require quite a bit of work.

#3 dtraub

dtraub

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts

Posted 09 February 2010 - 02:37 AM

That would be great.... and actually if we get request 1 working, I can accomplish #2 with a widget anyways. How do we get started?

#4 jnoh

jnoh

    Advocate

  • Members
  • PipPipPipPipPip
  • 502 posts

Posted 10 February 2010 - 11:00 AM

:D I like the enthusiasm. I haven't done this myself so it'll be an adventure for both of us. Doing a bit of research, I stumbled across this:

Please Login or Register to see this Hidden Content



#5 dtraub

dtraub

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts

Posted 12 February 2010 - 02:15 PM

So would I just take the code they showed to go in functions.php and insert it as is? Then I would put <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Homepage')) : ?> In the feature box + HTML spot?

#6 dtraub

dtraub

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts

Posted 13 February 2010 - 12:00 AM

Another thought that may be easier... is there a way of showing the content sidebar underneath the 3 feature boxes?

#7 jnoh

jnoh

    Advocate

  • Members
  • PipPipPipPipPip
  • 502 posts

Posted 13 February 2010 - 02:54 AM

Hm. You'll have to register three different sidebars for each section similar to the footer. How about using the footer boxes? Are you using those for widgets yet?

#8 dtraub

dtraub

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts

Posted 13 February 2010 - 03:36 PM

I am using the footer boxes. That why I was thinking that the content sidebar might work well, but when I select it to show on the page settings, it doesn't show on the feature page. I don't need it broken up in to 3 sections... just one would work great.

#9 Jackey

Jackey

    Advocate

  • Members


  • 685 posts

Posted 13 February 2010 - 03:39 PM

@dtraub

Is this the iBlogPro theme?
I have done something similar to that...

The row icons on the bottom is the content-sidebar (removed the background panel)

Please Login or Register to see this Hidden Content



Coment out these lines in _pagecontent.php

`

`
And copy that to footer.php, just above (or wherever you want it to go):

`











`
You can switch on the sidebar in the page options.

#10 dtraub

dtraub

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts

Posted 13 February 2010 - 03:42 PM

It is iBlogPro. Thanks! Will that prevent the content sidebar from working on other pages... or just make it show up just above the footer wherever I've got it selected to show it?

#11 Jackey

Jackey

    Advocate

  • Members


  • 685 posts

Posted 13 February 2010 - 04:11 PM

Ehhh... it moves the content-sidebar for all pages, it still works as designed, it is just moved.

To change the widgets on every page or type of page, you can use a plugin called "

Please Login or Register to see this Hidden Content

", very powerfull!!

To change the appearance of the content-sidebar you can alter its CSS:

`
#content_sidebar .widget {
background: #fff url(images/post-bg-short.png) repeat-x left bottom;
margin: 2em 0;
border: 1px solid #bbb;
padding: 1em;
margin: 0 0 -25px;
}
`

#12 dtraub

dtraub

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts

Posted 13 February 2010 - 04:37 PM

Awesome! Thanks!

#13 andya

andya

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 16 February 2010 - 07:46 AM

Hey guys Does anyone know hot to put the recent posts from a particular category into the slider? I am pretty desperate to get this done so any help would be greatly appreciated Andy

#14 andya

andya

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 16 February 2010 - 08:10 AM

Well I've actually been able to hack the template_feature.php files to show my most recent posts except I have somehow lost the ability to slide (it just shows all the posts in their seperate feature divs) If anyone is able to help me finish it off asap I'd love you to bits haha