1 gabriel1980 Feb 14, 2008 02:20
3 gabriel1980 Feb 14, 2008 03:01
Afwas,
I try it, but it gave me an error! I would try upgrading, some day... the thing is I've got an extreme hacked version of the b2evo, and its quite difficult to make it work (from the autoblog to the skin, its like I still dont get used to the brand new b2evo... but I should try that, someday! ) And as Ive got in different folders different languages of the blog, I want to buld the link like http://domain/LANG_FOLDER/blog_media_subdir : If I could deal to print that field properly, I would make it work (normally, <?php $Blog->disp( 'dynurl', 'raw' ) ?> would work for a normal b2evo instalation) Any ideas? Thanks in advance pals! :D
4 afwas Feb 14, 2008 03:05
5 gabriel1980 Feb 14, 2008 03:23
Afwas! Hi, thanks, but I guess my plan didnt worked out, coz <?php $Blog->get_media_url( ) ?> printed http://base_ur/skins/blog_media_subdir and not just the name of the folder (all I want, is to print a field from the blogs configuration) Any ideas??? Thanks in advance!!! :D
6 gabriel1980 Feb 14, 2008 04:03
I just try this: <?php $Request->param( 'blog_media_subdir', 'string', '' ) ?> and... it gave me the very same results as <?php $Blog->disp( 'dynurl', 'raw' ) ?> Now Im checking in /blogs/inc/MODEL/collections/_blog.class.php to hack the url construction, but Im kinda lost! :P (if any sees any solution... buzz me plz!)
Hi Gabriel,
<?php $Blog->disp( 'dynurl', 'html' ) ?>
I cannot check this. You should concider upgrading also :roll:
Good luck