|
Previous
·
Next
|
suresh
|
Date: 6/16/2008 6:22 am · Subject: Template Change Issue · Rating: 0
Hello Experts,
I new to WebGUI. Am having a clarification on Template Change. I just created a swifty template namely 011_000_301 blue color.
My site is http://86.109.20.33/ in that home page, The default template is displayed.
http://86.109.20.33/about_us is about us page. In that page the new template is taken.
My Question is:
1. What are the steps to be followed to integrate a new template.
2. Why the template is not applied for Home Page. How we can apply that.
3. Also my template has no logo. how we can handle this.
Thanks!
Suresh
--- (Edited on 6/16/2008 6:22 am [GMT-0500] by suresh) ---
|
| Back to Top |
Rate [ | ]
|
| |
bartjol
|
Date: 6/16/2008 7:16 am · Subject: Re: Template Change Issue · Rating: 0
Another Dutchie!
1. Mostly templates work quite simple it is some HTML with a reference to css. If you create new content (eg a new page layout) the style of the object above is chosen as default. Otherwise you can choose it at the display settings if the object.
Don't forget to set the user function style also to this template (admin console-> settings->UI)
and changing the template probably also requests for the execution of the version tage in which you made the change
2. It is not selected as the template for your site, so edit the page, go to the display tab and select your style as the style template
3. You can put in your logo as a background picture for a <div> element, but there are some more solutions to this problem, but those are not WebGUI specific
--- (Edited on 6/16/2008 2:16 pm [GMT+0200] by bartjol) ---
|
| Back to Top |
Rate [ | ]
|
| |
suresh
|
Date: 6/16/2008 8:11 am · Subject: Re: Template Change Issue · Rating: 0
Hi Bartjol,
Thanks for your valuable reply. I cant get it solved. I am using swifty Template. So i unable to proceed further.
In swifty template, there are predefined values for logo, company name, slogan, etc.
That is, i am integrating Template with WebBUI. using SWIFTY Template. I just created the folder under the swifty template namely 011_000_301.
The structure of the Template files as follows.
SWIFTY Templates - 011_000_301 (Folder) - Blue (Folder) - css (Folder that contains style.css which is used as default css) - img (Folder that contains all images related to the site)
- js (Folder that contains all js related to the site which is used to menu and submenu display.)
- config.json (Snippet) - 011_000_301 (Template File) That Template File contains following code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>
<tmpl_var head.tags> <title></title>
</head> <body>
<script type="text/javascript"> //<![CDATA[ amh_setFooterHeight(36); YAHOO.util.Event.on(window, "load", amh_onLoad); //]]></script>
<script language="JavaScript1.2">mmLoadMenus();</script> <div class="width850"> <div class="width760"> <div class="topbar1"></div> <div class="headerbg"> <div><img src="images/height.gif" height="40"></div> <div class="companyname font"></div> <div><img src="images/height.gif" height="5"></div> <div align="right" class="slogan font"></div> <div><img src="images/height.gif" width="760" height="22"></div> </div> <div class="topbar2"> <div><img src="images/height.gif" width="760" height="5"></div> <div align="center" class="marginleft180"> </div> </div> <div class="blank"></div> <div class="home"> <tmpl_var body.content> </div> <div class="bott_bar" align="center"> <div class="copyright"> Copyright © 2008 company name. All rights reserved. </div> </div> </div> </div> </body> </html>
Now my query is: Where i can create a thumbnail image. How we can apply this to our template. Also how we apply menu designs
Regards
Suresh
--- (Edited on 6/16/2008 8:11 am [GMT-0500] by suresh) ---
|
| Back to Top |
Rate [ | ]
|
| |
knowmad
|
Date: 6/16/2008 9:22 pm · Subject: Re: Template Change Issue · Rating: 0
Now my query is: Where i can create a thumbnail image. How we can apply this to our template. Also how we apply menu designs
Hi Suresh,
It sounds like you're getting close. You will need to add your images as an Image Asset into your WebGUI site. Once you do that, you'll have an url available to include them into your template. You can either upload the exact size you need or let WebGUI create a thumbnail of the image and then adjust the thumbnail to the size you need. However, if you use the WebGUI thumbnail, you'll need to use the thumbnail macro.
Also be sure to check out How to Give WebGUI Your Own Style in the wiki.
Hope that helps, William
---- Knowmad Technologies http://www.knowmad.com
--- (Edited on 6/16/2008 10:22 pm [GMT-0400] by knowmad) ---
|
| Back to Top |
Rate [ | ]
|
| |
bartjol
|
Date: 6/16/2008 9:09 am · Subject: Re: Template Change Issue · Rating: 0
Well, I would have to look into swifty templates, not sure when I have the time. Probably you're better of with someone elses help on this one.
But with each image that you add, a thumbnail is created. On display you can alter the template of the image to one with the thumbnail, and request for it with an assetproxy. a thumbnail variable should be available in the image template.
--- (Edited on 6/16/2008 4:09 pm [GMT+0200] by bartjol) ---
|
| Back to Top |
Rate [ | ]
|
| |
ilagnev
|
Date: 6/19/2008 5:56 am · Subject: Re: Template Change Issue · Rating: 0
hi
i have some questions.
i upload template file with images and css's files in xxx_xxx_xxx directory in swiftytempates.
how i can view this template?
when i click on "manage site" button in swifty admin menu then "select design", i can view others design's, but not that xxx_xxx_xxx.
what i must do to view my uploaded design?
--- (Edited on 6/19/2008 5:56 am [GMT-0500] by ilagnev) ---
|
| Back to Top |
Rate [ | ]
|
| |
bartjol
|
Date: 6/19/2008 6:06 am · Subject: Re: Template Change Issue · Rating: 0
Is it in the right namespace? (example for page layouts: Layout and for style templates: style)
--- (Edited on 6/19/2008 1:06 pm [GMT+0200] by bartjol) ---
|
| Back to Top |
Rate [ | ]
|
| |
ilagnev
|
Date: 6/19/2008 6:36 am · Subject: Re: Template Change Issue · Rating: 0
Is it in the right namespace? (example for page layouts: Layout and for style templates: style)
--- (Edited on 6/19/2008 1:06 pm [GMT+0200] by bartjol) ---
i create two template file with same html code.
in first file i chose "Layout" namespace.
in second file "style" namespace.
but i can not view my design in manage site section.
what i doing wrong?
--- (Edited on 6/19/2008 6:36 am [GMT-0500] by ilagnev) ---
|
| Back to Top |
Rate [ | ]
|
| |
ilagnev
|
Date: 6/20/2008 11:07 am · Subject: Re: Template Change Issue · Rating: 0
hi again :)
i apply my design to site.
but i have some trouble.
style of site is my custome design. style of menu is my too.
but the style of content block is other.
i must create other template file for content? then how i can apply this template only for content?
--- (Edited on 6/20/2008 11:07 am [GMT-0500] by ilagnev) ---
|
| Back to Top |
Rate [ | ]
|
| |
|
|
Recent Discussions Color Key |
| Design: |
|
| Development: |
|
| Et Cetera: |
|
| Install/Upgrade: |
|
| Smoketest: |
|
| Template Group: |
|
Re: Synopsis search results by knowmad - Thu @ 07:21am Re: Templates workspace site by rogier - Thu @ 04:24am Re: Templates workspace site by rogier - Thu @ 02:59am Re: Synopsis search results by marieken - Tue @ 06:10am Re: Übersetzungen vor dem nächsten Treffen by koen - Tue @ 04:24am Re: Übersetzungen vor dem nächsten Treffen - Translations to be done before the next meeting will take place. by bernd - Tue @ 01:15am
|