Doodlekit™ Advanced - Latest Forum Posts http://dkadvanced.com/forum en-us Adding custom icons to your doodlekit layout. - Heath Huffman <p>If you’re going to create your own unique layout for the <a href="http://doodlekit.com">doodlekit website builder tool</a>, you will definitely have to learn how to do this. Go into your admin tool and select the “settings” link. Then go to the “advanced” tab. This is where your CSS editor is located. Check the “Enable Custom Stylesheet” checkbox if it is not selected already and then click the “Save” button. Next, click the “customize” button. This will take you to the CSS editor. Here you can upload images you want to use for your custom design as well as write your own CSS code to override the existing code.</p> <p>There are 3 basic icons (or sets of icons) that you will want to alter. I have included a Photoshop psd file that I use for each:</p> <p>1. The “Back” Arrow Icon (<a href="/media/download/download_file/11/arrow3.psd">download</a>) <br />2. The Photo Album Icon (<a href="/media/download/download_file/12/album.psd">download</a>) <br />3. Sidebar, Forum, & Blog Icons (<a href="/media/download/download_file/14/collection1.psd">download</a>)</p> <p><h4>The Back Arrow Icon</h4> <br /><img title="The Back Arrow" src="http://dkadvanced.com/media/image/image/3134/main/arrow.jpg" alt="The Back Arrow" style="float:left; margin: 0 5px 2px 0; border: 1px solid #975210;">The back arrow icon is the simplest. It is used at the end of the breadcrumb links to indicate that you can back out of the hierarchy you have drilled down into by clicking on one of the links. More than likely you will want to at least change the color of the Back arrow to match the color of your breadcrumb link. You can use this file to create your new Back arrow image and then upload it to the doodekit CSS editor. You can replace the existing image with your new one by altering the background image of the “bread_crumb_icon” SPAN tag. Put this code into the CSS editor: <br /><br> <br /><u>CSS Code</u> <br /><pre> <br />.bread_crumb_icon { <br /> background-image: url(back_arrow.gif); <br />} <br /></pre></p> <p><h4>The Photo Album Icon</h4> <br /><img title="The Photo Album" src="http://dkadvanced.com/media/image/image/3133/main/album.jpg" alt="The Photo Album" style="float:left; margin: 0 5px 2px 0; border: 1px solid #975210;">The Photo Album icon is an image that basically holds the thumbnail image a user selects to represent the cover of their album. All thumbnail images are 80x80 in size. If you just want to change the color/background color of the existing album, you can use the psd file above to do this and then just upload your new image. However, if you want to make a completely different photo album, you will need to visit the HTML and CSS code to figure out how you are going to set up your dimensions. The code below shows and example of how it is set up now: <br /><br> <br /><u>HTML Code</u> <br /><pre> <br />&lt;table cellspacing="0" class="photo_album_image" summary="layout table"> <br />&nbsp;&nbsp;&lt;tr> <br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;td class="album_pic"> <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a href="/album/album/37" class="imgLink"> <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;img alt="Blue Irises" class="thumbImg" src="/image/913/thumb/flowers1.jpg" title="Blue Irises" /> <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/a> <br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/td> <br />&nbsp;&nbsp;&lt;/tr> <br />&nbsp;&nbsp;&lt;tr> <br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;td class="img_count"> <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;25 Images <br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/td> <br />&nbsp;&nbsp;&lt;/tr> <br />&lt;/table> <br /></pre></p> <p><u>CSS Code</u> <br /><pre> <br />body.albums table.photo_album_image td.album_pic { <br />background:url(/images/album.gif) no-repeat; <br />padding:24px 16px 15px 21px; <br />}</p> <p>body.albums table.photo_album_image td.img_count { <br />padding:3px 0 0; <br />}</p> <p>body.albums table.photo_album_image td.album_pic div.album_image { <br />height:55px; <br />width:80px; <br />margin-top:20px; <br />margin-bottom:10px; <br />}</p> <p>body.albums table.photo_albums td.text p { <br />padding:0 0 0 5px; <br />}</p> <p>body.albums table.photo_albums td { <br />padding-bottom:20px; <br />}</p> <p>body.albums table.photo_albums td div.album_hdr { <br />padding-bottom:5px; <br />}</p> <p>body.albums table.photo_albums td.text { <br />width:100%; <br />}</p> <p>body.albums table.photo_albums { <br />margin-top:20px; <br />}</p> <p>table.photo_album_image { <br />text-align:center; <br />} <br /></pre></p> <p><h4>Sidebar, Forum, and Blog Icons</h4> <br /><img title="The Back Arrow" src="http://dkadvanced.com/media/image/image/3135/main/icons.jpg" alt="The Back Arrow" style="float:left; margin: 0 5px 0 0; border: 1px solid #975210;">If you just want to change these default icon’s background colors/colors, then download the psd file, recreate your new icons, and then upload them to the CSS editor. However, if you want to make your own completely different icons, you will need to edit your CSS code more extensively to accommodate your new icon dimensions. By default, they are set to 22x22. Below is the code you will need to review & override before you add your new icons: <br /><br> <br /><u>CSS Code</u> <br /><pre> <br />.box_icon_blog,.box_icon_blog_archives,.box_icon_forum,.box_icon_login,.box_icon_notes,.box_icon_search, .hdr_img, { <br />display:inline-block; <br />vertical-align:top; <br />width:22px; <br />height:22px; <br />margin-right:3px; <br />float:left; <br />}</p> <p>.box_icon_blog { <br />background:url(../images/icon_blog2.gif) top left no-repeat; <br />}</p> <p>.box_icon_blog_archives { <br />background:url(../images/archives.gif) top left no-repeat; <br />}</p> <p>.box_icon_forum { <br />background:url(../images/icon_comments4.gif) top left no-repeat; <br />}</p> <p>.box_icon_login { <br />background:url(../images/lock.gif) top left no-repeat; <br />}</p> <p>.box_icon_notes { <br />background:url(../images/note.gif) top left no-repeat; <br />}</p> <p>.box_icon_search { <br />background:url(../images/search.gif) top left no-repeat; <br />}</p> <p>body.forums .hdr_img { <br />background:url(../images/icon_header_forums.gif) top left no-repeat; <br />}</p> <p>body.topics .hdr_img { <br />background:url(../images/icon_header_topic.gif) top left no-repeat; <br />}</p> <p>body.forums div.ftr_sub_count { <br />background:url(../images/icon_footer_topics.gif) left no-repeat; <br />}</p> <p>body.blog_entry div.ftr_sub_count { <br />background:url(../images/icon_comments1.gif) left no-repeat; <br />}</p> <p>body.messages .hdr_img,body.blog_entry .hdr_img { <br />background:url(../images/icon_comments1.gif) top left no-repeat; <br />}</p> <p>body.blog .hdr_img,body.blog_entry div.first_entry .hdr_img { <br />background:url(../images/icon_blog1.gif) top left no-repeat; <br />}</p> <p>body.forums div.ftr_last_sub,body.topics div.ftr_last_sub,body.blog div.ftr_last_sub,body.blog_entry div.ftr_last_sub { <br />background:url(../images/icon_comments2.gif) left no-repeat; <br />}</p> <p>body.topics div.ftr_sub_count,body.blog div.ftr_sub_count,body.blog_entry div.first_entry div.ftr_sub_count { <br />background:url(../images/icon_comments3.gif) left no-repeat; <br />} <br /></pre></p> <p>This should be enough to get you started making your own icons. If this doesn’t answer a more specific question you have, just post it here and I will get back to you with an answer as soon as possible!</p> <p></p> Thu, 14 Dec 2006 08:47:31 -0600 http://dkadvanced.com/forum/message/470 /forum/message/470 The basics - getting started! - Heath Huffman <p>This is a quick start guide on how to use your <a href="http://doodlekit.com">doodlekit&trade;</a> website builder tool to customize your web layouts for your website. Before you dive into this, be warned. Once you decide to build your own website by tweaking the CSS and uploading your own graphics, doodlekit™ will no longer support your website's layout! You will need to have an extensive knowledge of CSS and HTML/XHTML before doing this because it is easy to mess up yours site's look and feel. Not to worry too much though... you can always take out your custom code and go back to the default layout. And don't fret about your content... changing your layout will not alter your data in any way</p> <p>Now let’s get started! </p> <p>1.) <b>You will need to log in to your website as the administrator and change your layout.</b> To do this, go to the admin tool and select the ‘Settings’ menu on the left. Here you will see the “Change Layout” button to the right. Select this button. </p> <p>By default, doodlekit&trade; website creator comes with multiple layouts to choose. You have one of two options: </p> <p>a. <b>Choose a base layout</b> – this is the suggested starting point. You will see an ‘advanced’ link next to the search button at the top of the page. Click on this and it will take you to the base layouts. These are the existing base layouts that we use to create a new public layout. You can use them as a starting point for your layout creation. They are very plain and easy to manipulate. The number of base layouts to choose from will grow over time as we develop new ones.</p> <p>b. <b>Choose an existing layout</b> –This is normally only done if you only want to “tweak” an existing layout to customize it more to your needs. This is not suggested when creating your own layout from scratch, but can be done if desired. </p> <p>2.) <b>Next you will need to get a copy of all the CSS and HTML of your site.</b> If you’re an experienced web developer, I shouldn’t have to explain how to do this, and you can skip to <u>step 3</u>. But, just in case, here is my suggestion on how to do this. If you do not have the Firefox web browser installed, do so now. You can download it from here:</p> <p><a href="http://www.mozilla.com/en-US/firefox/">http://www.mozilla.com/en-US/firefox/</a></p> <p>Once you have installed it, you will need to install the web developer add on. It can be downloaded from here:</p> <p><a href="https://addons.mozilla.org/firefox/60/">https://addons.mozilla.org/firefox/60/</a></p> <p>Now you should have the web developer toolbar at the top of your Firefox browser. Navigate to your site, and then click on the “CSS” toolbar button and then select “View CSS”. This will show you all the CSS for your website. Next, select the “View Source” button on your toolbar to get the HTML. That’s it! You should be ready for the next step!</p> <p>3). <b>Turn on the CSS override editor.</b> Go to the settings menu (if your not there already) and click on the “advanced” tab. At the bottom of the page, you will see a check box marked “Enable Custom Stylesheet”. Check this and then click the “Save” button. Now click the “customize” button. This is where you paste in you CSS to override that of the existing layout. </p> <p>Here, you can also upload your own images. They can be referenced directly in your CSS code. For example: </p> <p>div.header{background: url(myimage.gif)}.</p> <p>That’s it! Have fun!</p> <p></p> Wed, 29 Nov 2006 09:48:21 -0600 http://dkadvanced.com/forum/message/450 /forum/message/450