Presentation Viewer on django

2012-05-07 Thread Amr Abdel-wahab
Hi All,
I am new to Django I need a complete way where I can allow the user to
upload a ppt or pdf file and then in the template I show this file
embedded

Many Thanks,
Amr

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Presentation Viewer on django

2012-05-07 Thread Amr Abdel-wahab
I don't want to generate a pdf/ppt or edit it I just need to upload it
in one page and show it in a frame in another page in the browser

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Problem with Jquery over Django

2012-05-16 Thread Amr Abdel-wahab
That's an example of a code, this exact file works fine if I just
double clicked it, but if when I render that HTML from a django view
the java scripts stops, This is really odd because the same exact file
runs out side the project if I just double clicked it as a HTML file,
but if I just try to open it from inside the scripts stops


http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">





var flashvars = {};
var params = {};
var attributes = {};
attributes.id = "myId";

swfobject.embedSWF("/home/amr/STIP/media/MCCdirnum_2.swf",
"myAlternativeContent", "800", "600", "9.0.0", false, flashvars,
params, attributes);




http://www.adobe.com/go/getflashplayer";>
http://www.adobe.com/images/shared/download_buttons/
get_flash_player.gif" alt="Get Adobe Flash player" />





-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Problem with Jquery over Django

2012-05-16 Thread Amr Abdel-wahab
Man it's the same exact file, from the same directory and everything

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Problem with Jquery over Django

2012-05-16 Thread Amr Abdel-wahab
It just doesn't work if rendered but the same exact file does work if
I opened it in a browser view

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Problem with Jquery over Django

2012-05-16 Thread Amr Abdel-wahab
Oh ok, then can you give me a solution?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Problem with Jquery over Django

2012-05-16 Thread Amr Abdel-wahab
And I am sorry for bothering you.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Problem with Jquery over Django

2012-05-16 Thread Amr Abdel-wahab
Ok to solve that thing quickly for now I just copied the whole JS file into
my HTML, another problem we're facing here is that I get the name of the
file dynamically  like the following

swfobject.embedSWF("{{lecture.lectureFile}}", "myAlternativeContent",
"800", "600", "9.0.0", false, flashvars, params, attributes);

so now the file isn't working, although in the page source it shows the
same URL of the file in the media root.

I know I am very bothering cause I am soo new to Django but I really have
to finish this part.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Static files management

2012-05-22 Thread Amr Abdel-wahab
I need the exact steps to have this thing working right because I tried
alot and its nt working

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Slideshare API

2012-05-22 Thread Amr Abdel-wahab
Anyone here ever dealt with slideshare API in a django project and know how
exactly to use it

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Django free deployement help

2012-10-30 Thread Amr Abdel-wahab
I have good experience with django developement but over local machines, I 
have never built a project so can someone recommend me a free service to 
deploy an experimental project on it along with easy tutorial to handle 
that.

Many Thanks,
Amr Abdelwahab

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/XhTV_YQmLuAJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.