-
AuthorPosts
-
darengr Friend
darengr
- Join date:
- January 2012
- Posts:
- 108
- Downloads:
- 112
- Uploads:
- 30
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
December 30, 2015 at 4:23 pm #835115I can see in the source code viewer within my browser that the "height2" class is added to some images, so they appear taller 2 times.
class="article-item item height2 "
I cannot find this in your documentation. where is this "height2" added within the article? thanks
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 31, 2015 at 2:52 am #835570Hi
kindly share your working site url and a screenshot of issue here , so i can check the issue directly on your site .darengr Frienddarengr
- Join date:
- January 2012
- Posts:
- 108
- Downloads:
- 112
- Uploads:
- 30
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
December 31, 2015 at 9:23 am #835937please see attached image.
there is no issue in my site, just how to use the functionality.the question is, where to add the height2 class (or there is some other way?), so the pictures I want are displayed automatically with double height, as the red berries sweet slice in your demo site.
thanks
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 31, 2015 at 9:56 am #835981Hi
this is isotop layout and designed in this way . You can find the class is defined in the php files
here : /templates/ja_mono/html/com_content/category/isotop.php
and All the style is defined in the /template.css file .darengr Frienddarengr
- Join date:
- January 2012
- Posts:
- 108
- Downloads:
- 112
- Uploads:
- 30
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
December 31, 2015 at 10:34 am #836032thanks for reply.
How do I decide which images get double height, and which not?
I have built a site with 4 images, and all of them get single height,
but in your demo, some appear double height.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
December 31, 2015 at 11:04 am #836051Hi you can not choose specific item to set them , You can only set the no. in menu options > http://prntscr.com/9klpfd And it will be display on site with the order u sent in menu.
darengr Frienddarengr
- Join date:
- January 2012
- Posts:
- 108
- Downloads:
- 112
- Uploads:
- 30
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
December 31, 2015 at 11:19 am #836056but there is a difference somewhere…
<?php if (!empty($this->intro_items)) : ?>
<?php foreach ($this->intro_items as $key => &$item) : ?>
<?php
$itemAttribs = new JRegistry($item->attribs);
$itemHeight = $itemAttribs->get(‘jcontent_height’, ‘0’);
?>
<?php $rowcount = ((int) $counter % (int) $this->columns) + 1; ?>
<div class="article-item item <?php echo ($itemHeight ? ‘height2’ : ”); ?> <?php echo $item->state == 0 ? ‘ system-unpublished’ : null; ?>">in isotope.php, it finds the height with line
$itemHeight = $itemAttribs->get(‘jcontent_height’, ‘0’);
and then modifies the div class, to add height2 if there is something in $itemheight
with line
<?php echo ($itemHeight ? ‘height2’ : ”); ?>
, so it works for only some of the items, not all.what is this jcontent_height, where is its value set or defined or computed?
I can see it working nicely on mono demo site, but not on my site, I have only 4 image items to display, all of them get single height.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 1, 2016 at 1:39 am #836307Hi
Kindly submit your site admin details via Private reply . Without checking site its to assume problems.darengr Frienddarengr
- Join date:
- January 2012
- Posts:
- 108
- Downloads:
- 112
- Uploads:
- 30
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
January 2, 2016 at 8:23 pm #837114This reply has been marked as private.darengr Frienddarengr
- Join date:
- January 2012
- Posts:
- 108
- Downloads:
- 112
- Uploads:
- 30
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
January 3, 2016 at 6:34 pm #837441based on a recent post (https://www.joomlart.com/forums/topic/ja-extra-field-backend/), I understood that if someone declares within the article category in the extra fields tab the choice "portfolio", then they can choose it within the article…
regardsPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
darengr Frienddarengr
- Join date:
- January 2012
- Posts:
- 108
- Downloads:
- 112
- Uploads:
- 30
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
January 4, 2016 at 8:11 am #838003Yes,
please update the documentation, if not updated yet, (that the image height depends on the articles categories functionality JA Extra fields where we put the value Portfolio, and then is is visible in the article itself to choose the height…) so it is easy for us to use the templates and we do not search for days on how to use the specific functionality.
regardsPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
January 4, 2016 at 9:26 am #838087Thanks for feedback .
I sent it to concern to re look on this issue and consider it in documentation .AuthorPostsViewing 13 posts - 1 through 13 (of 13 total)This topic contains 12 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum