June 18, 2013, 12:45:27 AM

Login with username, password and session length

FORUM POSTING GUIDELINES - Please read and follow them.

Pages: 1 [2]
  Print  
Author Topic: Listings Module Ignoring Custom Where Entries  (Read 950 times)
Cornelius Wasmund
Jr. Member
**
Offline Offline

Posts: 46


« Reply #15 on: December 06, 2011, 06:33:18 AM »

I have in "Category List" the breadcrumbs, Cat Title/Desc
http://www.4logistic.firma.cc/produkte/mobile-conputer-mde/mobile-computer

but in "Custom List" i missed this
http://www.4logistic.firma.cc/produkte/mobile-conputer-mde/mobile-computer/gun

Any Ideas where i can add this?

Category breadcrumbs are available only to Category List pages, no other menu item type can have them.

And SQL Selects are only available in Custom List?
Logged
Kristian
Global Moderator
Hero Member
*
Offline Offline

Posts: 9665



WWW
« Reply #16 on: December 06, 2011, 06:38:46 AM »

And SQL Selects are only available in Custom List?

Yes. When you use custom SQL queries, listings can be returned from any category, it is not possible to have the category breadcrumbs then.
Logged

Cornelius Wasmund
Jr. Member
**
Offline Offline

Posts: 46


« Reply #17 on: December 06, 2011, 06:56:58 AM »

Okay. Bummer ...

Now i have insert the HTML Code of titel/desc and breadcump ... it is static ... but i do not have a better idea.

Thank you.
Logged
Cornelius Wasmund
Jr. Member
**
Offline Offline

Posts: 46


« Reply #18 on: December 08, 2011, 06:48:45 AM »

I try this in Custom Where
Code:
Field.jr_mdemobilecomputergehaeuse LIKE '%gun%'
AND
jos_content.catid = '15'

Can i select the categorieid?
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*
Offline Offline

Posts: 28617


« Reply #19 on: December 08, 2011, 07:37:54 AM »

Code:
(Field.jr_mdemobilecomputergehaeuse LIKE '%*gun*%' AND Listing.catid = 15)

If your field is single select, better use:

Code:
(Field.jr_mdemobilecomputergehaeuse = '*gun*' AND Listing.catid = 15)
Logged

http://www.reviewsforjoomla.com/testimonials Leave a testimonial for JReviews
Cornelius Wasmund
Jr. Member
**
Offline Offline

Posts: 46


« Reply #20 on: May 19, 2012, 07:21:36 AM »

I have a multi select field which is in 2 CATIDs.
I can select all, but the counting (XX Summary) is false.

http://4logistic.firma.cc/produkte/barcodescanner/industrie

Code:
(Field.jr_scannerfunkeinsatzgebiet LIKE '%industrie%'
AND
Listing.catid = 19)
OR
(Field.jr_scannerkabeleinsatzgebiet LIKE '%industrie%'
AND
Listing.catid = 20)
AND
Field.jr_scannerkabeleinsatzgebiet <> ""
AND
Field.jr_scannerfunkeinsatzgebiet <> ""
AND
Field.jr_scannerkabeleinsatzgebiet is not null
AND
Field.jr_scannerfunkeinsatzgebiet is not null
AND
Listing.catid <> 17

Any Ideas where i can make this better?

Best Regards,
Cornelius
Logged
Alejandro
Global Moderator
Administrator
Hero Member
*
Offline Offline

Posts: 28617


« Reply #21 on: May 19, 2012, 08:15:18 AM »

You should put the whole code in a single line without pressing ENTER. You can also change it like this:

Code:
(Field.jr_scannerfunkeinsatzgebiet LIKE '%industrie%' AND Listing.catid IN (19,20) AND Field.jr_scannerkabeleinsatzgebiet <> "" AND Field.jr_scannerfunkeinsatzgebiet <> "" AND Field.jr_scannerkabeleinsatzgebiet IS NOT  NULL AND Field.jr_scannerfunkeinsatzgebiet IS NOT NULL)

No need to include Listing.catid <> 17 if you are already filtering by cat ids 19 and 20.
Logged

http://www.reviewsforjoomla.com/testimonials Leave a testimonial for JReviews
Cornelius Wasmund
Jr. Member
**
Offline Offline

Posts: 46


« Reply #22 on: May 19, 2012, 08:43:11 AM »

Great! Thx. It Works.
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!