Core Modules & Blocks  :: 
Core/Stories Block
 Top

  • Hi guys,

    Can I somewhow add a link from this block (list of story headlines) to the 'see all' page from the category or topic?

    I'd like the link to show up in the block if possible - I have it in the main menu already 0 but it's not as visible in there.

    Thanks!

    ShawnB
  • Anybody have any ideas for this?

    TIA

    ShawnB
  • sure, you need to modify the code.

    How good are you with PHP? If you mean the other stories block, add the link in around 189 to the existing $row array...

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • HammerHead

    sure, you need to modify the code.

    How good are you with PHP? If you mean the other stories block, add the link in around 189 to the existing $row array...


    Very poor with PHP - but learning some.

    It's the 'stories' block - Shows headlines from a news topic or category.

    Excuse the nebie questions - but I don't have many 'block' files so not sure even where to start.

    Thanks!

    ShawnB
  • lol sorry, there I was thinking about the stories.php block and forgetting to add it into the post!

    includes/blocks/stories.php

    Not tested, but try this:

    line 189:
    [code]
    $row['content'] .= "See More";

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Thanks! - I'll try that.

    What I did was to create an 'areablock' in the AutoTheme with the link in the HTML template.

    ShawnB
This list is based on the users active over the last 60 minutes.