-
AuthorPosts
-
cgc0202 Friend
cgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
May 10, 2011 at 1:14 pm #163809To Joomlart Staff,
Please refer to the default template format. The question I am asking does not require my own site to be shown.
There are positions 1, 2,3, 4 in the script layout that was not used in the Demo, that was why they do not display.
I want to place those positions or create similar positions just above the footnote but want the moved positions 1, 2,3, 4 to span the whole page width — not just the main Content position.
The implication of the above is that if I only use three of the positions, I will have larger widths for each of the three — spanning the whole page.
Cornelio
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 10, 2011 at 5:24 pm #390624Hi,
You could use user 6, 7, 8, 9 instead of user 1, 2, 3, 4, 5 if you want to use position above footnotecgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
May 11, 2011 at 3:22 am #390683<em>@khoand 239630 wrote:</em><blockquote>Hi,
You could use user 6, 7, 8, 9 instead of user 1, 2, 3, 4, 5 if you want to use position above footnote</blockquote>Thanks khoand,
I anticipated that may be your response, based on another related forum thread that you responded to:
Positions 5,6, and 7 same width and spans the whole pageHowever, the reason why I wanted the above initially was that I wanted two whole span positions, like this (if positions 1-5 is not moved, which may be best because I just realized after looking at some Magento templates, I may be able to make use of Positions 1-5 for different reasons, where they are now.)
Relevant to what I am asking here, it would be like this: There will be two new position as follows:
- positions 6 =>10 (see revision, as you suggested in the linked thread above)
- new whole width span <= Create new position that will span the whole width of the page where to place JA News or some other modules
- new positions 11-15 to span whole width of site <= Create new positions for different uses other than those intended for positions 6-10 (see explanation and example below).
- footer
- debug
Note that the new position where I plan to place modules such as JA News will be sandwiched by positions:
- positions 6 =>10
- positions 11 =>15
There will be different uses for those two sets of positions. For example, in the Front Page, I may use Positions 1-5 to feature either products or featured JA News category from different categories.
When one clicks on a specific product or specific article, if the iterms in Positions 1-5 are kept for all pages, they will obscure the presentation of an article or product detailed article. This is the situation with JA News Mesolite (original). However, I may want to include similar contents relevant to a product or an article below — without obscuring the detailed text for a regular article or the detailed product article. So, place them in new Positions 11-15. I have different plans for Positions 6-10, and also I want to place some stuff below the new location of JA News module.
I hope I did not confuse you.
Cornelio
Cornelio
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 12, 2011 at 12:09 pm #390956– You create new <joomla url>templatesja_mesolite_iilayoutsblocksbotsl2.php file with content:
<?php
$spotlight = array ('user11','user12','user13','user14','user15');
$botsl = $this->calSpotlight ($spotlight,100);
if( $botsl ) :
?>
<!-- BOTTOM SPOTLIGHT -->
<div id="ja-botsl" class="wrap">
<div class="main clearfix"><?php if( $this->countModules('user11') ): ?>
<div class="ja-box column ja-box<?php echo $botsl['user11']['class']; ?>" style="width: <?php echo $botsl['user11']['width']; ?>;">
<jdoc:include type="modules" name="user11" style="JAxhtml" />
</div>
<?php endif; ?><?php if( $this->countModules('user12') ): ?>
<div class="ja-box column ja-box<?php echo $botsl['user12']['class']; ?>" style="width: <?php echo $botsl['user12']['width']; ?>;">
<jdoc:include type="modules" name="user12" style="JAxhtml" />
</div>
<?php endif; ?><?php if( $this->countModules('user13') ): ?>
<div class="ja-box column ja-box<?php echo $botsl['user13']['class']; ?>" style="width: <?php echo $botsl['user13']['width']; ?>;">
<jdoc:include type="modules" name="user13" style="JAxhtml" />
</div>
<?php endif; ?><?php if( $this->countModules('user14') ): ?>
<div class="ja-box column ja-box<?php echo $botsl['user14']['class']; ?>" style="width: <?php echo $botsl['user14']['width']; ?>;">
<jdoc:include type="modules" name="user14" style="JAxhtml" />
</div>
<?php endif; ?><?php if( $this->countModules('user15') ): ?>
<div class="ja-box column ja-box<?php echo $botsl['user15']['class']; ?>" style="width: <?php echo $botsl['user15']['width']; ?>;">
<jdoc:include type="modules" name="user15" style="JAxhtml" />
</div>
<?php endif; ?></div>
</div>
<!-- //BOTTOM SPOTLIGHT -->
<?php endif; ?>
– Add this code into <joomla url>templatesja_mesolite_iilayoutsdefault.php file
<?php $this->loadBlock('botsl2') ?>
before
<?php $this->loadBlock('footer') ?>
1 user says Thank You to khoand for this useful post
cgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
May 13, 2011 at 1:27 am #391023<em>@khoand 240054 wrote:</em><blockquote>- You create new <joomla url>templatesja_mesolite_iilayoutsblocksbotsl2.php file with content:
<?php
$spotlight = array ('user11','user12','user13','user14','user15');
$botsl = $this->calSpotlight ($spotlight,100);
if( $botsl ) :
?>
<!-- BOTTOM SPOTLIGHT -->
<div id="ja-botsl" class="wrap">
<div class="main clearfix"><?php if( $this->countModules('user11') ): ?>
<div class="ja-box column ja-box<?php echo $botsl['user11']['class']; ?>" style="width: <?php echo $botsl['user11']['width']; ?>;">
<jdoc:include type="modules" name="user11" style="JAxhtml" />
</div>
<?php endif; ?><?php if( $this->countModules('user12') ): ?>
<div class="ja-box column ja-box<?php echo $botsl['user12']['class']; ?>" style="width: <?php echo $botsl['user12']['width']; ?>;">
<jdoc:include type="modules" name="user12" style="JAxhtml" />
</div>
<?php endif; ?><?php if( $this->countModules('user13') ): ?>
<div class="ja-box column ja-box<?php echo $botsl['user13']['class']; ?>" style="width: <?php echo $botsl['user13']['width']; ?>;">
<jdoc:include type="modules" name="user13" style="JAxhtml" />
</div>
<?php endif; ?><?php if( $this->countModules('user14') ): ?>
<div class="ja-box column ja-box<?php echo $botsl['user14']['class']; ?>" style="width: <?php echo $botsl['user14']['width']; ?>;">
<jdoc:include type="modules" name="user14" style="JAxhtml" />
</div>
<?php endif; ?><?php if( $this->countModules('user15') ): ?>
<div class="ja-box column ja-box<?php echo $botsl['user15']['class']; ?>" style="width: <?php echo $botsl['user15']['width']; ?>;">
<jdoc:include type="modules" name="user15" style="JAxhtml" />
</div>
<?php endif; ?></div>
</div>
<!-- //BOTTOM SPOTLIGHT -->
<?php endif; ?>
– Add this code into <joomla url>templatesja_mesolite_iilayoutsdefault.php file
<?php $this->loadBlock('botsl2') ?>
before
<?php $this->loadBlock('footer') ?>
</blockquote>Thanks very much khoand,
The new script created the desired block positions. However, the total width should be 100% of the width of the page. This is does not seem to be the case here:http://www.boston-costumes.com/
for both positions 6 to 10 (see separate forum thread) and positions 12 to 16. In contrast, the new position where JA News was placed (sandwiched by the aforementioned positions, spans the full with of the page.
Cornelio
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 14, 2011 at 11:14 am #391221I response at http://www.joomlart.com/forums/topic/positions-56-and-7-same-width-and-spans-the-whole-page/#post-391220
1 user says Thank You to khoand for this useful post
cgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
May 14, 2011 at 9:45 pm #391273<em>@khoand 240426 wrote:</em><blockquote>I response at http://www.joomlart.com/forums/topic/positions-56-and-7-same-width-and-spans-the-whole-page/#post-391220</blockquote>
Thanks khoand,
I tried it and it worked.
Cornelio
-
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by cgc0202 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum