1 farhad2na2 Feb 25, 2007 16:56
3 farhad2na2 Feb 26, 2007 05:16
thank you for help. the urls created successfully.
but its a little different in v1.9.2
I edit the
_template.funcs.php
and
_blog.class.php
as you told but nothimg in _main.php
in _main.php
we have this linke
require $skins_path.'_dispatch.inc.php';
so in
_dispatch.inc.php
I found
'arcdir' = > '_arcdir.php',
and replaced with
'arcdir' = > '_arcdir.php', 'gallery' = > '_gallery.php', and 'about' = > '_about.php',
the _gallery.php and _about.php must be in the skinks directory.
Now!
if I call the
index.php?blog=2&disp=about
it shows the _about.php in skins directory
Now a question!
how the new url shows a page in blogs media folder insted of _about.php in the skinks directory?
or place a code somthing like this in _about.php
<?php include("phpfile"); ?>
to shows a page in blogs media folder.
I know that when we want to call a page or an image from the blogs media folder we
have to place the
<?php echo $media_url ?><?php $Blog->disp( 'media_subdir' ) ?>file
in href or src for the url or imageurl
:?: :?:
Try http://forums.b2evolution.net/viewtopic.php?t=9981 and see if it's close enough instructions for 1.9.2 even though I wrote way back in the 1.8.6 days.