i have the same problem, anybody know the solution? пятница, 5 сентября 2014 г., 11:01:18 UTC+4 пользователь raj singhania написал: > > hello jalal thanks for your response > > i don't have problem in installation . > Standford theme is working fine, i have problem in enabling the > navigation links like > (How it works, Courses, Schools, > Terms of Service <http://localhost/tos> Privacy Policy > <http://localhost/tos#privacy> Honor Code <http://localhost/tos#honor> > Copyright <http://localhost/tos#copyright> Careers > <http://localhost/about#careers> Contact <http://localhost/about#contact> > Help <http://localhost/register#>) > > where i need to configure so that these pages are accessible ? > > > On Thu, Sep 4, 2014 at 5:14 PM, jell m <[email protected] <javascript:>> > wrote: > >> Are you getting the same error? >> >> try the below steps >> >> 1. Clone https://github.com/Stanford-Online/edx-theme to >> /edx/app/edxapp/themes/ >> 2. rename _default.scss to edx-theme.scss >> 3. Set "USE_CUSTOM_THEME": true " and THEME_NAME": "edx-theme" in >> lms.env.json >> 4. paver devstack lms >> >> >> >> >> >> >> On Thu, Sep 4, 2014 at 2:35 PM, rajsinghaniaful . <[email protected] >> <javascript:>> wrote: >> >>> thanks jalal >>> >>> i have already installed standford theme and doing these changes on that >>> . >>> according to standford theme i have created the theme folder in the >>> edxapp directory . >>> edxapp/standford/template >>> in this (edxapp/standford/template ) directory i put the >>> static_template folder which contains all the required static file . >>> >>> >>> still it is not working . please suggest where i am wrong . >>> >>> >>> On Tue, Sep 2, 2014 at 9:00 AM, [email protected] <javascript:> < >>> [email protected] <javascript:>> wrote: >>> >>>> >>>> You need to mimic the layout that's there in " >>>> edx-platform/lms/templates/" >>>> for eg: the about page is in >>>> "edx-platform/lms/templates/static_templates/about.html" >>>> so you should have an "about.html" on "templates/static_templates/" in >>>> your theme directory or else it will give you error. >>>> >>>> The best way to get started is to clone the stanford edx-theme >>>> https://github.com/Stanford-Online/edx-theme and start customising it. >>>> >>>> >>>> >>>> >>>> On Monday, September 1, 2014 10:38:41 AM UTC+5:30, raj singhania wrote: >>>> >>>>> thank you for your response . >>>>> >>>>> i need more help from you . >>>>> I want to enable the navigations links , like courses, contact us, >>>>> about , Institutes etc how can i do this ? >>>>> i was trying to enable them .i set the *'USE_MICROSITES*' and >>>>> *'ENABLE_MKTG_SITE'* to true >>>>> >>>>> My Problems: >>>>> >>>>> 1: On the localhost/register three links (How it works, Courses, >>>>> Schools ) are visible but they are disabled i can't click on it . How can >>>>> i >>>>> enable them ? >>>>> >>>>> 2: On the home page it shows the *Internal Server Error* . how can i >>>>> resolve them ? >>>>> this is the log generated by home page >>>>> >>>>> >>>>> >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][edxmako.shortcuts][env:sandbox] >>>>> WARNING [aakash-desktop 16148] [shortcuts.py:56] - Cannot find >>>>> corresponding link for name: ABOUT >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][edxmako.shortcuts][env:sandbox] >>>>> WARNING [aakash-desktop 16148] [shortcuts.py:56] - Cannot find >>>>> corresponding link for name: JOBS >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][edxmako.shortcuts][env:sandbox] >>>>> WARNING [aakash-desktop 16148] [shortcuts.py:56] - Cannot find >>>>> corresponding link for name: PRIVACY >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][edxmako.shortcuts][env:sandbox] >>>>> WARNING [aakash-desktop 16148] [shortcuts.py:56] - Cannot find >>>>> corresponding link for name: TOS >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][edxmako.shortcuts][env:sandbox] >>>>> WARNING [aakash-desktop 16148] [shortcuts.py:56] - Cannot find >>>>> corresponding link for name: FAQ >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][edxmako.shortcuts][env:sandbox] >>>>> WARNING [aakash-desktop 16148] [shortcuts.py:56] - Cannot find >>>>> corresponding link for name: COURSES >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][edxmako.shortcuts][env:sandbox] >>>>> WARNING [aakash-desktop 16148] [shortcuts.py:56] - Cannot find >>>>> corresponding link for name: CONTACT >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][edxmako.shortcuts][env:sandbox] >>>>> WARNING [aakash-desktop 16148] [shortcuts.py:56] - Cannot find >>>>> corresponding link for name: PRESS >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][edxmako.shortcuts][env:sandbox] >>>>> WARNING [aakash-desktop 16148] [shortcuts.py:56] - Cannot find >>>>> corresponding link for name: WHAT_IS_VERIFIED_CERT >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][edxmako.shortcuts][env:sandbox] >>>>> WARNING [aakash-desktop 16148] [shortcuts.py:56] - Cannot find >>>>> corresponding link for name: ROOT >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][edxmako.shortcuts][env:sandbox] >>>>> WARNING [aakash-desktop 16148] [shortcuts.py:56] - Cannot find >>>>> corresponding link for name: HONOR >>>>> Sep 1 10:44:03 aakash-desktop [service_variant=lms][root][env:sandbox] >>>>> ERROR [aakash-desktop 16148] [exceptions.py:9] - Uncaught exception from >>>>> <class 'django.core.handlers.wsgi.WSGIHandler'> >>>>> Traceback (most recent call last): >>>>> File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site- >>>>> packages/django/core/handlers/base.py", line 111, in get_response >>>>> response = callback(request, *callback_args, **callback_kwargs) >>>>> File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site- >>>>> packages/django/utils/decorators.py", line 91, in _wrapped_view >>>>> response = view_func(request, *args, **kwargs) >>>>> File "/edx/app/edxapp/edx-platform/common/djangoapps/util/cache.py", >>>>> line 51, in _decorated >>>>> response = view_func(request, *args, **kwargs) >>>>> File "/edx/app/edxapp/edx-platform/lms/djangoapps/branding/views.py", >>>>> line 36, in index >>>>> return redirect(settings.MKTG_URLS.get('ROOT')) >>>>> File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site- >>>>> packages/django/shortcuts/__init__.py", line 81, in redirect >>>>> if '/' not in to and '.' not in to: >>>>> TypeError: argument of type 'NoneType' is not iterable >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][django.request][env:sandbox] >>>>> ERROR [aakash-desktop 16148] [base.py:215] - Internal Server Error: / >>>>> Traceback (most recent call last): >>>>> File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site- >>>>> packages/django/core/handlers/base.py", line 111, in get_response >>>>> response = callback(request, *callback_args, **callback_kwargs) >>>>> File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site- >>>>> packages/django/utils/decorators.py", line 91, in _wrapped_view >>>>> response = view_func(request, *args, **kwargs) >>>>> File "/edx/app/edxapp/edx-platform/common/djangoapps/util/cache.py", >>>>> line 51, in _decorated >>>>> response = view_func(request, *args, **kwargs) >>>>> File "/edx/app/edxapp/edx-platform/lms/djangoapps/branding/views.py", >>>>> line 36, in index >>>>> return redirect(settings.MKTG_URLS.get('ROOT')) >>>>> File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site- >>>>> packages/django/shortcuts/__init__.py", line 81, in redirect >>>>> if '/' not in to and '.' not in to: >>>>> TypeError: argument of type 'NoneType' is not iterable >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][edxmako.shortcuts][env:sandbox] >>>>> WARNING [aakash-desktop 16148] [shortcuts.py:56] - Cannot find >>>>> corresponding link for name: ROOT >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][edxmako.shortcuts][env:sandbox] >>>>> WARNING [aakash-desktop 16148] [shortcuts.py:56] - Cannot find >>>>> corresponding link for name: HOW_IT_WORKS >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][edxmako.shortcuts][env:sandbox] >>>>> WARNING [aakash-desktop 16148] [shortcuts.py:56] - Cannot find >>>>> corresponding link for name: COURSES >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][edxmako.shortcuts][env:sandbox] >>>>> WARNING [aakash-desktop 16148] [shortcuts.py:56] - Cannot find >>>>> corresponding link for name: SCHOOLS >>>>> Sep 1 10:44:03 aakash-desktop >>>>> [service_variant=lms][gunicorn.error][env:sandbox] >>>>> ERROR [aakash-desktop 16148] [glogging.py:219] - Error handling request >>>>> Traceback (most recent call last): >>>>> File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site- >>>>> packages/gunicorn/workers/sync.py", line 126, in handle_request >>>>> respiter = self.wsgi(environ, resp.start_response) >>>>> File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site- >>>>> packages/django/core/handlers/wsgi.py", line 241, in __call__ >>>>> response = self.get_response(request) >>>>> File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site- >>>>> packages/django/core/handlers/base.py", line 179, in get_response >>>>> response = self.handle_uncaught_exception(request, resolver, >>>>> sys.exc_info()) >>>>> File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site- >>>>> packages/django/core/handlers/base.py", line 228, in >>>>> handle_uncaught_exception >>>>> return callback(request, **param_dict) >>>>> File >>>>> "/edx/app/edxapp/edx-platform/lms/djangoapps/static_template_view/views.py", >>>>> >>>>> line 69, in render_500 >>>>> return >>>>> HttpResponseServerError(render_to_string('static_templates/server-error.html', >>>>> >>>>> {})) >>>>> File >>>>> "/edx/app/edxapp/edx-platform/common/djangoapps/edxmako/shortcuts.py", >>>>> line 104, in render_to_string >>>>> return template.render_unicode(**context_dictionary) >>>>> File >>>>> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/template.py", >>>>> >>>>> line 452, in render_unicode >>>>> as_unicode=True) >>>>> File >>>>> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", >>>>> >>>>> line 807, in _render >>>>> **_kwargs_for_callable(callable_, data)) >>>>> File >>>>> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", >>>>> >>>>> line 839, in _render_context >>>>> _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) >>>>> File >>>>> "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/mako/runtime.py", >>>>> >>>>> line 865, in _exec_template >>>>> callable_(context, *args, **kwargs) >>>>> File "/tmp/tmp_80eFNmako/main.html.py", line 253, in render_body >>>>> __M_writer(filters.decode.utf8(self.body())) >>>>> File "/tmp/tmp_80eFNmako/static_templates/server-error.html.py", >>>>> line 40, in render_body >>>>> platform_name=u"<em>{}</em>".format(platform_name=settings. >>>>> PLATFORM_NAME) >>>>> IndexError: tuple index out of range >>>>> >>>>> >>>>> >>>>> On Tue, Aug 26, 2014 at 10:17 PM, Han Su Kim <[email protected]> wrote: >>>>> >>>>>> There is no documentation as it's not a part of the edx-platform >>>>>> itself, using the theme's like Stanford is though. Our drupal website >>>>>> is >>>>>> entirely outside of edx-platform and depending on where you click just >>>>>> forwards the requests onto edx-platform, but in itself an entirely >>>>>> separate >>>>>> website on it's own with it's own servers. It's merely one way, there >>>>>> are >>>>>> tons of other ways, including just creating your own static website that >>>>>> will forward the person onto the right URL that you want. I hope that >>>>>> answers your question. >>>>>> >>>>>> >>>>>> On Tuesday, August 26, 2014 12:35:56 PM UTC-4, raj singhania wrote: >>>>>> >>>>>>> OK so how can i add a same page on my local instance of edx? >>>>>>> please mention if there is any documentation for it . >>>>>>> >>>>>>> Or how did the drupal page is added there do you have any idea? >>>>>>> please provide more info if you have . >>>>>>> Thank you >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Tue, Aug 26, 2014 at 9:25 PM, Han Su Kim <[email protected]> wrote: >>>>>>> >>>>>>>> I think what you are looking for is a front end for edX. >>>>>>>> >>>>>>>> What you see at edx.org before you actually log into the student >>>>>>>> dashboard is actually a Drupal based website. >>>>>>>> >>>>>>>> >>>>>>>> On Wednesday, August 20, 2014 2:35:18 AM UTC-4, raj singhania wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> Hello all >>>>>>>>> I want to change the look and feel of my homepage . I don't get >>>>>>>>> which html file do i need to change . >>>>>>>>> I got files for other pages but unable to locate the very first >>>>>>>>> (home page) page. >>>>>>>>> >>>>>>>>> Please also tell in which file (view file) the logic is written >>>>>>>>> to display the courses ? >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>> >>> >> >
-- You received this message because you are subscribed to the Google Groups "General Open edX discussion" group. To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/4c523c32-57c0-44fb-9ae1-a5c1707d86fe%40googlegroups.com.
