Recent Topics

1 Jan 13, 2007 05:11    

Hi,
I am getting:
Illegal value received for parameter «blog»!
when I click an author's name in a post in order to browse by author. The browse by category in that header works, and I notice that it places a ampersand between the blog number and category, as in
index.php?blog=2&cat=3
whereas the non-working browse by author inserts a question mark:
index.php?blog=2?author=5
I assume the problem is in this following bit of script from the skin's _main.php file but I don't know enough about php to see it. Any help would be much appreciated.
------------------------------------------------------------------
<div class="storyTitle">

<?php $Item->anchor(); ?>

<?php locale_flag( $Item->locale, 'h10px' ); // Display flag for post locale ?>

&nbsp;

<?php $Item->title(); ?>

&nbsp;-&nbsp;

Categories: <?php $Item->categories() ?>

&nbsp;-&nbsp;

<span class="storyAuthor"><a href="<?php $Blog->disp( 'blogurl', 'raw' ) ?>?author=<?php $Item->creator_User->ID() ?>" title="<?php echo T_('Browse all posts by this author') ?>"><?php $Item->creator_User->preferred_name() ?></a></span>

@ <a href="<?php $Item->permanent_url() ?>"><?php $Item->issue_time() ?></a>

</div>
------------------------------------------------------------------

3 Jan 14, 2007 01:00

Yep. Problem solved. Thanks!


Form is loading...