test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • utehit Friend
    #202787

    Hello,

    i like to include a image on the top of the articles of one of the subpages. But i like to have the sidebar (position7)
    next to it not undeneath it. So the slider position isn’t the right one and neither of the ‘user1-8’ is working.
    Any suggestions?

    Thanks
    ute

    Ninja Lead Moderator
    #555422

    It would be awesome if you can possibly include a screenshot and description on that particular screenshot on what you would like to do. It would help to understand the issues and give you specific answers.

    utehit Friend
    #555967

    Hi,

    here is the screen shot. The red bordered area is what i am talking about. I would prefer a clean solution to this and not just
    using an article which remains at the top of all articles the category .
    Hope that makes it clearer.


    1. screen
    Ninja Lead Moderator
    #556080

    I would like to clarify that for heavy customization, you should hire a developer to carry out such work, customization support is out of JA support scope.

    If you are a developer you can use the code below to get the image to show on top

    <?php
    //get images
    $regex = '#<img[^>]*>#';
    $image = '';
    if (preg_match ($regex, $this->item->text, $matches)) {
    $image = $matches[0];
    $this->item->text = str_replace ($image, '', $this->item->text);
    }
    ?>
    <?php if ($image) : ?>

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Ninja Lead 10 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum