TOPIC:

Creating a view with data from multiple sources (tables) 1 year 5 months ago #255458

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10737
  • Karma: 3
  • Thanks: 718
Hi,

could you please export this db table that I can test it in content builder on my server?

Regards,
Tihana

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

Creating a view with data from multiple sources (tables) 1 year 5 months ago #255459

  • Topic Author
  • Maago
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 202
  • Thanks: 0
just run this query and it will create the view in the database. But for sure you have to adopt the db name and prefix ..

create VIEW anm AS
SELECT
`joom_test`.`j1_users`.`name` AS `username`,
`joom_test`.`j1_usergroups`.`title` AS `groupname`
FROM
(
(
`joom_test`.`j1_users`
JOIN `joom_test`.`j1_user_usergroup_map` ON
(
`joom_test`.`j1_users`.`id` = `joom_test`.`j1_user_usergroup_map`.`user_id`
)
)
JOIN `joom_test`.`j1_usergroups` ON
(
`joom_test`.`j1_user_usergroup_map`.`group_id` = `joom_test`.`j1_usergroups`.`id`
)
)

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

Creating a view with data from multiple sources (tables) 1 year 5 months ago #255460

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10737
  • Karma: 3
  • Thanks: 718
Hi,

but I don't have this tables, so please go to phpmyadmin and click on export and please export this table :)

Regards,
Tihana

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

Creating a view with data from multiple sources (tables) 1 year 5 months ago #255461

  • Topic Author
  • Maago
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 202
  • Thanks: 0
I'm using the standard tables in Joomla ...
Which tables do you need?
The tables used are:
#__users
#__usergroups
#__user_usergroup_map

The created view in database is referring to these tables.

So if you have Joomla you have these tables.

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

Creating a view with data from multiple sources (tables) 1 year 5 months ago #255462

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10737
  • Karma: 3
  • Thanks: 718
Hi,

yep, you are right, I will join this tables, and get back to you

But please give me some time, I am working on some cases from my email, and then I will come back to your problem

Thanks for understanding :)

Regards,
Tihana

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

Creating a view with data from multiple sources (tables) 1 year 1 month ago #261056

  • Topic Author
  • Maago
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 202
  • Thanks: 0
Tihana,

I wanted to ask if there was a progress in this case ..
I'm still wanted to know if I can create a CB view based on a mysql database view or combine multiple db sources in a CB view

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

Moderators: ForumSupport
Time to create page: 0.039 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!