Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-22 20:05:50

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Argentum Jewelry website

Sorry, it’s not translated into the English yet.
So, this company sells gold and silver jewelry.

Argentum website

When the TextCommerce comes out, I will probably make this website running on that. If client wants, of course.

Last edited by ricoschette (2007-10-22 20:06:19)

Offline

#2 2007-10-22 20:15:01

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Argentum Jewelry website

looks classy! is there a working shopping cart on there? i only know english but there doesn’t seem to be a way to add products to a cart and check out?

Offline

#3 2007-10-22 20:33:13

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: Argentum Jewelry website

No, there’s no shopping cart.
You just have to fill the form and that’s it.

But larger clients (shops) get an access to the external database and can order from there.

Offline

#4 2007-10-22 21:56:26

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Argentum Jewelry website

ahh i understand. looking forward to seeing the english translation. its looking good to me.

Offline

#5 2007-10-31 20:16:15

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: Argentum Jewelry website

Today I found out that Search doesn’t work very well.
When you search for smth that won’t give any results, the results page will be empty.
For example, try “blabla blabla”

Shouldn’t it give text like ‘No results’ or smth?

Offline

#6 2007-11-01 03:27:19

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Argentum Jewelry website

You can use <txp:search_result_count /> to display how many are found. so if none are found it should say “0 results” or however you want to display it. there may be another way but its the method i use.

http://textbook.textpattern.net/wiki/index.php?title=Txp:search_result_count_/

just remember to place it an if_search conditional!

Last edited by iblastoff (2007-11-01 03:28:20)

Offline

#7 2007-11-01 11:43:28

chriloi
Plugin Author
From: Vienna, Austria
Registered: 2006-01-17
Posts: 120
Website

Re: Argentum Jewelry website

I like the design, but the red buttons and the red menu bar look a little bit blurry. I would therefore recommend to optimize your image compression settings.

Offline

#8 2007-11-01 14:09:02

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: Argentum Jewelry website

chriloi wrote:

I like the design, but the red buttons and the red menu bar look a little bit blurry. I would therefore recommend to optimize your image compression settings.

hmm, that’s strange. The red navigation bar background doesn’t look blurry…
Do you mean the bottom part of the nav bar? There’s no clear line there.
Buttons also have little shadow there.

iblastoff, tnx

Offline

#9 2007-11-02 11:17:14

chriloi
Plugin Author
From: Vienna, Austria
Registered: 2006-01-17
Posts: 120
Website

Re: Argentum Jewelry website

Yes, I meant the bottom part.

And the buttons don’t look blurry because of the black shadow, but the white highlight and the captions are blurry. Maybe you should try to turn off font anti-aliasing.

But hey, that’s just my opinion.

Offline

#10 2007-11-10 13:09:28

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: Argentum Jewelry website

iblastoff wrote:

You can use <txp:search_result_count /> to display how many are found. so if none are found it should say “0 results” or however you want to display it. there may be another way but its the method i use.

http://textbook.textpattern.net/wiki/index.php?title=Txp:search_result_count_/

just remember to place it an if_search conditional!

————

There’s smth I’m doing wrong.

1. I use txp tags for search form on page template:
<txp:search_input section=“tellimine” label=“Sisestage tootekood ja vajutage Enter:” size=“12” />

2. I have default “search_results” form:
<h3>Teie otsing leidis (Your search found):</h3>
<p><strong><txp:permlink><txp:title /></txp:permlink></strong></p><br />
<txp:body />

3. I put this in search_result form and it displayed the ‘How many articles Found’ part, but didn’t give me ‘No result’ when searching for jibberish.
I used this:
<txp:if_search><p><txp:search_result_count text=“Found” /></p><txp:else />Found 0 results</txp:if_search>

Where exactly <txp:search_result_count /> with if_search should be put?

Last edited by ricoschette (2007-11-10 13:11:55)

Offline

#11 2007-11-10 15:14:42

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Argentum Jewelry website

<txp:if_search> doesnt mean “if anything is found” it just means “if person is searching”. so

all you need is

<txp:if_search>
<txp:search_result_count text="Results Found" /> // if 2 articles are found, it will say 2 Results Found. if none are found, it will say 0 Results found.
<txp:article form="search_results"  /> // however you want your search results to be listed
<txp:else />
<txp:article form="default look and display of your articles" /> // here is what should be shown by default if its NOT a search
</txp:if_search>

Offline

#12 2007-11-10 17:27:15

ricoschette
Member
From: Estonia
Registered: 2005-09-17
Posts: 176

Re: Argentum Jewelry website

tnx a lot for explaining, iblastoff

I wrote code like this at my page template and it works:

<txp:article form="default" limit="10" />
<txp:if_search><p style="margin-top:20px;">Your search gave <txp:search_result_count text="results" /></p>
</txp:if_search>

Last edited by ricoschette (2007-11-10 17:27:31)

Offline

Board footer

Powered by FluxBB