Jump to content

 

Damir

Member Since 31 Jan 2006
Offline Last Active Nov 29 2010 09:03 AM
-----

Topics I've Started

Modifying Language Selector?!

24 February 2006 - 09:51 AM

Can this code be changed to use hyperlinks to change beetween languages instead of the select box??

{* $Id: select_language.tpl 866 2005-10-31 16:18:49Z lantan $ *}

{if $hide_language_select != true}
<span class="span-x-small">{$lang.select_language}:</span>
<select style="font-family: Tahoma; font-size: 9px; color: #5579CC; border: 1px solid #5579CC" name="sl" onchange="javascript: self.location='{$index_script}?{$QUERY_STRING|regex_replace:"/&sl=\w*/":""}&sl='+this.value;">
		{foreach from=$all_languages item=language}
			<option value="{$language.lang_code}" {if $language.lang_code == $cart_language}selected{/if}>{$language.name}</option>
		{/foreach}
		</select>
{else}

{/if}

Thanks!

Tweaking the 'page title' breadcrumb?!

23 February 2006 - 07:50 PM

Is there a way to remove the "Home" from pagetitle when currently on home page??

<title>
{$lang.page_title_text} - 
{foreach from=$breadcrumbs item=i name="bkt"}
	{$i.title|escape}{if !$smarty.foreach.bkt.last} - {/if}
{/foreach}
</title>

for example:


1. when on:

www.yoursite.com

{$lang.page_title_text} - {$lang.company_slogan}



2. when on: (browsing some product)

www.yoursite.com/index.php?target=products&product_id=1

{$lang.page_title_text} -
{foreach from=$breadcrumbs item=i name="bkt"}
{$i.title|escape}{if !$smarty.foreach.bkt.last} - {/if}
{/foreach}

CMS Topic manager display is broken?!

15 February 2006 - 08:16 AM

Ive recently added topics to my site and in ADMIN backend the list of topics goes out the tables and messes up the page,

screenshot:
http://img213.images.../snap2512yd.jpg



someone to verify? (latest CS-Cart version, clean install)

A new web page designing model

03 February 2006 - 12:08 PM

I don't know if this is too much to ask. but i would like some time in future for this script to be table-less for non tabular data, in detail using div's (layers) as layouting model. and tables only for tabular data.

I've been coping with this script's tables for a week now and so far I've managed to rewrite more then half of the templates i believe.

site: www.tisak-dada.hr - notice the source code
sorry its only in my native language at the moment.

another note on the topic is the potential of this technique, for example:

main.tpl has, - left sideboxes - content - right sideboxes -
using simple float:left - float:right properties 'boxes' could be easily switched to either of the sides using the admin interface.

i hope this is making any sense.