We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. martyn
  2. General Discussion
  3. Thursday, 25 September 2014
  4.  Subscribe via email
I want to create a module position that covers the full screen width so my image slider as no white borders - is this possible - and is responsive

I am using the "T3 B3 Blank" on my test site - http://www.clickandrent.mobi/en and I have been able to create a new module position but it is always a maximum of 12 columns wide with white space at the side - I don't mind altering a global width value to have no white space down the sides or preferrably just the module where I intend to put my slider has to be full screen width.

I am a newbie in the T3 / Joomla world does anyone have a step by step to create a "Full Width Slider" module position below the main menu - I am a seasoned php programmer and RHCE so know my way around systems - but am new to the webprogramming side.

I am looking to do the same as - http://crosstec.de/templatedemos11/ - I tried the crosstec template but it is absolute rubbish, the load times for pages are painfully slow.

Regards
Martyn
  Burnley, Burnley, Lancashire BB11 2QW, UK
Visit 
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Martyn,

You want to create a module position that has full width only or you want the whole page to be full width? As in the sample site, I see that the whole page is in full width.

To create a module position that has full width, please follow the instructions below.

1. Create a block by adding an .php file in the folder: templates\t3_bs3_blank\tpls\blocks (example: slideshow.php)
2. Open the slideshow.php file and add slideshow position, here is the sample code:

<?php
/**
* @package T3 Blank
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

defined('_JEXEC') or die;
?>

<div class="slideshow">
<jdoc:include type="modules" name="<?php $this->_p($vars['slideshow']) ?>" style="T3Xhtml" />
</div>


<p>Please make sure you done use class "container" as the class is to fix the layout width.</p>

3. Load the block in the layout you want, example we load it in the default layout, so please open the file: templates\t3_bs3_blank\tpls\default.php

<?php $this->loadBlock('slideshow') ?>


4. Create module and assign to the slideshow position and assign to the pages that use default layout

We're done, if you have any trouble, please let me know.

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Gardner Luna and Hi Martyn,

Follow the code from Gardner Luna but if you are using latest framework version remember that customizations should be made in local folder to avoid updates over ride.

New features in http://t3-framework.org/documentation/new-features.html#isolate-template

Regards
References
  1. http://t3-framework.org/documentation/new-features.html#isolate-template
  Calle Juan Millares Carlo, 35010 Las Palmas de Gran Canaria, Las Palmas, Spain
Visit 
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi guys,

@Francisco Diaz: thanks for your remind, I almost forgot that.
@martyn: Please follow the instruction but implement it in the local folder.

Let me know if you have any problem.

Gardner.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
hi,

Pleas forgif me for opening up this old topic. I could not find another one about this topic.

I am trying this solution but i am doing something wrong ;(

I get the following error:
Notice: Undefined index: slideshow in /public/sites/http://www.albro-design.nl/templates/t3_bs3_blank/tpls/blocks/slideshow.php on line 23
" style="T3Xhtml" />

Alsow the module do's not have a "slideshow" option.

Can anybody see what i am doing wrong?

Thanks,
Alex
  Netherlands
Visit 
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Alex,

In this case, you just need to copy the slideshow.php to the folder: templates/t3_bs3_blank/tpls/blocks and the issue could be resolved. As this is new file so the work will not be lost when upgrading with JA Extension Manager.

Regards.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Gardner and Francisco,

I followed the instructions given in this thread to create a slideshow that is full width. After loading the block in the layout I get an error on the page which says:

Notice: Undefined index: slideshow in /public/sites/http://www.albro-design.nl/templates/t3_bs3_blank/tpls/blocks/slideshow.php on line 10 " style="T3Xhtml" />

I've also followed the instructions given by Francisco. I'm using Joomla 3.4.8 with the latest T3 Framework package. What am I doing wrong?
Attachments (1)
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
I've solved this by deleting $vars[] from the given code. After this I followed these steps to add the position to the list of selectable positions in the module. Hope this helps someone.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.