Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 08 15:00
    lux milestoned #303
  • Apr 08 15:00
    lux opened #303
  • Apr 08 15:00
    lux labeled #303
  • Apr 08 14:59
    lux milestoned #302
  • Apr 08 14:59
    lux labeled #302
  • Apr 08 14:59
    lux opened #302
  • Apr 05 19:57

    jbroadway on master

    Ensures zlib compression is off… (compare)

  • Apr 05 16:26

    jbroadway on master

    Removed outdated code from Fron… (compare)

  • Apr 02 17:11

    lux on elefant_2_0_11_stable

    (compare)

  • Mar 29 13:46

    jbroadway on master

    Fixed error in upgrade (compare)

  • Mar 29 13:23

    jbroadway on master

    Added lib to restrictions in sa… (compare)

  • Mar 22 17:33

    lux on elefant_2_0_11_stable

    (compare)

  • Mar 22 17:32

    jbroadway on master

    Reduced database queries used b… (compare)

  • Mar 08 23:20

    jbroadway on master

    Added ./elefant api/expire-toke… (compare)

  • Mar 08 23:06

    jbroadway on master

    Added date issued and expiry ca… Made read-only endpoints in /ap… (compare)

  • Mar 06 13:12

    jbroadway on master

    Fixed plural pager results outp… (compare)

  • 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)

Nelson Sheyim Atamashi Restrepo Jurado
@atamashi
excuseme, localhost
What do you need?
Nelson Sheyim Atamashi Restrepo Jurado
@atamashi
???
Johnny Broadway
@jbroadway
@atamashi It sounds like you might need to set up a hostname alias. Here's some info on how to do that: https://www.elefantcms.com/docs/2.0/getting-started/setting-up-a-hostname-alias
Nelson Sheyim Atamashi Restrepo Jurado
@atamashi
Elephant to prove I bought a month now hosting arvixe where you say that I find it a click, but not among the packages available in cpanel, any solution? Help me start well, please forgive me the mistakes and guide me,, thanks
thankyou, your answer is very well ...is full!
your answer about localhost, now i question about elefant in arvixe, elefant isnt in arvixe.
Nelson Sheyim Atamashi Restrepo Jurado
@atamashi
I upgrade in arvixe to access elefant..
xmory
@xmory
When I use the default site navigation builder, it doesn't seem to fit some frontend frameworks, such as ul or li nodes need to be added some classes. Another, elefant crud-app command generate default views, which maybe not exact what I want. especially I should not modify the templates for further updates. There will no one-size-fits-all solution, but it can be more customizable.
xmory
@xmory
I tried to solve this. I create a small app, add a option named "theme". If theme is set to "bootstrap", view in apps/{appname}/views/{theme} will be used to build the navbar. Then I can create bootstrap, or anything else to fit my need. I think it will also be useful for generate command, ust a small change.
My codes is simple, I can share it later. But because I don't realize the navigation class very much, it just fits for a simple use.
xmory
@xmory
Another suggestion is, the $page->add_script method. The default place to be added is "head". A better way is to add js to tail, and css link to head.
Johnny Broadway
@jbroadway
@atamashi I'm afraid I'm not too current with Arvixe these days. You probably have to talk to their support.
Johnny Broadway
@jbroadway

Hi @xmory! The crud-app command is meant to generate a starting point that you would then customize. It can definitely use more features, but it's always just a starting point. I'd be happy to see your theme feature as well :)

The trouble with loading JS files to the bottom of the page by default is it can affect the loading order, and some files are required to be included before inline code references them. I would have to test which can be moved to the tail and add the second parameter to do so.

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.
Johnny Broadway
@jbroadway
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.