Welcome, Guest
Username: Password: Remember me
If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html
  • Page:
  • 1

TOPIC: JooDB Catalog within article

JooDB Catalog within article 2 months 3 days ago #4916

  • kiesel80
  • kiesel80's Avatar Topic Author
  • Offline
  • Posts: 1
  • Thank you received: 0
I would like to embed to catalog view of joodb into a single article.
Is this possible ?

Please Log in or Create an account to join the conversation.

JooDB Catalog within article 1 month 1 week ago #4937

  • dirk
  • dirk's Avatar
  • Offline
  • Posts: 1003
  • Karma: 21
  • Thank you received: 179

kiesel80 wrote: I would like to embed to catalog view of joodb into a single article.
Is this possible ?


Not really because this would display the whole database table with all entries, because you can limit or sort the result.

But you could create a second database with your selection (e.G. Keyword, Town, ProductType) as reference and add a subtemplate / subtable with the results.

If you don't have relations and multiple tables. You can also use your primary table again.

Example with Products as main table / main database and a output of all products having type XXX!

Database Products2: empty single view template with just a title and a subtemplate
<h3>{joodb field|type}</h3>
<ul>
{joodb subtemplate|typelist}
</ul>

Typelist is a 1:N relation subtable product.type<=>product.type with a subtemplate like this
<li>{joodb field|title}</li>

The single view result Products2 would be something like
Drinks
  • Beer
  • Coke
  • Water
  • Mate

Please Log in or Create an account to join the conversation.

JooDB Catalog within article 3 weeks 1 day ago #4978

  • megat
  • megat's Avatar
  • Offline
  • Posts: 8
  • Thank you received: 0

<!-- Search box -->
{joodb searchbox|field1,field2,field3,field4,field5}

<!-- LOOP Start {joodb loop} -->

<!-- LOOP End {joodb loop} -->

Hi

I just need my search module displayed in an article, not the whole table, so i deleted the unnecessary code as above but the search didn't show anything - didn't work afterwards

Using the core search module is not enough since i need them to have those fields filter as well just the like the catalog view page

What code should i write so that the search will works and will display the correct query results in the full catalog view?

Please help, this might solve many puzzled users here

Thanks

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: dirkjoest