I want to build a site with a dynamic menu which should be delivered from an separate app named menu. This app uses a base template.
On the other side there is a content which cames from another app named customer.
When i call domain/customer/show/1 for example the site should show the selected customer and also the menu from the menuapp but the customerapp shall be independent.
How can i solve this?
I recommend to try django-sitetree or other app from this list http://www.djangopackages.com/grids/g/navigation/
Related
I'm currently working on a singe page app in django that makes use of Polymer Elements. My problem is when I'm changing template views.
When I click on a page link to direct me to a new view I want to use the app-route, app-location and the iron-pages elements that Polymer has. This lets me simply change my current views without actually having to reload the whole page again and make requests. Apparently, in Django, whenever I click on a link it instead goes to the urls.py and tries to direct me to that link. Is it possible to create single page apps in django with polymer?
I have already finished setting up my home, about and contact us page using bootstrap in one project. I wanted to use the django-oscar for the e-commerce configuration and use it in my products page.
Do I need to add another project or just create another app for django-oscar?
By the way I created another project and am currently stuck on how to connect it the first project I have made
You don't need to create another project for your product's page. You can easily install Oscar (which will install Django as a dependency). It supports a simple design built with Twitter's Bootstrap.
You can read this: Getting started with Oscar and How to customise templates for create home, about and contacts pages.
Hope I help!
Following the tutorial of the djangocms documentation, I've created an apphook to allow users to ask for registration to a list of newsletters. Clicking on the page menu goes to the url(r'^$', views.index, name='index') of the hooked application. It works fine.
I would like to create a second page for the newsletters administrator that will use another instance of the same application but using the url(r'^manage/$', views.manage, name='manage') when the page is selected. Is it possible? I don't find how to configure that.
Thanks a lot for any suggestion.
For the lack of a better way, I have usually created another App Hook and pointed it to another view - that way you can have every major part of the app catered for. If it's just two different pages, this may be the simplest solution.
In a page's advanced settings is the application instance name which is there to enable the same apphook to be used on multiple pages. Setting that would get you two instances of the same apphook.
Alternatively, and perhaps more appropriately, you could split your URLs into a separate file for management. Then you could have a NewsletterManagementAppHook which points to that new set of URLs, separate from the frontend URLs for users. That way you can setup another apphook on another page.
Hello freinds I need help as to how can I add 2 iFrames in the Joomla's Default Back-end Template Khepri.
I want to show the Hosting cPanel and also another application's Control Panel in these iFrames.
Kindly help.
The correct way to do this is to add a new module to the admin. Log in to your Joomla admin then select Extensions > Module Manager > Administrator.
This will get you to the modules manager for the administrative area. It works just like the front end. Click New module, then select Custom HTML and put your iFrame code in there.
In my django application I have different content across the site. Now I would like to add "Share this to... (Facebook,Twitter,Buzz)" link on each page. But instead of redirecting to a social app page I would like to open popup with (if needed) logging/adding possibility. How to get started ? What steps/operations I need to perform and what ready made applications can I use ? I have already created a twitter app and facebook app and have all the keys.
I mean something like links here http://mashable.com/awards/ (left-side).
Sharethis: http://sharethis.com/ works well in every instance I've used it.
If you want only specific 'share buttons' or with default style justy type " social_name 'share button' " and you will get the js to include on your site (here are the 3 you mentioned in post):
http://www.facebook.com/share/
http://twitter.com/goodies/tweetbutton
http://www.google.com/buzz/api/admin/configPostWidget
If you already have the app written to behave like mashable, one approach is to put the login dialog (if it's needed) in a jQuery dialog. http://jqueryui.com/demos/dialog/