-
AuthorPosts
-
November 16, 2014 at 5:29 pm #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
uteNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 17, 2014 at 10:29 am #555422It 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.
November 20, 2014 at 2:40 pm #555967Hi,
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.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 21, 2014 at 9:15 am #556080I 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) : ?>1 user says Thank You to Ninja Lead for this useful post
AuthorPostsViewing 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 ago.
We moved to new unified forum. Please post all new support queries in our New Forum
looking for module position or alternative idea
Viewing 4 posts - 1 through 4 (of 4 total)