1 boron Mar 08, 2007 16:27
3 boron Mar 22, 2007 19:09
OK; I guess I've got answers on most important questions. Thanks.
To put the b2 link back on the blog - how exactly it should look and how to add it?
4 edb Mar 22, 2007 20:10
Hi boron. The linkback is normally located at the bottom of the sidebar, or sometimes in the footer section of your skins/your_skin/_main.php file. Most skins have a little button that is linked to http://b2evolution.net, and typically say "powered by (img)". Sometimes the skin looks better with a text link, so that's fine too.
Oh and technically you don't have to do it if you don't want to. Some people, for various reasons, don't want it there. No problem, but some of us who do a lot of answering in here don't like to answer questions from people without a linkback. The only place it actually officially matters is if you ping b2evolution each time you post. No linkback means no listing on the main page after you post.
Anyway the linkback code for _main.php typically looks like this:
<p class="center">powered by<br />
<a href="http://b2evolution.net/" title="b2evolution home"><img src="<?php echo $rsc_url; ?>img/b2evolution_logo_80.gif" alt="b2evolution" width="80" height="17" border="0" class="middle" /></a></p>
To have it as text instead of an image simply get rid of the img tag and put text in there:
<p class="center">powered by <a href="http://b2evolution.net/" title="b2evolution home">b2evolution</a></p>
Sometimes people get creative with the alt text. I used "a blog tool like it oughta be" for a long time. On one skin I made I had each letter colored like the big logo up on top. Total waste of bytes, but I thought it was cute ;)
BTW the most common files you'll need to edit in order to customize your installation will be skins/your_skin/_main.php and the .css file in the same folder. The first is for the content and the second is for the look. Generally speaking, it's much better to NOT edit the other .css files because when you upgrade you'll lose your customizations. So for example let's pretend that a class named "something" is defined in one of the css files in the rsc/css/ folder, and you want to change it. Simply copy the "something" stuff from where it is to your skins/your_skin/your.css file and make your changes. Since css will take the last instruction as the valid one, the things it found in the 'official' version will be replaced by the things it finds in your version.
5 boron Jun 05, 2007 07:27
http://amazingindiaexperience.info :
In left menu (links to subblogs) I want to enable LONG names (now limited to 10 letters, I guess). As suggested I've located
public_html / skins / andreas01 / _bloglist.php file, do I need to add any code in? There is 'shortname' in the third line. If I replace 'shortname' with 'fullname', it doesn't work: menu is empty, links work but are not visible.
# This is the blogparam that will be displayed as the name:
if(!isset($blog_name_param)) $blog_name_param
= 'shortname';
# This is the blogparam that will be displayed as the link title:
if(!isset($blog_title_param)) $blog_title_param = 'name';
/**
* We now call the default bloglist handler...
* However you can replace this file with the full handler (in /blogs) and customize it!
*/
require get_path('skins').'_bloglist.php';
?>
6 yabba Jun 05, 2007 12:24
The line below it gives you a clue ;)
# This is the blogparam that will be displayed as the name:
if(!isset($blog_name_param)) $blog_name_param
= 'name';
# This is the blogparam that will be displayed as the link title:
if(!isset($blog_title_param)) $blog_title_param = 'name';
¥
7 boron Jun 05, 2007 12:33
Yeah. :)
Now when I asked, it works. When I tried myself it didn't. 8|
But I have more...
I want to do this: Erase the upmost title: "Amazing India" and link the header banner to http://amazingindiaexperience.info. The important thing is that I still want "Amazing India" to have as a
<title>Amazing India</title>
in the HTML. That Amazing India in the banner is not a text, but it is included in the graphics, so I don't know what to do.
The first problem is, I can't LOCATE the file where I could erase the title.
8 yabba Jun 05, 2007 12:34
Murphys law ;)
¥
9 boron Jun 05, 2007 12:42
Can someone explain where can I find a code with <title>Amazing India</title> in it.
I can only see it, if I look the site through "Find source" (which shows index.html), but can't find it through File manager.
In skins/Andreas01/main.php I see:
<head>
<?php $Plugins->trigger_event( 'SkinBeginHtmlHead' ); ?>
<title><?php
$Blog->disp('name', 'htmlhead');
request_title( ' - ', '', ' - ', 'htmlhead' );
?></title>
One of the best ways to get free help for free software is to remove the linkback to b2evolution. Even so, I'll try to answer your questions. Once.
Item 1 is done in your skin's css file, though I don't have it handy and won't look it up.
Item 2 is not a bug. It's a limit on the length of the short name field. You can change your _bloglist.php to use the long name if you want, or work through the code to change the short name field length.
Item 3 is not very likely. WP is extremely limited wrt features found in b2evolution. You might find it compatible with your needs, but you won't find a direct downgrade method.
Item 4 is a misunderstanding of the links b2evolution generates. ALL the links are dynamic even if they look static. The "use extra path" feature is known to not work on all servers, and is identified as such. If it doesn't work for you then your server doesn't support something that feature needs. Sorry, but I don't know the details of what makes a server good or bad for that feature.
Item 5 depends on what you consider redundant. You don't have that many words on the left that are not links to things, so 'redundant words' doesn't seem to apply. Anyway search your installation for the text you find redundant and you'll probably find the file that makes that text.