Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Tutorial is not clear about toolbar #1023

Closed
guandalino opened this issue Sep 23, 2011 · 5 comments
Closed

[Docs] Tutorial is not clear about toolbar #1023

guandalino opened this issue Sep 23, 2011 · 5 comments
Milestone

Comments

@guandalino
Copy link
Contributor

The last picture in the tutorial (which is great) shows the toolbar at the top of the page. Though, there is no explanation on how to activate it. I found the way to enable it reading a googlegroups thread; but that's an info that should be added to the official tutorial, too. If you don't agree to change template_1.html to include {% cms_toolbar %}, the picture shouldn't show a toolbar :)

Thanks.

ref. https://groups.google.com/d/topic/django-cms/g5jKbdCez0I/discussion

@ojii
Copy link
Contributor

ojii commented Oct 4, 2011

agreed. i'd love to see a pull request for this :D

@guandalino
Copy link
Contributor Author

ok, that's mine! Let me read some github docs then.

@guandalino
Copy link
Contributor Author

Apologies, I need assistance using git. I have committed the patch to the working copy but I have problems to do the push to my fork. Please help.

Clone the project
$ git clone git@github.com:guandalino/django-cms.git

Cloning into django-cms...
remote: Counting objects: 30615, done.
remote: Compressing objects: 100% (10404/10404), done.
remote: Total 30615 (delta 19514), reused 29081 (delta 18185)
Receiving objects: 100% (30615/30615), 11.67 MiB | 542 KiB/s, done.
Resolving deltas: 100% (19514/19514), done.

Configure remotes
$ cd django-cms/
$ git remote add upstream https://github.com/divio/django-cms.git
$ git fetch upstream 
From https://github.com/divio/django-cms
* [new branch]      develop    -> upstream/develop
* [new branch]      hotfix/2.1.1 -> upstream/hotfix/2.1.1
* [new branch]      hotfix/2.1.2 -> upstream/hotfix/2.1.2
* [new branch]      master     -> upstream/master
* [new branch]      release/2.0.0 -> upstream/release/2.0.0
* [new branch]      release/2.1.0 -> upstream/release/2.1.0
* [new branch]      release/2.2 -> upstream/release/2.2

Changed tutorial.rst

Commit
$ git add tutorial.rst
$ git commit -m "Fix for #1023 (docs)."
[develop 815b542] Fix for #1023 (docs).
1 files changed, 1 insertions(+), 0 deletions(-)

$ git push origin master
error: src refspec master does not match any.
error: failed to push some refs to 'git@github.com:guandalino/django-cms.git'

@ojii
Copy link
Contributor

ojii commented Oct 14, 2011

please hop on irc (#django-cms on irc.freenode.net) so we can help you with git.

@ojii
Copy link
Contributor

ojii commented Oct 14, 2011

Ah try git push origin develop

guandalino added a commit to guandalino/django-cms that referenced this issue Oct 14, 2011
guandalino added a commit to guandalino/django-cms that referenced this issue Oct 14, 2011
@ojii ojii closed this as completed in 82e1bd1 Oct 14, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants