2 afwas Feb 16, 2008 23:28

See if this posts helps ( [url=http://forums.b2evolution.net/viewtopic.php?t=14080]Same opening post when people visit my blog[/url] )
¥
Can't figure anything out from those posts... but i've looked around in b2 2.4 and seen that the posts has different priority... (all regular posts is priority 3). Does anyone know how to change priority of a post?
You need to allow advanced settings in your blog settings ( forget which tab sorry ), but you'll end up having to do exactly the same as the post I linked to to make the priorities take effect as they're meant for workflows
¥
But... is it possible to add widgets in body? like adding "long discription of blog" in body (main) and write the welcome message there?
yeah sure, you can add a widget absolutely anywhere you have a container, and I have it on reliable authority that Afwas is writing a tutorial about adding containers to skins.
but
It'd be at the top of every page of your blog as opposed to just on the home page which is what the method discussed in that post would do.
¥
sorry for being incompetent with this forums serach.. but i can't seem to find Afwas tutorial :(
Ahhh, he hasn't written it yet, he just mentioned in another post earlier today. I'll nudge him ;)
¥
oki...
I've found some of the code that i think is ment to put there:
<?php
// ------------------------- "Menu" CONTAINER EMBEDDED HERE --------------------------
// Display container and contents:
skin_container( NT_('Menu'), array(
// The following params will be used as defaults for widgets included in this container:
'block_start' => '',
'block_end' => '',
'block_display_title' => false,
'list_start' => '',
'list_end' => '',
'item_start' => '<li>',
'item_end' => '</li>',
) );
// ----------------------------- END OF "Menu" CONTAINER -----------------------------
?>
It may be that i just have to change something here, I'll try a little "try, fail, learn"
[url=http://forums.b2evolution.net/viewtopic.php?t=14467][2.4] Double side bars implementing
[/url]
Expect something tomorrow.
--Afwas
ok, all you need to put in your skin is the above code whereveryou want the new container to be, after changing the Menu text to something unique and informative.
Then you need to goto admin > global settings > install skins ... and hit "reload skins"
From then on your container will be available ;)
¥
Thanks!!! got it working now! Changed menu to main:p
If you' re still interested, the FAQ I wrote can be found [url=http://forums.b2evolution.net/viewtopic.php?t=14515]here[/url].
That would be a sticky post like in this forum.
There is a plugin for 1.10: [url=http://www.balupton.com/blogs/b2evo?title=sticky_announcements_plugin&more=1&c=1&tb=1&pb=1]Sticky announcements plugin[/url]. I don't know if this issue is solved in 2.x already.
Good luck