1 lexagon Jun 24, 2006 23:40
3 lexagon Jun 25, 2006 11:46
Hey Yabba; thanks for the hint! That did it :) I had to change cat_group and cat blog as well. :) Now it works. :)
4 yabba Jun 25, 2006 12:57
No problem ;)
¥
5 lexagon Jun 25, 2006 13:54
provided I would want to call the catcloud from some page/s _outside_ of b2evolution .. would that be possible? If so, how?
Background of my question is this:
I intend to maintain to b2evos; one for my private stuff, and one for professional resumee. They shall both be accessible from one entry page; let's say alexandermaiwald.de/index.php, (from there links to pri and pro). I think it would be nice to have the cat clouds from both instances on that entry page to dynamically show what's about what :), wouldn't it?
How would I be able to accomplish that? At first thought I assume that, if called from one index.php above the /b2dir/skindir/ ... wouldn't that cause the links in the thus-called catcloud cause to point to somewhere wrong?!
Your input is much appreciated :)
Thanx; best; 'lex
6 yabba Jun 25, 2006 14:21
If you mean two different blogs (as opposed to two different installs) then this might work (don't quote me on that though, cos I just make this stuff up as I go along ;) ).
In your page where you want the tag cloud to appear add :-
require(dirname(__FILE__).'/<path to b2evo>/b2evocore/_main.php');
$blog = ##; // first blogs ID
require(dirname(__FILE__).'/<path to b2evo>/skins/_catcloud.php');
$blog = ##; // second blogs ID
require(dirname(__FILE__).'/<path to b2evo>/skins/_catcloud.php');
?>
¥
7 lexagon Jun 25, 2006 15:04
Hey, Yaßßa;
I was indeed referring to diferrent installs, but I'll see how far I can get with your suggestion. If something additional crosses your mind in the meantime, please let me know. :)
L8rs! 'lex
8 yabba Jun 25, 2006 15:38
Ok, once again this is off the top of my head, but, you might be able to do (although I don't think this will work):-
require(dirname(__FILE__).'/<path to 1st b2evo>/b2evocore/_main.php');
$blog = ##; // first blogs ID
require(dirname(__FILE__).'/<path to 1st b2evo>/skins/_catcloud.php');
require(dirname(__FILE__).'/<path to 2ndb2evo>/b2evocore/_main.php');
$blog = ##; // second blogs ID
require(dirname(__FILE__).'/<path to 2nd b2evo>/skins/_catcloud.php');
?>
¥
9 lexagon Jul 12, 2006 13:16
Hello Yabba, finally gotten round to test your suggestion at least with _one_ of my b2evos - and it works! :-)
See test at http://www.alexandermaiwald.de/index2.php
Thanks again! :-)
10 yabba Jul 12, 2006 17:47
Cool ;)
¥
These are the settings in skins/_categories.php :-
Which are then used by your code :-
;)
¥