-
AuthorPosts
-
April 3, 2012 at 9:20 pm #175760
Hello,
My website, which employs JoomlArt’s JA_Community_Plus template displays the module position indicated by the ja-right div differently depending on whether a joomla generated “article” is used or a K2 generated “item” is used for the same page template. My understanding is that a k2 “item” is supposed to display the same as, and be the equivalent of, a joomla “article.”
Here are the links to the two pages: http://www.voterfarmersmarket.org/en/voters/43-prefer-random-candidate and http://www.voterfarmersmarket.org/en/voters/the-farmers-market-model .
I am attaching four screenshots. Three that show the page template IMPROPERLY displaying the ja-right div module position inside of the ja-mainbody div when a K2 generated “item” is used as the main content in the ja-main div, as seen in Chrome, Internet Explorer and Firefox. The fourth shows the page template displaying PROPERLY outside the ja-mainbody div when a Joomla! generated article is used.
I am also attaching two more screenshots that show firefox displaying html code for the page displaying the K2 item and the different html code for the page displaying the joomla article.
I have scoured my site directories looking for two php files that place the ja-right div differently according to this k2 “item”/Joomla! “article” distinction, but have only found a single php file that shows this div structure. It is consistent with the proper display with the ja-right div outside the ja-mainbody div. This file is located in: public_html/plugins/system/jat3/jat3/base-themes/default/page/default.php . Here is an abbreviated copy of the code showing the div structure from that file:
<!– MAIN CONTAINER –>
<div id=”ja-container” class=”wrap <?php echo $this->getColumnWidth(‘cls_w’)?$this->getColumnWidth(‘cls_w’):’ja-mf’; ?>”>
<?php $this->genBlockBegin ($this->getBlocksXML (‘middle’)) ?>
<div id=”ja-mainbody” style=”width:<?php echo $this->getColumnWidth(‘mw’) ?>%”>
<!– CONTENT –>
<div id=”ja-main” style=”width:<?php echo $this->getColumnWidth(‘m’) ?>%”>…
</div>
…
<!– RIGHT COLUMN–>
<div id=”ja-right” class=”column sidebar” style=”width:<?php echo $r ?>%”><?php
//left-mass-top
if($this->hasBlock(‘right-mass-top’)) :
$block = &$this->getBlockXML (‘right-mass-top’);
?>
<div id=”ja-right-mass-top” class=”ja-mass ja-mass-top clearfix”>
<?php $this->showBlock ($block); ?>
</div>
<?php endif; ?>I know my abbreviation of the file prevents you from validating what I am saying, but I decided it was better than posting the long version. I hope what is placed here helps anyone looking at the file find the area I am trying to understand and find a solution for.
Anyway, I really, really need help with this one. I have spent more than a week stuck on it. It is a huge disappointment for me regarding this template. I bought the template hoping to use K2, which I find and which JoomlArts purports to offer many valuable improvements over Joomla’s content management system. However, K2 is useless to me if I cannot get it to properly display module positions around the main item content. I didn’t expect to have to choose one or the other: proper module display or the other benefits of k2. For more than a week, I have been trying to solve this problem on Joomla, K2, ostraining, and joomlarts forums. I don’t know what to do…
Thank you for any attention you can give to this problem!
Hank
- April 3, 2012 at 9:23 pm #447208
As promised: here are the two screen shots of Firebug reporting the html for the page template displaying modules properly around a joomla article and for the page template displaying modules improperly around a k2 item.
-
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by Phill 12 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
Template displaying modules differently for k2 items and joomla articles
Viewing 3 posts - 1 through 3 (of 3 total)