Not signed in ( Sign In)

Categories

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorsimatao
    • CommentTimeApr 8th 2010
     permalink
    Hi there,

    what's the best way to get one static page of my blog working without all the widgets? I'd like to create a photo gallery page with a flash movie spanning all over the size of the main container, thus keeping the background, the header image, the css and the site proportions as they are in the blog. but i don't need all the calender apps, latest comments and so on on the side becaus they just take away sceenspace and don't relate to my photo portfolio.

    ?
    Tom
    •  
      CommentAuthorChrisBlank
    • CommentTimeApr 8th 2010
     permalink
    If you want to use Flatpress for the galerie only, you should deaktivate all useless Plugins and modify a theme (to erase the sidebar). But i think you should use an other system then flatpress.

    HTH Chris
    •  
      CommentAuthorsimatao
    • CommentTimeApr 8th 2010
     permalink
    no, i do want to use the blog, that's most important. but there is this menu bar and i was thinking about creating such an ego-expression site, with news updates (blog), some general information (static) and some photos as well. i was first thinking if it is possible to make two blogs on one site, because i want to seperate art pictures from daily writing stuff. then i could use the photo blogging feature for the foto blog. or i deactivate all the widgets on one static page which i would then turn into a nice foto screen.
    ... or i build a seperate html page from scratch which imitates my theme ... :-( didn't want to do this, especially since it makes changes of the theme more nasty
    •  
      CommentAuthordmo
    • CommentTimeApr 9th 2010 edited
     permalink
    Depending on your theme, open the widgets.tpl and uncommand/delete all unnecessary widgets-sections.

    Example:

    <!--
    {widgets pos=right}
    &lt;div id=&quot;{$id}&quot;&gt;
    &lt;h4&gt;{$subject}&lt;/h4&gt;
    {$content}
    &lt;/div&gt;
    {/widgets}
    -->


    The sidebar is still there, but empty.
    Save the file as "widgets-1.tpl".

    Open "static.tpl". Change
    {include file=widgets.tpl} to {include file=widgets-1.tpl}.

    Is this what you meant?

    (Please excuse my english. Maybe i misunderstand your question.)
    •  
      CommentAuthorChrisBlank
    • CommentTimeApr 9th 2010 edited
     permalink
    If I understand you correctly a modified theme is the best way to do this. But I do not know if it is possible to use theme on only one (static) site. Maybe somebody else can help?

    EDIT: The help was faster then my post :D

    EDIT: @dmo: This will change _all_ static sites, isnt it?
    •  
      CommentAuthorsimatao
    • CommentTimeApr 9th 2010 edited
     permalink
    well, i guess i was just too lazy to build a html site that uses the parts of the flatpress css which i need (like width, background, color, header img, all that sort of stuff) is some work to do, but it's fine. thanks anyway!

    @dmo: the disable function would be cool, if i could specify it for one static page only, but let them stay active on all the other pages ;-) *gotta build my html now*


    EDIT: you guys are really quick ;_) thanks!
    •  
      CommentAuthordmo
    • CommentTimeApr 9th 2010
     permalink
    Posted By: ChrisBlank@dmo: This will change _all_ static sites, isnt it?

    Yes. Unfortunately, I do not know another solution.
    •  
      CommentAuthorStanley
    • CommentTimeApr 9th 2010 edited
     permalink
    Posted By: simataoif i could specify it for one static page only


    You'll need to do a bit of work with this, but you can serve up a separate template for a specific static page. Take a look at this post and scroll about half way down to where it says $staticpage = $_GET["page"]; and see if that helps.

    This is another useful thread which I didn't fully explore, but I have it bookmarked for future reference. The poster wanted to show a different layout depending on which category was selected, but it might give you a few more ideas. Take a look at the drawing they did, to give you a better idea.

    btw, I used the first method I mentioned here - and I used a modified theme which mimicked the FlatPress one, in case that helps. There wasn't much difference between the two - I used the same stylesheet for them both but you just need to specify the stylesheets in the non-FP version header, whereas FP inserts these automatically between the <!-- FP STD STYLESHEET --> tags in your final html.