by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
KEP
@epkim
@sachin-puranik Does the same thing persist with the Linux operating system?
I'm trying to localize the language of "qor-example." Is there an example or a way?
sachin-puranik
@sachin-puranik
@epkim - I found the fix and able to login with success
Auth Module -> Password -> Handlers.go -> Change to authInfo auth_identity.AuthIdentity from authInfo auth_identity.Basic
this change shold be pushed to github
Zoo Sky
@zoosky
Hi, I'm very new to QOR. Has anybody used it in a Headles CMS fashion? Thx.
Zoo Sky
@zoosky
Is his project still alive and healthy?
lazna2367
@lazna2367

Hi I'm looking at qor-example,
I want to change the menu category text on the left side, If you know the way of change this, Please Let me know.

In addition, I want to know where can I find the css applied to the admin page.

image.png
tu1306
@tu1306
I can not login with account admin :dev@getqor.com / testing
help me
I see message "You have to confirm your account before continuing"
王重淋
@ApesPlan
Do you understand Chinese?
I've settled it. We can communicate smoothly in Chinese.
fpintoG
@fpintoG
hi, does someone has problems with translations module i18n?, seems like i can not load the related templates
translation_error.png
Johnny
@johnnywale
for some dependence , you may need to checkout old the commit or version.
jwong858
@jwong858

I got these errors from the sample app, when I clicked on Home, Men, Women or Kids tab:

template: gender:10: unexpected unclosed action in command
template: :10: unexpected unclosed action in command

Any idea how to fix it?

jwong858
@jwong858
I got the key error and "widget FullWidthBannerEditor not exists" error, when I was seeding it. Any idea how to fix it?

$ go run config/db/seeds/main.go config/db/seeds/seeds.go
Failed to create unique index for translations key & locale, got: Error 1170: BLOB/TEXT column 'key' used in key specification without a key length

(/Users/jwong3/go/src/github.com/qor/i18n/backends/database/database.go:20)
[2019-10-26 09:32:44] Error 1170: BLOB/TEXT column 'key' used in key specification without a key length
WARNING: AssetFS is used before overwrite it!
goroutine 1 [running, locked to thread]:
runtime/debug.Stack(0x2e, 0x0, 0x0)
/usr/local/go/src/runtime/debug/stack.go:24 +0x9d
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/qor/assetfs.SetAssetFS(0x6a57910, 0x24938e0)
/Users/jwong3/go/src/github.com/qor/assetfs/assetfs.go:33 +0xc5
github.com/qor/qor-example/config/bindatafs.init.0()
/Users/jwong3/go/src/github.com/qor/qor-example/config/bindatafs/bindatafs.go:26 +0x5d
Need to have gorm DB in the configuration in order to run migrations
Start create sample data...
--> Created setting.
--> Created seo.
--> Created admin users.
--> Created users.
--> Created addresses.
--> Created categories.
--> Created collections.
--> Created colors.
--> Created sizes.
--> Created material.
--> Created medialibraries.
--> Created products.
--> Created stores.
--> Created orders.
2019/10/26 09:33:30 widget FullWidthBannerEditor not exists, make sure to register it
2019/10/26 09:33:30 widget FullWidthBannerEditor not exists, make sure to register it
2019/10/26 09:33:30 widget FullWidthBannerEditor not exists, make sure to register it
2019/10/26 09:33:30 widget FullWidthBannerEditor not exists, make sure to register it
--> Created widgets.
--> Created articles.
--> Created helps.
--> Done!
Is this qor project still active? How come no one is responding my questions?
丁冬冬
@HappyDaydayUp
Listening on: 9000
2019/11/07 18:39:23 Finish [GET] /admin Took 0.19ms
2019/11/07 18:39:23 http: panic serving [::1]:54051: runtime error: invalid memory address or nil pointer dereference
quick start bug
I don nor know how to do
Waleed Gadelkareem
@gadelkareem
Hi, is there a way to implement a subscription based e-commerce website? do you have an example repo for it?
Ujjawal Sehrawat
@UjjawalSehrawat_twitter
Hey All
Ujjawal Sehrawat
@UjjawalSehrawat_twitter
I have a trouble on qor when I apply multiple filters using queries ,it uses the same db and join all the queries of different filters .
Can you suggest some solution?
This is the first filter
userQueries.Filter(&admin.Filter{
Label: "Account Manager",
Config: &admin.SelectOneConfig{Collection: bulkupload.GetAccountManagers},
Handler: func(db gorm.DB, filter admin.FilterArgument) *gorm.DB {
db = configuration.GetDB(constants.READ)
metaValue := filter.Value.Get("Value")
var filterValue interface{}
if metaValue != nil {
filterValue = metaValue.Value
} else {
filterValue = nil
}
return db.Joins(" JOIN products ON products.id = user_queries.product_id JOIN users ON users.id = products.user_id AND users.deleted_at is null AND users.account_manager_id = ? ", filterValue)
},
})
and this is second one
userQueries.Filter(&admin.Filter{
Label: "Vendor User ID",
Config: &admin.SelectOneConfig{Collection: bulkupload.GetUsers},
Handler: func(db gorm.DB, filter admin.FilterArgument) gorm.DB {
//db1 := configuration.GetDB(constants.READ)
metaValue := filter.Value.Get("Value")
var filterValue interface{}
if metaValue != nil {
filterValue = metaValue.Value
} else {
filterValue = nil
}
//return db1.Exec("select
from user_queries JOIN products ON products.id = user_queries.product_id where products.user_id is not null AND products.user_id = ? ", filterValue)
return db.Joins(" JOIN products ON products.id = user_queries.product_id and products.user_id is not null AND products.user_id = ? ", filterValue)
},
})
How can I implement the second filter?
x0rzkov
@x0rzkov
Hi guys, we are creating a wordpress clone based on qor called qorpress, any objections to it ?
Serge Tan Panza
@stanpanza
Hi guys, has anyone used github.com/qor/page_builder ? Looking for documentation to hook it to a request handler.
sachin-puranik
@sachin-puranik
Hi
I have created a pull request qor/auth#39
Can some one please merge the pull
qi
@zhouqiw
hi
Martijn van Maasakkers
@mvmaasakkers
Hi guys, is it possible to disable a delete action on a qor/admin resource?
Martijn van Maasakkers
@mvmaasakkers
I fixed this by setting invisible to true on the resource and copying code from the AddResource:
Admin.AddMenu(&admin.Menu{Name: inflection.Plural(res.Config.Name), IconName: res.Config.IconName, Permissioner: res, Priority: res.Config.Priority, Ancestors: res.Config.Menu, RelativePath: res.ToParam()})
Admin.RegisterResourceRouters(res, "create", "update", "read")
Nathan Ngo
@nathan.ngo_gitlab
For those who cannot login (see message "You have to confirm your account before continuing"), pls make a change on auth as this PR https://github.com/qor/auth/pull/39/files#diff-74d143ebc83607521c0db57e6225668d
Nathan Ngo
@nathan.ngo_gitlab
Screen Shot 2020-04-02 at 7.20.44 PM.png
can you see the image on the system? all the images on my local cannot be loaded, pls advice how to solve it?
mrasu
@mrasu
Hello, how does qor's admin supports null.String by https://github.com/guregu/null ?
When creating admin simply, edit panel shows "String" and "Valid" section for nullable columns.
But values of the section are empty even when it have some text
Kevin
@kevinx8888_gitlab

How can I access login page for a provider. Accessing http://localhost:9000/auth/login results in following page:

I do see the login file under password/views/auth/login/providers/password/tmpl, but cannot find the url which would send this page. Could not find anything in PasswordProvider .ServeHttp method which sends this page - was expecting a handle in this file

Kevin
@kevinx8888_gitlab
Screenshot from 2020-04-19 09-18-31.png
Arturo de la Vega Ruiz
@ArturoDLVega_twitter
Hello
Im getting this
image.png