High Activity

News

  Analyzed 5 days ago based on code collected 5 days ago.
 
Posted about 1 month ago by twheel
After I update a stylesheet I'd love to go back to the designer index with stylesheets in front, instead of layouts. What would be the best way to pass the fact that I've just been editing a stylesheet back to the index? Something like $this->redirect ('/designer?from=stylesheet')?
Posted about 1 month ago by jevansnc
Anyone interested in pay to write an app for elefant?
Posted about 1 month ago by jtole
This is a ridiculously simple problem, but please help me out
Cannot get connected to a (blank) MYSQL Database (Test_Elefant, created under phpMyAdmin)

I am using subdirectory, 'elefant-1.2.2' under htdocs
and have the alternate ... [More] .htaccess(_sub) and subfolder.php in place in that directory

Here are my settings in conf/config.php

master[driver] = mysql
master[host] = "locahost:3306"
master[name] = "Test_Elefant"
master[user] = "user"
master[pass] = "pw"

Here is what i get when I run install

HP2 GGIC1 # ./elefant install
SQLSTATE[28000] [1045] Access denied for user 'user'@'localhost' (using password: YES)

I have changed user and pw for this post

Clearly, something not correct or missing in my config.php settings??
Or something that needs to be set in DB permissions

Any help in moving past this point would be most appreciated [Less]
Posted about 1 month ago by jonphipps
If you want to contribute to the code for any of the app packages, the relatively easy way is to install them first via composer and fork them on github. It took me a little bit of digging to figure out how to install my own fork of a composer ... [More] project and get it loaded, so Just a quick how to if you're interested:

First fork the app repository in github so you have your own copy. Then following the instructions here: http://www.elefantcms.com/wiki/Using-Composer-packages , setup your composer packages for the apps like the example:

{
"require": {
"merk/Dough": "*",
"elefant/app-assetic": "*",
"elefant/app-form": "*",
"elefant/theme-montreal": "*"
},
"config": {
"vendor-dir": "lib/vendor"
}
}

And then add a list of the repositories to the file to point to your forked repos:

{
"repositories": [
{ "type": "vcs", "url": "git@github.com:/assetic" },
{ "type": "vcs", "url": "git@github.com:/form" }
],
"require": {
"merk/Dough": "*",
"elefant/app-assetic": "*",
"elefant/app-form": "*",
...

I haven't tested the alternatives, but I think it's important to use the ssh flavor of the repo url. On my system, running composer update then clones two repos: a readonly repo named composer and a read/write repo named origin. Origin is setup to track your github repo and you should checkout origin/master or better checkout a new origin/develop branch to work in (I personally prefer using git flow). Composer needs that local repo named composer, so you can't delete or rename it.

Make sure you commit your code, and push your commits to github, before your next composer update. I haven't been doing this for very long, so I don't know where the pitfalls are. Github has some good info on the Pull Request cycle. [Less]
Posted about 1 month ago by jevansnc
I use the WP for some real estate sites currently. Is it possible with elefant or do you have any live examples?
Posted about 1 month ago by jevansnc
Can you create a user level that can only do basic edits to a page, view analytics, post blogs, etc.?
Posted about 1 month ago by jevansnc
Is it possible to choose what dynamic objects are available as options to an admin?
Posted about 1 month ago by jevansnc
Is there a way to disable the editable blocks when viewing the site and logged in at the same time?
Posted about 1 month ago by jevansnc
Do you guys recommend Nginx or Apache? I have experience with both. i believe Nginx is much more robust and lightweight but we have had issues with WP plugins in the past that use the wp-cron feature. Cronjobs would stop after a few hours. We have a ... [More] specialized plugin that we use to pull CSV data into the wp database that can literally run for 5 to 7 hours. We tried it on Apache and our plugin worked fine but no matter what edits we made to the options on Nginx we always had issues with the plugin erroring out. We messed with php-fpm options and core php options. 3 different "experts" looked at it and no one could correct the issue. I'm not sure to this day if it was more of a WP issue or a Nginx issue but either way the problem went away on Apache. Any thoughts or feed back would be greatly appreciated. We are just laying out a roadmap right now for plans to move all of our sites to elefant from wp. Thanks for all the great help! [Less]
Posted about 1 month ago by jonphipps
Hi,

It looks like saasy uses subdomains for each customer, so I don't think saasy supports this out-of-the-box, but this is the way we'd like to configure our URLs (we're basically following github here):

"/" -- landing page ... [More] , different view for customers and guests.
"/{*site-stuff*}
-- reserved URLs for things like 'admin' and 'login'
"/{:customer_login}"
-- unique login name chosen at registration; dashboard view; can be organization or individual.
"/{:customer_login}/{:project_name}"
-- customer-unique project name chosen when project created.
"/{:customer_login}/{*admin-stuff*}"
-- reserved URLs for customer-specific properties and actions, like 'profile' or 'projects'.
"/{:customer_login}/{:project_name}}/{*admin-stuff*}"
-- reserved URLs for project-specific properties and actions, like 'profile' or 'resources'.`

The site is multilingual and interface language selection will be by cookie, set by selecting a language in the interface, defaulting to the browser setting. So the URLs won't need to be modified. The content can be in a different language from the interface and the content language will be set by query string: ?lang=de

The API would be served from a secured 'API' subdomain https://api.mysite.net, using HMAC authentication.

Last but not least, we have our development environments setup as subdomains: http://local.mysite.net, http://test.mysite.net.

So... I have saasy installed and used it to build a skeleton app at apps/omr. Just some pointers to get me going from here would be helpful.

Thanks [Less]
 

 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.