Posts: 8
Threads: 3
Joined: Dec 2007
Hi, how do you add images to each sections - for example, you have an image of a doctor next to your "top surgery articles" section on allbodysurgery.com.
How do you add that image as well as to the other sections below that?
Do you have other templates that we can demo?
thanks...
Posts: 89
Threads: 13
Joined: Nov 2007
You will need to manually edit your HTML if you want to place these types of images. You will want to read up on how the Kwikcontent themes function. You can do that here:
http://kwikcontent.com/themes.php
Kwikcontent only comes with one theme. I have not personally created any additional themes that will work as a generic layout for sites. However, there is a tutorial here on the forums that explains how you can edit the color scheme to create a new theme for your sites:
http://kwikcontent.com/supportforum/showthread.php?t=22
Posts: 8
Threads: 3
Joined: Dec 2007
thanks for responding
but where exactly on that page that refers to editing the html pages? I'm looking to add an image the same way it was done on allbodysurgery.com.
I might be interested in adding images to the other sections below that as well.
thanks
Posts: 89
Threads: 13
Joined: Nov 2007
Adding these types of layout images to your site(s) is not much different then adding images to any other web site. You will need to upload the images to your server and then reference them in your HTML code...
1) Upload the image to a folder named 'images' in the directory where your current site theme is being stored (default would be '/templates/yahoo_grids_1/images/').
2) Open the HTML template page where you want to place the image (the home page is index.htm). Insert the img reference tag wherever you want the images placed in that page like this:
<img src="/templates/yahoo_grids_1/images/myimage.jpg">
That's it. This is actually a very basic HTML concept. I would probably have to suggest some reading up on HTML and how it works if you want to make further, more detailed changes to your site. Have fun
Posts: 8
Threads: 3
Joined: Dec 2007
thanks. it works as you said.
but is there a way to customize it further by having different images for different knowledge base?
like for example, in your allbodysurgery.com site, you could place an image inside of "open heart surgery" and another image inside "weight loss surgery"'s knowledge base (and so on).
thanks again...
Posts: 89
Threads: 13
Joined: Nov 2007
Sure, you can place images wherever you like. However, placing different images for different keywords does get a little tricky. It is definitely for advanced users, as it will take some Smarty logic to implement this. Here's how I would do it:
{if $keyword.key_text == "open heart surgery"}
<img src="heart.jpg">
{elseif $keyword.key_text == "weight loss surgery"}
<img src="weightloss.jpg">
{else}
<img src="default.jpg">
{/if}
It will take a little studying of that code to understand what needs to be manipulated. The variable $keyword.key_text is always available on a page where a specific keyword's information is being displayed.