by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Zbyněk Novotný
@mrclayman
@dfang it's not, judging by the commit history on Github, but it's hard to get a response from the devs.
Eslizn
@eslizn
how to get template source for bindatafs?
Semyon
@SemyonL95
Hi guys, have a question, i don't understand way, how to add custom page to admin? could you provide some links for examples or tell which way should i research, thx for attention.
Semyon
@SemyonL95
Hello again, have new question, could you help me find a way how to change select option, which depends of another selected value
for example
Semyon
@SemyonL95
i have Entity Foo, Bar, Baz. Bar have foreign key to Foo, Baz to Foo and Bar, i need when i creating new Baz and select Foo value, i wanna display Bar value that related to Foo.
fpintoG
@fpintoG
hi, i have been playing with the framework. Is there a way to use the admin layout including the sidebar with custom views using qor render?
fpintoG
@fpintoG
i have tried using "ctrl.View.Layout("layout").Execute("view", map[string]interface{}{}, req, w)" with layout begin the original layout defined in qor admin but id doesnt work
sachin-puranik
@sachin-puranik
Hi
I am new to QOR
I am able to checkout build and run the application ...QOR-Example
but unable to login with dev@getqor.com and testing
it says verification pending.....
Can someone please help
i also populated the QOR demo data
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.