1 breaker Oct 02, 2008 13:57
3 breaker Oct 02, 2008 14:23
John wrote:
This may help you... from the FAQ section
http://forums.b2evolution.net/viewtopic.php?t=14046
hey John,
exactly what I needed :) Thanks a lot...
Just a small question however : how do you put a link to that custom page in next to the "Home" and "Contact" links? It isn't showing up yet there...
regards,
Hans
4 john Oct 02, 2008 14:38
That depends on what skin you are using.
Usually it requires an edit to the header/top_menu section but I don't have a "standard" set of files handy.
So yes.. what skin?
5 breaker Oct 02, 2008 14:49
I'm using the "[url=http://skins.b2evolution.net/two.php/2008/09/18/bluer]Bluer[/url]" skin I downloaded from the skins-page...
Truly hope you can help me :)
6 john Oct 02, 2008 15:29
Here is a quick hack you can make to your index_main.php file
Add something like this......
<li><a href="/index.php?disp=about" title="A Little Bit About This Blog">About My Blog</a></li>
just before the closing </ul> as in the code section below..
<div id="pagenav">
<ul>
<?php
// ------------------------- "Menu" CONTAINER EMBEDDED HERE --------------------------
// Display container and contents:
// Note: this container is designed to be a single <ul> list
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 -----------------------------
?>
<li><a href="/index.php?disp=about" title="A Little Bit About This Blog">About My Blog</a></li>
</ul>
</div>
I'm sure there is a more elegant method but this should get you started.
7 yabba Oct 02, 2008 15:52
*cough* Free HTML widget *cough*
¥
8 breaker Oct 02, 2008 16:03
hey John,
that worked like a charm. One thing I had to change though is instead of the /index.php?disp=about is that i hard to hardcode the entire url. I suppose becuase of the fact that my blog is installed in a subfolder on my website or so.
I'll also check out that Free HTML widget ;)
9 breaker Oct 02, 2008 16:07
¥åßßå wrote:
*cough* Free HTML widget *cough*
¥
ok, that can solve my problem more elegantly I suppose.
The only problem I encountered is that the CSS of that link isn't the same as the 2 original ones (Home and Contact)...
10 breaker Oct 02, 2008 16:14
breaker wrote:
¥åßßå wrote:
*cough* Free HTML widget *cough*
¥
ok, that can solve my problem more elegantly I suppose.
The only problem I encountered is that the CSS of that link isn't the same as the 2 original ones (Home and Contact)...
nevermind that remark :) I checked the source code and when I added < li >< /li > tags around my link, it integrated just nicely.
thanks for the help both of you :)
11 yabba Oct 02, 2008 16:45
don't listen to that john, he's an aussie .. you know what they're like ... to bloody busy avoiding sun and sheilas to just use the simple option and get back into the fun ;)
¥
12 john Oct 02, 2008 21:34
Can't avoid the sun today... 35c in the shade and I'm off to Sydney for the weekend.
Bondi Beach and hoping for a sea breeze!!!
BTW, glad your link ended up an 'elegant' link :)
13 breaker Oct 15, 2008 09:03
hey guys,
thanks a lot both of you for the help :)
I don't mind being helped by an aussie from down under ;)
Just glad that you both helped solving my problem :)
You can check the result on http://www.photastic.be :)
I'm also working on a portfolio page which is already
created at http://blog.photastic.be/index.php?disp=portfolio
I just have to get the right pictures in there. The current ones are just
for testing :)
best regards,
Hans
14 blogmeister Nov 18, 2008 11:40
Hello.
How do you get the title of the Custom Page to display in the top upper right hand corner of the center like that for "Latest Comments" or the "Contact" page for v.2.4.5? :?:
Thanks.
This may help you... from the FAQ section
http://forums.b2evolution.net/viewtopic.php?t=14046