Re: BizBuzz - New Template

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
gasemans
Forum Members
Forum Members
Posts: 41
Joined: Thu Jan 17, 2008 4:56 pm

Re: BizBuzz - New Template

Post by gasemans »

That would mean this will be in the template javascript:

Code: Select all

<__script__ type="text/javascript" src="modules/Gallery/templates/fancybox/jquery.fancybox.pack.js"></__script>
<__script__ type="text/javascript" src="modules/Gallery/templates/jquery/jquery.mousewheel.pack.js"></__script>

<__script__ type="text/javascript">
$(document).ready(function() {
	$("a.group").fancybox({
		'speedIn':		300,
		'speedOut':	300,
		'overlayColor':	'#000',
		'overlayOpacity':	0.7
	});
});
</__script>
I have tryd it but i keep on having the same issue.
uniqu3

Re: BizBuzz - New Template

Post by uniqu3 »

Yes i think it could be caused because i call all my javascript at the bottom of the template, but gallery, speak fancybox gets called somewhere above in the content. You could try moving the jQuery call from BizBuzz template in before the part of the template (below {stylesheet} tag):

Code: Select all

<__script__ type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></__script>  
or you could remove:

Code: Select all

<__script__ type="text/javascript" src="modules/Gallery/templates/fancybox/jquery.fancybox.pack.js"></__script>
<__script__ type="text/javascript" src="modules/Gallery/templates/jquery/jquery.mousewheel.pack.js"></__script>

<__script__ type="text/javascript">
$(document).ready(function() {
	$("a.group").fancybox({
		'speedIn':		300,
		'speedOut':	300,
		'overlayColor':	'#000',
		'overlayOpacity':	0.7
	});
});
</__script>
in the gallery template and add it to the rest of the Javascript calls in the BizBuzz template at the bottom of it.
Also you could open the functions.js and add the fancybox function there and remove it from template:

Code: Select all

$(document).ready(function() {
	$("a.group").fancybox({
		'speedIn':		300,
		'speedOut':	300,
		'overlayColor':	'#000',
		'overlayOpacity':	0.7
	});
});
gasemans
Forum Members
Forum Members
Posts: 41
Joined: Thu Jan 17, 2008 4:56 pm

Re: BizBuzz - New Template

Post by gasemans »

AHHH
IT WORKS

Nice work m8

I have moved the JS to the head part of the website
and now it is working again
DCX
Forum Members
Forum Members
Posts: 31
Joined: Fri Jan 09, 2009 7:35 am

Re: BizBuzz - New Template

Post by DCX »

This is a really nice theme! I just installed it and it works great thanks to your detailed readme.txt and forum responses. No problems yet... knock on wood

Thank you

Okay, there is one question. My blocks are not in a row like your example. They are in a column instead. Any idea how I can change the blocks to be in a row? See attached image

EDIT: I discovered the blocks will form a row UNLESS you activate the sidebar. If you activate the sidebar it just pushes them into a column. This is not a problem.
Last edited by DCX on Tue Aug 03, 2010 4:42 am, edited 1 time in total.
Sign
Forum Members
Forum Members
Posts: 12
Joined: Mon Aug 02, 2010 11:06 pm

Re: BizBuzz - New Template

Post by Sign »

First of all i would to compliment you on this template. Very Nice Work!!!!

I have a problem with the template in the new version CMS Made Simple 1.8.1 "Mankara"

The problem is that the dropdown selection for selected pictures (teaser)
I do see the teaser atributes ( First Teaser Title Attribute:) but i cannot select a photo from the uploads\BizBuzz\teaser folder.

In the pervious version everything was working ok.

Hope you can help me out.

Thanks in advance,

Sign
uniqu3

Re: BizBuzz - New Template

Post by uniqu3 »

Do i understand you right? You can't see dropdown for teaser images?
Is there anything in place, like error or something in the edit page?

There were problems with 1.8 due to the bug in that version but i thought i fixed the issues by removing _ character in the template smarty stuff.

Can you mail me screenshot of your Administration and did you check the path to the teaser folder?
Sign
Forum Members
Forum Members
Posts: 12
Joined: Mon Aug 02, 2010 11:06 pm

Re: BizBuzz - New Template

Post by Sign »

Thanks for your fast responce. I see what is happening but have no idea how to fix it.

The drop down menu now appear on the bottom of the editing page. So not right under the teaser text.

Can you help me out?

Again Thanks
Attachments
teaser_dropdown.png
uniqu3

Re: BizBuzz - New Template

Post by uniqu3 »

Did you move the position of the teaser or the smarty {capture}{/capture} in the template?
Unfortunately i do not have any 1.8 install at the moment where i could test it.
DCX
Forum Members
Forum Members
Posts: 31
Joined: Fri Jan 09, 2009 7:35 am

Re: BizBuzz - New Template

Post by DCX »

I like the sidebar with navigation and new categories but I wonder if it would be possible to include a sidebar with custom HTML instead?

Maybe replace navigation or news with a global content block?

Thank you
Sign
Forum Members
Forum Members
Posts: 12
Joined: Mon Aug 02, 2010 11:06 pm

Re: BizBuzz - New Template

Post by Sign »

Hi Karma,

I have not done anything. Upgraded CMS to a newer version, after that this porblem came.

I will try things out en let you know.
uniqu3 wrote: Did you move the position of the teaser or the smarty {capture}{/capture} in the template?
Unfortunately i do not have any 1.8 install at the moment where i could test it.
uniqu3

Re: BizBuzz - New Template

Post by uniqu3 »

@DCX open the template and replace:

Code: Select all

{if $sidenav == "+"}
      <h3>Navigation</h3>
      {menu start_level='2'}      
      {/if}
      {if $newscat == "+"}
      <h3>News Categories</h3>
      {cms_module module='News' action='browsecat' detailpage='news'}
      {/if}
with your global content blocks.

@Sign
Where is this part located in your template:

Code: Select all

{content block="Display Three Blocks in Content" oneline="true" size="1" default="-" assign="contentblocks"}
{if empty($contentblocks)}{assign var="contentblocks" value="+"}{/if}
{* Showing the Header Sliders *}
{capture assign='cfirst'}{content block='First Teaser Title Attribute' wysiwyg="false" oneline="true"}{/capture}
{capture assign='tfirst'}{content_image block='First Teaser' dir='BizBuzz/teaser' urlonly='true'}{/capture}
{capture assign='csecond'}{content block='Second Teaser Title Attribute' wysiwyg="false" oneline="true"}{/capture}
{capture assign='tsecond'}{content_image block='Second Teaser' dir='BizBuzz/teaser' urlonly='true'}{/capture}
{capture assign='cthird'}{content block='Third Teaser Title Attribute' wysiwyg="false" oneline="true"}{/capture}
{capture assign='tthird'}{content_image block='Third Teaser' dir='BizBuzz/teaser' urlonly='true'}{/capture}
You could try moving this code somewhere else in the template before {content} tag to see if it changes anything.
Last edited by uniqu3 on Tue Aug 03, 2010 9:18 pm, edited 1 time in total.
DCX
Forum Members
Forum Members
Posts: 31
Joined: Fri Jan 09, 2009 7:35 am

Re: BizBuzz - New Template

Post by DCX »

uniqu3 wrote: @DCX open the template and replace:

Code: Select all

{if $sidenav == "+"}
      <h3>Navigation</h3>
      {menu start_level='2'}      
      {/if}
      {if $newscat == "+"}
      <h3>News Categories</h3>
      {cms_module module='News' action='browsecat' detailpage='news'}
      {/if}
with your global content blocks.
That worked perfect. In fact I just added my global content block right before that code so now I can display my custom content and keep the news and navigation in place if I decide to use them.

BTW - I am using this theme on a clean install of 1.8.1 with no problems.
DCX
Forum Members
Forum Members
Posts: 31
Joined: Fri Jan 09, 2009 7:35 am

Re: BizBuzz - New Template

Post by DCX »

I am trying to change the Nivo Slider settings. I want to change slices, pausetime, and effect. I tried editing //Default Settings in uploads/BizBuzz/js/nivo.slider.js but that has no effect. The settings must be in another place.

Can you please help me locate the settings for the Nivo Slider teaser images?

Thanks
Sign
Forum Members
Forum Members
Posts: 12
Joined: Mon Aug 02, 2010 11:06 pm

Re: BizBuzz - New Template

Post by Sign »

Please check you template settings because i found that .js files used are not in the js folder but in the root of BizzBuzz.
DCX wrote: I am trying to change the Nivo Slider settings. I want to change slices, pausetime, and effect. I tried editing //Default Settings in uploads/BizBuzz/js/nivo.slider.js but that has no effect. The settings must be in another place.

Can you please help me locate the settings for the Nivo Slider teaser images?

Thanks
DCX
Forum Members
Forum Members
Posts: 31
Joined: Fri Jan 09, 2009 7:35 am

Re: BizBuzz - New Template

Post by DCX »

I looked in the template BizBuzz and found the javascript call at the bottom but there do not seem to be any settings in the template. I know I must be missing something easy...

Code: Select all

<__script__ type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></__script>          
<__script__ type="text/javascript" src="uploads/BizBuzz/easing.js"></__script>     
<__script__ type="text/javascript" src="uploads/BizBuzz/nivo.slider.js"></__script> 
<__script__ type="text/javascript" src="uploads/BizBuzz/jquery.cycle.all.min.js"></__script>   
<__script__ type="text/javascript" src="uploads/BizBuzz/superfish.js"></__script>        
<__script__ type="text/javascript" src="uploads/BizBuzz/functions.js"></__script>                  
    <!--[if IE 6]> 
            <__script__ src="uploads/BizBuzz/DD_belatedPNG_0.0.8a-min.js"></__script> 
            <__script__>
            DD_belatedPNG.fix('.search-button,#toTop,.postDate,.button,.postAuthor,.newsControl,.postCategory,.png,.txt,.zip,.email,.external,.list-print,.list-back,.list-add,.list-delete,.list-checkmark,.list-help,.list-favorites,.nivo-controlNav,.nivo-directionNav,img'); 
            </__script> 
Post Reply

Return to “Layout and Design (CSS & HTML)”