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"
Post Reply
uniqu3

Re: BizBuzz - New Template

Post 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.
Last edited by uniqu3 on Sat Sep 04, 2010 4:16 pm, edited 1 time in total.
Kristian
Forum Members
Forum Members
Posts: 12
Joined: Wed Sep 08, 2010 4:46 pm

Re: BizBuzz - New Template

Post 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!
uniqu3

Re: BizBuzz - New Template

Post 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:"?
Kristian
Forum Members
Forum Members
Posts: 12
Joined: Wed Sep 08, 2010 4:46 pm

Re: BizBuzz - New Template

Post 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?
uniqu3

Re: BizBuzz - New Template

Post 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.
Kristian
Forum Members
Forum Members
Posts: 12
Joined: Wed Sep 08, 2010 4:46 pm

Re: BizBuzz - New Template

Post by Kristian »

That worked! Thank you so much!
Evert B.
Power Poster
Power Poster
Posts: 414
Joined: Fri Oct 20, 2006 12:07 pm

Re: BizBuzz - New Template

Post by Evert B. »

I have to say this too... THIS IS AN AWESOME TEMPLATE!!!

;D Thanks uniqu3!!!
uniqu3

Re: BizBuzz - New Template

Post 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
Evert B.
Power Poster
Power Poster
Posts: 414
Joined: Fri Oct 20, 2006 12:07 pm

Re: BizBuzz - New Template

Post 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?
uniqu3

Re: BizBuzz - New Template

Post 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
Last edited by uniqu3 on Wed Sep 15, 2010 12:41 pm, edited 1 time in total.
Evert B.
Power Poster
Power Poster
Posts: 414
Joined: Fri Oct 20, 2006 12:07 pm

Re: BizBuzz - New Template

Post 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'
uniqu3

Re: BizBuzz - New Template

Post 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.
Evert B.
Power Poster
Power Poster
Posts: 414
Joined: Fri Oct 20, 2006 12:07 pm

Re: BizBuzz - New Template

Post 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
Evert B.
Power Poster
Power Poster
Posts: 414
Joined: Fri Oct 20, 2006 12:07 pm

Re: BizBuzz - New Template

Post 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
uniqu3

Re: BizBuzz - New Template

Post 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'}
Post Reply

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