Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 15 21:30

    jbroadway on master

    User using hash_equals() for pa… (compare)

  • Feb 15 21:24

    jbroadway on master

    Fixed harmless console error in… (compare)

  • Feb 13 20:09

    jbroadway on master

    Allow dots in file name validat… (compare)

  • Feb 13 03:09

    jbroadway on master

    Fixed API changes in embedded f… (compare)

  • Feb 13 02:46

    jbroadway on master

    Upgraded emojionearea to 3.4.1 … Upgraded twemoji to 12.1.5 and … Edit form title no longer needs… (compare)

  • Feb 08 18:49

    jbroadway on master

    Fixed height on versions pager (compare)

  • Feb 08 18:43

    jbroadway on master

    Improved versions with titles a… (compare)

  • Feb 07 03:03

    jbroadway on master

    Output rest errors to the conso… Fix group by error in newer ver… (compare)

  • Jan 15 21:22

    jbroadway on master

    Added error correction, moved s… (compare)

  • Jan 03 16:53

    jbroadway on master

    Upgrade schema tweak (compare)

  • Jan 03 16:49

    jbroadway on master

    Added ./elefant api/get and api… Merge branch 'master' of github… (compare)

  • Jan 03 02:02
    lux labeled #301
  • Jan 03 02:02
    lux opened #301
  • Dec 17 2019 18:14

    lux on master

    Added PHP 7.4 to travis-ci conf… Merge pull request #300 from jb… (compare)

  • Dec 17 2019 18:14
    lux closed #300
  • Dec 17 2019 18:03
    lux opened #300
  • Dec 17 2019 18:03

    lux on php74-travis-ci

    Added PHP 7.4 to travis-ci conf… (compare)

  • Dec 15 2019 19:45

    jbroadway on master

    Minor css tweaks (compare)

  • Dec 15 2019 19:41

    jbroadway on master

    Generalized edit form CSS from … Generalized edit form CSS from … (compare)

  • Dec 15 2019 18:54
    lux edited #295
Johnny Broadway
@jbroadway
For navigation, a while back I tried to make the navigation classes (Navigation and Link) more flexible so its easier to generate custom navigation handlers as needed. The defaults are fairly simple and can't solve all possible navigation needs, but I've usually gotten around that by adding a surrounding <div id="nav"></div> and styling based on that. Of course, that may not work with all CSS frameworks, but then a custom handler should be able to work.
For example, the code in the Link class usage example is almost identical to the navigation/top handler, so you can see it's fairly straightforward.
Nelson Sheyim Atamashi Restrepo Jurado
@atamashi
in adminer when using postgresql first, which is the user name and password?
Johnny Broadway
@jbroadway
If you went through the web installer, you should have chosen your own password. If you installed it from the command line, it would be printed out at the end for you. If it was installed some other way, try elefantrocks haha :)
xmory
@xmory
The theme code would be shown in this weekends, as it is in another computer. It's rather simple, only a test. I have made an up-to-date Chinese translation file here :http://www.pastebin.ca/3171521 :)
Johnny Broadway
@jbroadway
Thanks @xmory! :D
xmory
@xmory
:)
Nelson Sheyim Atamashi Restrepo Jurado
@atamashi
hello!!
help me please with this question...
ok I made the getting start, in localhost, but not the Admin Toolbar I get when I log in the login. I'm missing? as I follow?
Nelson Sheyim Atamashi Restrepo Jurado
@atamashi

I have tried so http://127.0.0.1/admin

but I get this
Forbidden

You don 't have permission to access / on this server admin.

any idea?
Nelson Sheyim Atamashi Restrepo Jurado
@atamashi
Muchas personas pueden perder la oportunidad aqui, solo por no saber lo basico. La barrera del idioma aun con google , pero mas aun la suposicion de que los demas entienden lo basico. En su marketing deben decir. Descargue el archivo, pruebelo en localhost y subalo a un host para que pueda acceder a todas sus funcionalidades. Este ultima frase venderia muchisimo, si le dieras la importancia que tiene y la pusieras inicialmente. Aun se trate de expertos, venimos de otras experiencias y paradigmas que pueden ocultar por dias el simple como se hace aqui.
Many people may miss out here, just not knowing the basics. The language barrier even with google, but more so the assumption that others understand the basics. In its marketing must say. Download the file, try it on localhost and upload to a host so you can access all of its features. This last sentence would sell a lot, if you gave the importance and were to put initially. Even in the case of experts, we come from other experiences and paradigms can hide for days simple as it gets here.
Becouse is refreshingly simple? ..... this was my answer!
Johnny Broadway
@jbroadway

Hi @atamashi, I appreciate the feedback. I don't test with Windows often because I use a Mac as my desktop and Linux on our servers. So it makes it harder to help or debug. I'm currently looking at building a Windows machine though so that may change soon :)

One thing that may help is using Vagrant to manage your development environment. You can run a virtual copy of Linux on your desktop to host the website very easily with Vagrant, and it also has the benefit that you can have the same OS and configuration for development that you would have on your live server.

It sounds like the issue with logging in has to do with the host name. For security reasons, Elefant requires a valid host name that's not 'localhost' and is not just an IP address to set a session cookie, so you would need to create an alias such as www.mywebsite.dev in your hosts file.
xmory
@xmory
My theme codes are here:http://www.pastebin.ca/3174091. It's a pity that I don't know how to use git :(
Nelson Sheyim Atamashi Restrepo Jurado
@atamashi
hello!!! here is the traslation to Spanish https://gist.github.com/atamashi/098344d6523ddb5a9bc7
Johnny Broadway
@jbroadway
@atamashi thank you!!! I'll add it in right away :D
Johnny Broadway
@jbroadway

@xmory, that's an interesting way to create UI elements for multiple CSS frameworks. I've been thinking of how to handle some of the class name differences recently.

Another option I've been thinking about is adding a class parameter to the navigation/* tags themselves, but it wouldn't be able to change the html, only add custom classes. That might be ok for some frameworks but maybe not all.

The include might look like this with classes:

{! navigation/top
    ?classes[ul]=pure-menu-list
    &classes[li]=pure-menu-item
    &classes[active]=pure-menu-selected
    &classes[a]=pure-menu-link !}

Your idea made me also think of having pre-configured sets of classes, so you could just say

{! navigation/top?classes=purecss !}

Or

{! navigation/top?classes=bootstrap !}

And it would know the names of all the classes already.

xmory
@xmory
theme solution
is simple and is able to change to whateever you want,even add somescontrols to th
xmory
@xmory
such as add a search input.
xmory
@xmory
classes solution is also ok, if leave some hooks for additional controls.
xmory
@xmory
such as nav.beforemenus, nav.aftermenus, and so on
Nelson Sheyim Atamashi Restrepo Jurado
@atamashi
I followed his recommendation and just installed vagrand with virtual box, mysql php ubuntu apache2 14.4. Now follow vagrant install and charge Elephant with the application. Any recommendation? Thank you!
xmory
@xmory
eleffffant :)
xmory
@xmory
in admin toolbar,
content blocks
isn't in translation index
Nelson Sheyim Atamashi Restrepo Jurado
@atamashi
Hi, xmory! What is your question?
Johnny Broadway
@jbroadway
I just changed the page title of /blocks/admin to "Content Blocks" so it should come up in the translator now.
@atamashi I do have a Vagrant setup started here: https://github.com/jbroadway/elefant-vagrant
Some of the setup steps were made only for Mac or Linux, but the Chef and Vagrant files should be a good starting point for you. The Chef configuration is managed by Berkshelf in the file Berksfile.
Nelson Sheyim Atamashi Restrepo Jurado
@atamashi
Hello! I have installed windows 7 Elefant, I configured virtual host and I am accessing via the browser, editing forms, placing dynamic objects, etc. I've installed in d: / wamp / www is my document root.
I needed to work with the command line. Then I opened as administrator console windows and / d / wamp / www ./elefant've typed, but the system does not recognize it as a command. I tried with git bash and also with the powershell no avail. Please, anyone have any idea about this problem?
I need to use the command line to import a database.
Nelson Sheyim Atamashi Restrepo Jurado
@atamashi
Trying to solve this I found that rather use windows / and not \, which is what they use Linux and Mac.
xmory
@xmory
cd d:/wamp/www
php elefant
The default elefant file has a line at the end:
system ('export ELEFANT_ENV=' . escapeshellarg ($env) . ' && php index.php ' . $handler . ' ' . join (' ', $argv));
windows don't have export command. I change "export" to "set", it just works.
Selwyn-b
@Selwyn-b
Just uploaded a new install of master branch and nothing but index showing
Selwyn-b
@Selwyn-b
all I've changed is the layout to a default i.e layouts/default/default.html. Styles are working fine so obviously connecting ok to the layout
Nuno Ribeiro
@nmpribeiro
hi there. I'm having problems on installing in a subfolder
the .htaccess it on the elefant folder, and the subfolder on the root right?
got it... read the code heh
Nuno Ribeiro
@nmpribeiro
hum... the installer is blocked... points me to https://www.elefantcms.com/wiki/Setting-up-a-Virtualhost-for-your-site and this doesn't exist...