1 adu Dec 28, 2004 02:46
3 adu Dec 29, 2004 06:20
hello graham,thanx for ur quick reply... I finished reading the manual for skins however I don't know how to write php I was just hoping to know where to edit the _main.php code... like have an idea of what the particular line os codes to change will look like... please help me if u can... also I put my blog folder as a sub folder in order to have blog url show as follow:
http://blog1.mysite.com
but aperently it'll only working for all blogs
please help me with these two when u can. regards,
4 adu Jan 14, 2005 05:55
Does anybody know where could I put the listed code on my skins in the _main.php file. Please I just want to display banners on top of the blogs... thank u in advance for the help. regards,
<table width="100%" border="1">
<tr>
<td width="25">
<div align="center"><img src="/pres/almadies_logo_white.gif" width="110" height="25"></div></td>
<td width="70%">
<div align="center"><img src="/pub/banner01.gif"></div></td>
</tr>
</table>
5 graham Jan 14, 2005 13:42
This isn't a php issue, it's a html and css one. Try putting it before the header div, or possibly within it. I'm not too familiar with the default template, so others will be better placed to help.
6 adu Jan 14, 2005 19:33
thanx graham for the quick reply,
two more question...
1) how could I add somewhere on my site a code to list the latest post or activity of all blogs...
2)could I change the url for each blog as follow
http://blogA.mysite.com
http://blogB.mysite.com
instead of
http://mysite.com/b2/blogs/index.php?blog=3
as it is now.
I have sub folder with my host But I can't figure it out from the past posts. Regards,
adu
7 kiesow Jan 14, 2005 21:26
adu wrote:
two more question...
1) how could I add somewhere on my site a code to list the latest post or activity of all blogs...
take a look at summary.php or multiblogs.php - both should point you to the right direction
adu wrote:
2)could I change the url for each blog as follow
http://blogA.mysite.com
http://blogB.mysite.cominstead of
http://mysite.com/b2/blogs/index.php?blog=3
as it is now.I have sub folder with my host But I can't figure it out from the past posts.
multiple subdomains are not supported yet, but will be in (one of) the next version
8 raptor Mar 06, 2005 15:33
Search on my name, raptor, or mod_rewrite and you got your answer.
Regards,
Raptor
9 raptor Mar 06, 2005 15:33
Search on my name, raptor, or mod_rewrite and you got your answer.
Regards,
Raptor
10 raptor Mar 07, 2005 17:36
Use this as mod_rewrite in your .htaccess file...
This mod_rewrite depends on the use of stub files....
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
# Skip rewrite if no hostname or if subdomain is www
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTP_HOST}<->%{REQUEST_URI} ^([^.]+)\.<domain without www>\.<tld>(:80)?<->/([^/]*) [NC]
RewriteCond %{REQUEST_URI} !%1
RewriteRule ^(.*)$ stub/%1 [L]
replace <domain without www> with your domain
replace <tld> with the tld.
Example :
\.bloggah\.nl
Regards,
http://b2evolution.net/man/2004/06/16/evo_skins
Read the manual, then come back if you have any questions.