Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Can I move the "News" Section to top of the screen

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-11-2005, 10:39 AM
 
hyratech hyratech is offline
 

Senior Member
  
Join Date: Jul 2005
Posts: 172
 

Default Can I move the "News" Section to top of the screen

Is there a way to move the "News" Section currently on the right hand right, below "Authentication" (Default).

Can I move this to be placed Under the search bar on the header of the page? Simple? or major customizing is going to be required?

Any Help will the appreciated..

Thankx a million in advance!

Signature is wrong I'm using Version 4.0.16
__________________
hyratech
X-CART Gold 4.1.10
Hosted - Unix
Reply With Quote
  #2  
Old 11-11-2005, 10:50 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

You can edit skin1/customer/home.tpl and find the news include, and move it to under the skin1/customer/search.tpl include. The amount of customization needed would just be to make it look good on your layout.

If you use news prominently on your site, you may also want to consider XNews: http://www.websitecm.com/xnews.html
Reply With Quote
  #3  
Old 11-11-2005, 11:40 AM
 
hyratech hyratech is offline
 

Senior Member
  
Join Date: Jul 2005
Posts: 172
 

Default

I'm not very familiar with the codes..

I do See the code from home.tpl

Code:
{* $Id: home.tpl,v 1.67.2.9 2005/06/28 12:02:38 svowl Exp $ *} {if $printable ne ''} {include file="customer/home_printable.tpl"} {else} {config_load file="$skin_config"} <HTML> <HEAD> <TITLE> {if $config.SEO.page_title_format eq "A"} {section name=position loop=$location} {$location[position].0|escape} {if not %position.last%} :: {/if} {/section} {else} {section name=position loop=$location step=-1} {$location[position].0|escape} {if not %position.last%} :: {/if} {/section} {/if} </TITLE> { include file="meta.tpl" } <LINK rel="stylesheet" href="{$SkinDir}/{#CSSFile#}"> </HEAD> <BODY leftmargin="0" topmargin="0" rightmargin="0" bottomargin="0" marginwidth="0" marginheight="0"{if $body_onload ne ''} onload="{$body_onload}"{/if}> { include file="rectangle_top.tpl" } { include file="head.tpl" } {if $active_modules.SnS_connector} {include file="modules/SnS_connector/header.tpl"} {/if} <TABLE border="0" width="100%" cellpadding="0" cellspacing="0" align="center"> <TR> <TD width="6"></TD> <TD width="150" valign="top"> {if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")} { include file="customer/categories.tpl" } {/if} {if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu eq "Y"} { include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if} {if $active_modules.Manufacturers ne "" and $config.Modules.manufacturers_menu eq "Y"} { include file="modules/Manufacturers/menu_manufacturers.tpl" } {/if} {include file="customer/special.tpl"} { include file="help.tpl" } [img]{$ImagesDir}/spacer.gif[/img] </TD> <TD width="20"></TD> <TD valign="top"> {include file="location.tpl"} {include file="dialog_message.tpl"} {if $active_modules.Special_Offers ne ""} {include file="modules/Special_Offers/customer/new_offers_message.tpl"} {/if} {include file="customer/home_main.tpl"} </TD> <TD width="20"></TD> <TD width="150" valign="top"> {if $active_modules.SnS_connector} {include file="modules/SnS_connector/button.tpl"} {/if} {if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''} { include file="modules/Feature_Comparison/product_list.tpl" } {/if} {if $active_modules.Users_online ne "" and $users_online} { include file="modules/Users_online/menu_users_online.tpl" } {/if} { include file="customer/menu_cart.tpl" } {if $login eq "" } { include file="auth.tpl" } {else} { include file="authbox.tpl" } {/if} { include file="news.tpl" } {if $active_modules.Interneka ne ""} { include file="modules/Interneka/menu_interneka.tpl" } {/if} { include file="poweredby.tpl" } [img]{$ImagesDir}/spacer.gif[/img] </TD> <TD width="6"></TD> </TR> </TABLE> { include file="rectangle_bottom.tpl" } </BODY> </HTML> {/if}

where would I move the news to be placed where the welcome screen is?
I want it right on top of the Feature Items.

Thanx a lot..
__________________
hyratech
X-CART Gold 4.1.10
Hosted - Unix
Reply With Quote
  #4  
Old 11-11-2005, 11:51 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Sorry I misunderstood. If you want it on your main page, above the featured products, you'd want to place it into skin1/customer/main/welcome.tpl
Reply With Quote
  #5  
Old 11-11-2005, 11:53 AM
 
hyratech hyratech is offline
 

Senior Member
  
Join Date: Jul 2005
Posts: 172
 

Default

Done! Looks ok .. without any moding..

another thing is that the news list is only showing 1 news at a time..
can i change that? make show a list? to a least 5?

ex..

11/11/2005 - New Release
"Product name goes here"

11/12/2005 - New Release
"Messege goes here"

and so on...



BTW...

Where is news.tpl located at?
I want to change some colors and format in the NEWS box
__________________
hyratech
X-CART Gold 4.1.10
Hosted - Unix
Reply With Quote
  #6  
Old 11-11-2005, 12:00 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Not sure where you configure headlines, I don't like or use X-Cart's default news system.

You can edit it in skin1/news.tpl
Reply With Quote
  #7  
Old 11-11-2005, 12:03 PM
 
hyratech hyratech is offline
 

Senior Member
  
Join Date: Jul 2005
Posts: 172
 

Default

Jon,

I think i'll buy that xNews of yours..

But..

my want it to look similar to the news on this page..

http://myworldphone.com

something that stands out..
and in a box that can scroll
__________________
hyratech
X-CART Gold 4.1.10
Hosted - Unix
Reply With Quote
  #8  
Old 11-11-2005, 12:13 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

With XNews you can post the news on the front page easily enough, change the number of items you want to show, and edit the template just to show the headline, date, etc., however the headlines are not included in a scrolling iframe.

To do the scrolling iframe, you'd have to create a new php file and setup the template to display news on a page by itself, and then include the file in an iframe on the front. If that sounds difficult, feel free to contact me for a quote on the customization.
Reply With Quote
  #9  
Old 11-11-2005, 12:23 PM
 
hyratech hyratech is offline
 

Senior Member
  
Join Date: Jul 2005
Posts: 172
 

Default

yes.. how much would it cost for to make it look like that site.. with the scroll bar
__________________
hyratech
X-CART Gold 4.1.10
Hosted - Unix
Reply With Quote
  #10  
Old 11-11-2005, 12:25 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default XNews

"yes.. how much would it cost for to make it look like that site.. with the scroll bar"

If you purchase XNews, the additional cost to make it look like that site would be $50.00USD.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:40 PM.

   

 
X-Cart forums © 2001-2020