X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Can I move the "News" Section to top of the screen (https://forum.x-cart.com/showthread.php?t=17906)

hyratech 11-11-2005 10:39 AM

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

Jon 11-11-2005 10:50 AM

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

hyratech 11-11-2005 11:40 AM

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..

Jon 11-11-2005 11:51 AM

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

hyratech 11-11-2005 11:53 AM

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

Jon 11-11-2005 12:00 PM

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

hyratech 11-11-2005 12:03 PM

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

Jon 11-11-2005 12:13 PM

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.

hyratech 11-11-2005 12:23 PM

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

Jon 11-11-2005 12:25 PM

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.

hyratech 11-11-2005 12:28 PM

ok.. sounds good... how do we do this?

Jon 11-11-2005 12:44 PM

Best to communicate through PM, other people will not likely have interest in our personal communication :)

hyratech 11-11-2005 12:44 PM

Jon,

I want to buy it and have you modified to look that the other...

Please instruct me on how to pay....

Jon 11-11-2005 12:47 PM

PM has been sent.


All times are GMT -8. The time now is 06:24 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.