I took a look at that site. It's informative. I just don't see
anything about flagpages.  I saw how to map a url to a view meaning
server-sided code.

currently I need 3 things to show up. 2 forms and  content from
flagpages to display.  I also need to use if statements to display
those 2 forms on the right pages/url etc.

I already played around with the IF statements I need to use ifequal
statement for 2 pages So something like  If title="home" or
title="sales"  then display the request form.

The problem is that I tried it and I get errors saying that I have 2
or more arguments.

Do you think I can do a  if equal statement with a elseifequal
statement?

The documentation and the site you gave I can't find the if statements
well I can on the django site documentation but in the examples it
shows ifequal only using one argument.

I want a if statement that has one condition but can show the form
only if one of the 2 is true. So  if the client is at the home page
then display the form.

If the client is on the sales page then display the form Otherwise
don't display the form.

I do think I have the if statements right.  I used a if statement on
loading a image only on one page and It works.

It's just the forms.

Does the forms need any special way to be dealt with?


I need to know how to load in the flatpages .html files  which I was
told are extensions to the website. We have a base.html  and a
root.html

those are the guts of the page layout. We have those flagpages  that
only has text.  We had to form html code in the base.html  file.

so currently the text that is supposed to be loaded in from those
flagpages are not loading at all. I see none.

We do have  admin area where the pervious programmer I guess made a
flagpages area. Where we add the url, title, content.


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

Reply via email to