[mezzanine-users] Change blog post navigation based on referrer

2014-05-28 Thread Devon Campbell
I'm making a navbar for my blog posts. If a reader arrives at a post from the post listing, I want the navigation link to say "Back to the post listing" or something like that. If the visitor comes from another source, I'd like the link to say "Read other posts like this one." I know I can te

[mezzanine-users] Multiple 404s on blog page while admin logged in

2014-05-28 Thread Devon Campbell
On my live site, I'm getting several 404s when I load the blog page (or any page under it) while logged in as an admin. Here are the errors from the Network tab of Chrome dev tools: GET http://radworks.io/blog/plugins/inlinepopups/editor_plugin.js/ 404 (NOT FOUND) 3e67aef34942.js:36 Failed to

[mezzanine-users] Conditionally display "Comments" header only if there are comments?

2014-05-25 Thread Devon Campbell
I would like to conditionally display the "Comments" header only when there are comments, and I would like to do away with "There are no comments to display" altogether. I'm guessing theres something in the context of my templates/generic/includes/comments.html template I should be able to test,

Re: [mezzanine-users] Unable to view forms pages on deployed site

2014-04-03 Thread Devon Campbell
One of my dependencies must not have installed properly on the first attempt. Ran a pip install on my requirements.txt file, and now the forms are working. Sorry! -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this grou

Re: [mezzanine-users] Unable to view forms pages on deployed site

2014-04-02 Thread Devon Campbell
I have not made any changes to the form template at all. I haven't made any changes to the code since I was running on my local development copy where the forms were working properly. The only things that would have changed (as far as I'm aware) are the environment and the absence of my local_

[mezzanine-users] Unable to view forms pages on deployed site

2014-04-02 Thread Devon Campbell
I just deployed my Mezzanine site, and I'm not able to view forms on the live site. Here's the traceback: Traceback (most recent call last): > File > "/home/raddevon/webapps/radworks/lib/python2.7/django/core/handlers/base.py", > line 139, in get_response > response = response.render() > Fil

Re: [mezzanine-users] The best way to make "Contact us" form inside bootstrap's modal

2014-03-26 Thread Devon Campbell
Did you have to do anything special to get the AJAX request to pass the CSRF check? On Monday, March 11, 2013 1:33:58 PM UTC-4, Дмитрий Белавенцев wrote: > > Thanks a lot, Josh! It helps me! =) > > Maybe it will help someone: my js code for ajax form submitting ( > https://gist.github.com/dizpers