-
AuthorPosts
-
October 13, 2013 at 6:57 pm #191351
Good Day,
I am using the JA Fubix template to update our local sports reporting website. I need to add a new position to the layout – also, I need one removed.
1. I need the search box removed from the menu, and the menu extended into the space where the search box once existed.
2. I need a position created directly below the main menu, that is the same width as the content below.
I have attached a rough image of what I need, any help would be most greatly appreciated. My knowledge of css code is growing quickly out of date as I grow older. haha.
Sincerely,
Mike
October 13, 2013 at 6:58 pm #508848the current url is http://www.mikebarrington.ca/sportspage2013
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
October 16, 2013 at 9:44 am #509148Hi Mike,
Your requests are related to customizing our JA Fubix template layout so that I suggest you to backup your files before refering this guides below:
<blockquote>1. I need the search box removed from the menu, and the menu extended into the space where the search box once existed.</blockquote>
Open templatesja_fubixtplsblocksheader.php file, remove or commnet lines (61-67th):
<?php if ($this->countModules('top-header')) : ?>
<!-- HEAD SEARCH -->
<div class="span2 head-social top-header pull-right<?php $this->_c('top-header')?>">
<jdoc:include type="modules" name="<?php $this->_p('top-header') ?>" style="raw" />
</div>
<!-- //HEAD SEARCH -->
<?php endif ?>
Then change <div class=”span10“> to <div class=”span12“>
<blockquote>2. I need a position created directly below the main menu, that is the same width as the content below.</blockquote>
You can look at this tip: http://www.joomlart.com/forums/topic/how-to-create-new-module-position-updated/
1 user says Thank You to phong nam for this useful post
October 16, 2013 at 7:20 pm #509215Thank you very much, Leo. Your assistance is greatly appreciated.
I am struggling with the new module instructions. I think my lack of knowledge of the code is my problem… Is there any way you could have a look? I included access for admins when I originally posted, but can PM the same.
Very Sincerely,
-Mikephong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
October 17, 2013 at 1:05 am #509243Hi Mike,
Yes. Try to follow given tip to create the new module position, then you can send me PM. I will help to check our customization.
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
October 18, 2013 at 4:38 am #509413Hi Mike,
Well, you can backup your files and follow these steps below:
– Open templatesja_fubixtplsblockshomepage.php file, add these codes into 62th line (before <div class=”row”>):
<div class="new_position<?php $this->_c('new_position')?> span12">
<jdoc:include type="modules" name="<?php $this->_p('new_position') ?>" style="T3Xhtml" />
</div>
– Go to Template Manager >> JA_Fubix – Home style, select Home layout. Then assign this template style to selected menu items (i.e Home).– Then you can create a module at new_position position, it will appear below the main menu and have the same witdth with the content below.
Note: You can apply this method for other layouts (Default, Fixture …) by adding the defined position codes above into the same position in mainbody-content-left.php, mainbody-content-right.php, mainbody-right.php, just depend on the layout you assigned to menu items.
October 19, 2013 at 12:17 am #509548Hi again, I hate to be a bother, but I’m just got getting anywhere with this.
I’ve followed your instructions, but when I try to Save the Template – It won’t let me…
Did I potentially screw something up when attempting to follow the original tip you suggested?
-Mike
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
October 22, 2013 at 3:49 am #509786Hi Mike,
Sorry, I came back late. I have already checked out the template styles again, corrected the saving button to work finely now. I also try to create a Custom HTML module named “Banner (spban position)” on new position “spban”. You can check it and replace with your desired module.
October 25, 2013 at 11:12 pm #510244Leo, I sincerely do greatly appreciate your time helping me with this issue.
Unfortunately, I am still having issues with saving the template after making changes in the template manager. Specifically, I wish to assign the ‘homepage’ style to the entire website. (So that Banner position is visible on all pages)..
Also, I was trying to toy around with the placement of the modules in the layout section – but again, I am unable to save any changed.
Do you have any thoughts as to why I would be experiencing this?
Again, thank you very much for you time.
Mikephong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
October 28, 2013 at 9:52 am #510376Hi Mike,
There is a tiny wrong definition of span with in block file top-spban.php that caused the template style not be saved. I just have corrected the block file and you can save the JA_Fubix_Home template style as usual now. Can you check it again and back to confirm your result ?
1 user says Thank You to phong nam for this useful post
October 30, 2013 at 2:33 am #510598All is well.
Once again, a most sincere thank you for your hard work and professionalism.
Thank You.
AuthorPostsViewing 11 posts - 1 through 11 (of 11 total)This topic contains 11 replies, has 2 voices, and was last updated by thesportspage 11 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Add & Remove a Position
Viewing 11 posts - 1 through 11 (of 11 total)