simplify manual - weaverthemes · 2013-11-21 · working in rapidweaver [simplify [header...

29
Simplify Manual

Upload: others

Post on 10-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Simplify Manual

Page 2: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

1 Lessons

1.1 How to change the headings text in sidebar? 4

1.2 Convert a RapidWeaver photo album into a PrettyPhoto lightbox gallery 7

1.3 Using the Built in prettyPhoto Script! 11

1.4 How to replace the default images for your own! 15

1.5 Using and Implementing CU3ER (cu3er-v0.9.2) in your project 18

1.6 Using Extra Content (EC) 2&3 27

Page 3: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Lessons

Simplify Manual - 3 ©2009 WeaverThemes All Rights Reserved

Page 4: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

How to change the headings text in sidebar?

This is a simple step process to change the headings text of the sidebar...

Open Simplify Theme Contents

Simplify Manual - 4 ©2009 WeaverThemes All Rights Reserved

Page 5: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Open the file custom.js

The file we need to edit is in the "js" folder inside you will see the file custom.jsTo explain this process, I'm using Coda but you can use any HTML editor, likehttp://www.barebones.com/products/textwrangler/ wich is just fine for this.

Simplify Manual - 5 ©2009 WeaverThemes All Rights Reserved

Page 6: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Editing the text for sidebar

Ok, now we need to earch for this function, then all we need to do is edit those text inside the <h3></h3> Tags,Save and your done.

Simplify Manual - 6 ©2009 WeaverThemes All Rights Reserved

Page 7: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Convert a RapidWeaver photo album into a PrettyPhoto lightbox gallery

Open the Page Inspector > Header > Javascript tab

After opening you page isnspector you only need to copy / paste the below code in it:

// Without TitlesjQuery(document).ready(function($){ $('.thumbnail-frame').each(function(i,item){

Simplify Manual - 7 ©2009 WeaverThemes All Rights Reserved

Page 8: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

$('a:first',this).attr( 'rel','prettyPhoto[gallery1]' ).attr( 'href', $('a:first',this).children('img')[0].src.replace(/\-thumb/,'-full') ); }); $('.thumbnail-frame a').prettyPhoto();});

// With TitlesjQuery(document).ready(function($){ $('.thumbnail-frame').each(function(i,item){ $('a:first',this).attr( 'rel','prettyPhoto[gallery1]' ).attr( 'href', $('a:first',this).children('img')[0].src.replace(/\-thumb/,'-full') ).attr( 'title', $('p.thumbnail-caption:first',this).text() ); }); $('.thumbnail-frame a').prettyPhoto();});

Note: The above code is from Josh Lockhart, so all credits goes to him!

Simplify Manual - 8 ©2009 WeaverThemes All Rights Reserved

Page 9: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Change the prettyPhoto lightbox Theme

As you can see highlighted above I've added some code to the end of the function:You can use 4 types of themes:

dark_roundeddark_squarelight_roundedlight_square

Simplify Manual - 9 ©2009 WeaverThemes All Rights Reserved

Page 10: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

You just need to replace the value above for it to work.

Simplify Manual - 10 ©2009 WeaverThemes All Rights Reserved

Page 11: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Using the Built in prettyPhoto Script!

This is a tutorial on how to use the prettyPhoto script built in the theme!

Create a post or anything like a Styled type page

insert a image in the post or styled text page.

Simplify Manual - 11 ©2009 WeaverThemes All Rights Reserved

Page 12: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Add Original image to assets

Click Add Files to insert the original image in the assets panel!

Simplify Manual - 12 ©2009 WeaverThemes All Rights Reserved

Page 13: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Link to the bigger photo!

Select the image and then click the plus button above.

Simplify Manual - 13 ©2009 WeaverThemes All Rights Reserved

Page 14: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Adding/Changing Values

Now after you've inserted the big image to the assets panel, we need to change the values above, first click theplus button then add a Name = rel and Value = prettyPhoto like above, Done! just test it and see for yourself howsmooth this script is.

Simplify Manual - 14 ©2009 WeaverThemes All Rights Reserved

Page 15: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

How to replace the default images for your own!

Open the Theme Contents "Reveal Theme Content in Finder"

In RapidWeaver, open your website file and view the Themes panel (View > Show Themes)This step shoud bring up your Theme folder!

Find the Theme you need to add your images to and right click it, this should open a context box where you cansee something like "Reveal Contents in Finder"

Simplify Manual - 15 ©2009 WeaverThemes All Rights Reserved

Page 16: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Open the Images folder and locate the folder named editable_images like bellow!

In the resultant Finder window, place your image(s) into the folder /images/editable_images/Ensure your images are named the same way as the ones in that folder "banner_1.jpg"..."banner_15.jpg".Capitalization is important. Ensure your file names use only lower-case letters.

Simplify Manual - 16 ©2009 WeaverThemes All Rights Reserved

Page 17: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Choose your new banner from the Inspector

In RapidWeaver, select "Banner_01", "Banner_02", "Banner_03", etc from the "Page Inspector > Styles > BannerImages" Theme Variations set.

Simplify Manual - 17 ©2009 WeaverThemes All Rights Reserved

Page 18: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Using and Implementing CU3ER (cu3er-v0.9.2) in your project

This instructions will help you how to install a Flash 3D Banner in your project, because of the license of theFlash Banner I cannot include it with the Theme, but of course if you want to use it just follow these instructionsand you be set to go.

First you need to download the package from here. or eventually if you want, you can download a demo projectwith the system in place, just make sure that you extract it to your Desktop, because the paths need to becorrect.

Important: If you wish to use the Free or Pro online version instead, check this URL http://support.getcu3er.com/entries/337421-guide-on-how-to-embed-cu3er-in-rapidweaver, that explains how toget it working in RapidWeaver, keep in mind that if you need to place the CU3ER generated files in the Banneryou need to wrap the CU3ER code in a Extra Content 1 Area, see below:

<div id="myExtraContent1">

Your CU3ER generated content here

</div><!-- #myExtraContent -->

Note: If you are receiving an error message or crashed when viewing embedded flash files you may need to addsome folders on your Mac to Adobe Flash Player's 'Safe List; / Viewing Flash files in Preview mode.

Simplify Manual - 18 ©2009 WeaverThemes All Rights Reserved

Page 19: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Disable the Default Image in your Theme

First lets disable the default image, that you see when you create a new page in RapidWeaver and select theSimplify Theme.

Simplify Manual - 19 ©2009 WeaverThemes All Rights Reserved

Page 20: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Unzip the files to your Desktop

After unziping the files you've downloaded to your desktop, you will need to open the folder cu3er-v0.9.2 > cu3er,and you will see the above files.

Simplify Manual - 20 ©2009 WeaverThemes All Rights Reserved

Page 21: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Adding the Files to your Resources panel

In you Resources Inspector, add the following files, you can see a snapshot of what you need to add:

cu3er.swfswfobject.jsconfig.xmlimages/

Simplify Manual - 21 ©2009 WeaverThemes All Rights Reserved

Page 22: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Working in RapidWeaver [Simplify [Header swfObject]]!

Ok, now we have made all necessary configurations, now let's bring our "Simplify Theme" on board, Open yourPage Inspector > Header > Header tab and copy / paste this code snippet below the lines:

------------------------------------------------------------------------------------

Simplify Manual - 22 ©2009 WeaverThemes All Rights Reserved

Page 23: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

<script type="text/javascript" src="%resource(cu3er/swfobject.js)%"></script>

Working in RapidWeaver [Simplify [JavaScript embed Flash 3D slider]]!

Now you should copy / paste the code snippet below into your Page Inspector > Header > Javascript Tab

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Simplify Manual - 23 ©2009 WeaverThemes All Rights Reserved

Page 24: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

var flashvars = {};flashvars.xml = "%resource(cu3er/config.xml)%";var attributes = {};attributes.wmode = "transparent";attributes.id = "slider";swfobject.embedSWF("%resource(cu3er/cu3er.swf)%", "static", "960", "300", "9", "expressInstall.swf", flashvars,attributes);

Note that I'm using a folder in my Resources named cu3er, this is a good practice to keep things organized.

Simplify Manual - 24 ©2009 WeaverThemes All Rights Reserved

Page 25: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Make sure all pages you create (if using the cu3er banner) are in your Website root.

Very Important: The pages you create (if using the cu3er flash banner) needs to be in your Website root, justlook at this Page Inspector > General tab and then check the Folder and Filename fields, you need to makesure that the folder value is always a forward slash “ / “ then you can name your page anything you want.

Simplify Manual - 25 ©2009 WeaverThemes All Rights Reserved

Page 26: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Also after this you mostly will need to adjust the banner config.xml file to reflect your needs, add or remove moreimages add text etc, you can take a look at the cu3er docs here: http://progressivered.com/cu3er/docs/ foradicional info.

Just refresh and your done.

Simplify Manual - 26 ©2009 WeaverThemes All Rights Reserved

Page 27: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Using Extra Content (EC) 2&3

This lesson is intended to give you an idea of how you can activate Extra Content in you Theme.

Install the EC Snippets that are inside the package

As you can see above, after downloading your Theme you will see a Resources folder with the contents abovethe one that you need to use for Extra Content to work is the Snippets one, so go ahead open that folder andinstall those snippets.

Simplify Manual - 27 ©2009 WeaverThemes All Rights Reserved

Page 28: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

Open the Snippets window

Now that you've created a new project and selected the Theme, is this case Simplify, we need to use thosesnippets above, by drag and drop them in to the area of our project, those can be place in any place you want, itcould be the sidebar in Page Inspector or in your Page Content.

Simplify has 3 Extra Content Slots, the first renders in the Banner for slideshows, another one just below theBanner area, and the second renders just below the main content.

If you see above, all of the Extra Content snippets starts with <div id="myExtraContent1"> so they will alwaysrender in the first slot, in the banner.If you want to render at the bottom, you need to change <div id="myExtraContent1"> to <div id="myExtraContent2"> or <div id="myExtraContent3">

Simplify Manual - 28 ©2009 WeaverThemes All Rights Reserved

Page 29: Simplify Manual - WeaverThemes · 2013-11-21 · Working in RapidWeaver [Simplify [Header swfObject]]! Ok, now we have made all necessary configurations, now let's bring our "Simplify

See easy, you can even use stacks plugin to do this, but that's another story, I recomend you to check the ExtraContent tutorials to learn more.

Simplify Manual - 29 ©2009 WeaverThemes All Rights Reserved