Page 5 of 11

Re: BizBuzz - New Template

Posted: Sat Sep 04, 2010 4:10 pm
by uniqu3
Hi Elkman and Thank you.

in the top of the Template you can see these lines of code:
* 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}
Now you should add below for example:
{capture assign='cfourth'}{content block='Fourth Teaser Title Attribute' wysiwyg="false" oneline="true"}{/capture}
{capture assign='tfourth'}{content_image block='Fourth Teaser' dir='BizBuzz/teaser' urlonly='true'}{/capture}
On line 73 you can find the Slider part:
         
{if ($cfirst)&&($tfirst)}
{elseif ($tfirst)}{/if}
{if ($csecond)&&($tsecond)}
{elseif ($tsecond)}{/if}
{if ($cthird)&&($tthird)}
{elseif ($tthird)}{/if}                    
           
Now add there your additional images as above use what you assigned:
{if ($cfourth)&&($tfourth)}
{elseif ($tfourth)}{/if}
Thats all.

The easier way would be using ScriptDeploy and Gallery module for the slide, but i couldn't include the module in Template  :)

For Example (didn't test this but it should be something like this) for the Gallery template, you don't need to include any js or css there since it's all in the template:
{foreach from=$images item=image}        
{supersizer path=$image->file|rawurldecode width=950 height=245 crop="center,center" alt=$image->titlename}{/foreach}    
         
And in Tempalte where you simply place {Gallery dir='yourdir'} and to that Directory/Subgallery you assign the template that was created.

Re: BizBuzz - New Template

Posted: Wed Sep 08, 2010 4:52 pm
by Kristian
Hi,

First, this theme looks awesome! Great work. And it seems like you are really nice at helping people as well  :)
Which is also why I am now trying.

I have installed 1.8.2

I have the same problem as Sign even though mine is a bit worse  ;D
In the editor page i also have the dropdowns on the bottom in stead of in the top.
But on my frontpage http://kristianpetersen.dk/v2/ I can't see any of the news modules or the contact form in the bottom.

I have done everything from the readme file and I have went through this forum post but nothing has helped.

Hope that you can help me!

Re: BizBuzz - New Template

Posted: Wed Sep 08, 2010 5:32 pm
by uniqu3
Hi Kristian and thank you.

Regarding the Form problem, try opening the theme and save it again, at least this work on a similar problem before.
And regarding the News on frontpage, did you add + sign in the field "Display News Slider In Content:"?

Re: BizBuzz - New Template

Posted: Thu Sep 09, 2010 8:38 am
by Kristian
See, it really was that simple! :) At least with the news blocks. I added the + and there everything was.

But what do you mean by opening the theme and save it again?

Re: BizBuzz - New Template

Posted: Thu Sep 09, 2010 8:43 am
by uniqu3
I mean go to "Layout -> Templates -> BizBuzz: Default" open it for edit and click "submit"

I have upgraded my local test installation with BizBuzz theme to 1.8.2 and didn't face any problems except the image selection for the header.
If i find a solution for this ill post it here.

Re: BizBuzz - New Template

Posted: Thu Sep 09, 2010 12:27 pm
by Kristian
That worked! Thank you so much!

Re: BizBuzz - New Template

Posted: Fri Sep 10, 2010 7:23 am
by Evert B.
I have to say this too... THIS IS AN AWESOME TEMPLATE!!!

;D Thanks uniqu3!!!

Re: BizBuzz - New Template

Posted: Fri Sep 10, 2010 9:57 pm
by uniqu3
After upgrade process on some of CMS Made Simple driven websites i came to conclusion that it would be time to upgrade the BizBuzz site to and fix some bugs in the Template.

So new version has been released.
  • Menu flickering in IE8 BUGFIX
  • NivoSlider not loading images on first load BUGFIX
  • if choosing MenuManager pageNavigation Template as default, sidebar menu had same styling applied as horizontal navigation BUGFIX
  • {stylesheet} was replaced with {cms_stylesheet} due to changes in CMSMS 1.8.2 and images in stylesheet now use [[root_path]]  UPDATE
  • Added content blocks in Footer part, now you are able to enable/disable News, SocialNetwork links and Form and add your custom text when editing page UPDATE
  • NivoSlider Header is now using Gallery module, template for Gallery is included in the package and you can now use different folder on each page  UPDATE
  • Content Block and Template options are now using AdvancedContent module giving you better overview when editing page UPDATE
Please note that you will need to install AdvancedContent (thank you NaN), Gallery (thank you Jos), FormBuilder modules and SuperSizer plugin (thank you JeremyBass) to get this version working.

Download of the new version can be found at: http://www.i-arts.eu/bizbuzz
Detailed Installation Instructions: http://www.i-arts.eu/bizbuzz/news/7/56/ ... newsDetail

Re: BizBuzz - New Template

Posted: Wed Sep 15, 2010 11:54 am
by Evert B.
I had it all working on the 'old' version, now when I try the new one I cannot make the slider work.

I get this error:

Code: Select all

There is a path issue with the orginal image!
Does this look right?
Path:/home/debXXXX/domains/XXXX.nl/public_html/nieuw/www.XXXX.nl/nieuw/index.php?mact=Gallery,m8a280,default,1&m8a280start=1&m8a280number=5&m8a280dir=homepage/slider&m8a280returnid=78&page=78
slider diversefruit200.jpg
You can see it here

Any1 knows what I did wrong?

Re: BizBuzz - New Template

Posted: Wed Sep 15, 2010 12:29 pm
by uniqu3
What did you enter int the field where gallery directory should be entered on the page?
It looks like page would be called?
www.praktijkberkelaar.nl/nieuw/index.php?mact=Gallery,m8a280,default,1&m8a280start=1&m8a280number=5&m8a280dir=homepage/slider&m8a280returnid=78&page=78

Re: BizBuzz - New Template

Posted: Wed Sep 15, 2010 1:36 pm
by Evert B.
uniqu3 wrote: What did you enter int the field where gallery directory should be entered on the page?
It looks like page would be called?
I just entered the name of the gallery:

Code: Select all

homepage
The gallery I created is called 'homepage'

Re: BizBuzz - New Template

Posted: Wed Sep 15, 2010 1:57 pm
by uniqu3
Try changing the "slider" Gallery template with this:
{foreach from=$images item=image}
{capture assign=sizedimage}{$image->file}{/capture}
{if !empty($image->fields.link.value)}     
fields.link.value}">
{supersizer path=$sizedimage width_attr=950 height_attr=245 width=950 height=245 crop="center,center" alt=$image->titlename title=$image->comment}{else}
{supersizer path=$sizedimage width_attr=950 height_attr=245 width=950 height=245 crop="center,center" alt=$image->titlename title=$image->comment}{/if}
{/foreach}   
 
If this doesn't work PM or mail me access to your admin so i can take a look at it.

Re: BizBuzz - New Template

Posted: Wed Sep 15, 2010 2:14 pm
by Evert B.
Thanks I am coming closer to a solution now. I had to modify the height to my own 200px like this:

Code: Select all

<div id="slider">{foreach from=$images item=image}
{capture assign=sizedimage}{$image->file}{/capture}
{if !empty($image->fields.link.value)}     
<a href="{$image->fields.link.value}">
{supersizer path=$sizedimage width_attr=950 height_attr=200 width=950 height=200 crop="center,center" alt=$image->titlename title=$image->comment}</a>{else}
{supersizer path=$sizedimage width_attr=950 height_attr=200 width=950 height=200 crop="center,center" alt=$image->titlename title=$image->comment}{/if}
{/foreach}     
</div> 
Now I can sometimes see an image. It just seems that the logo on top of the slider does not seem to work. Perhaps this is the problem?
I'll pm you my admin acces.

Thanks- Evert

Re: BizBuzz - New Template

Posted: Wed Sep 15, 2010 8:18 pm
by Evert B.
;D YES!  ;D

Thanks to Goran it is all working perfectly again. It seems not to work if you work with a subgalery, or with a gallery that contains a subgallery.

Many thanks to you Goran!

Cheers Evert

Re: BizBuzz - New Template

Posted: Thu Sep 16, 2010 2:29 pm
by uniqu3
Hi telynola,
""Smarty error: [in module_db_tpl:Gallery;Slider line 4]: syntax error: unrecognized tag 'supersizer' (Smarty_Compiler.class.php, line 590)" string(137) "Smarty error: [in module_db_tpl:Gallery;Slider line 5]: syntax error: unrecognized tag 'supersizer' "
you need to upload function.supersizer.php to you CMSMS /plugins folder
string(80) "Smarty error: unable to read resource: "module_db_tpl:News;summarynewsFrontpage""
Did you create summary Template for the frontpage? I have noticed that xml export didn't work well either because of a bug in ThemeManager or i have no idea why, but i originaly named news summary "newsFrontpage" for some reason after importing xml file it'S renamed to "summarynewsFrontpage" so now you have two options.

Either create News Summary template named "summarynewsFrontpage" from newsFrontpage.txt or change in Template where it says {news summarytemplate='summarynewsFrontpage'} to {news summarytemplate='newsFrontpage'}