mobi/.git
12 years agoUsing list decorator in set language form.
Gustavo Martin Morcuende [Sat, 19 May 2012 19:29:00 +0000 (21:29 +0200)]
Using list decorator in set language form.

For ads index.
TODO: my own decorator.

12 years agoFixing link error in create office link.
Gustavo Martin Morcuende [Sat, 19 May 2012 19:09:32 +0000 (21:09 +0200)]
Fixing link error in create office link.

The current page was not correct.

12 years agoLink Office to Ads.
Gustavo Martin Morcuende [Sat, 19 May 2012 19:03:21 +0000 (21:03 +0200)]
Link Office to Ads.

I hate Symfony and PHP.

12 years agoShowing the real user name on layout.
Gustavo Martin Morcuende [Fri, 18 May 2012 05:16:54 +0000 (07:16 +0200)]
Showing the real user name on layout.

In the right corner beside logout link.

12 years agoCreate associations between offices and ads
Gustavo Martin Morcuende [Thu, 17 May 2012 01:57:43 +0000 (03:57 +0200)]
Create associations between offices and ads

Using double list and the plguin sfFormExtraPlugin

12 years agoCompanyCategory and Ad table name field
Gustavo Martin Morcuende [Wed, 16 May 2012 22:43:33 +0000 (00:43 +0200)]
CompanyCategory and Ad table name field

We can retrieve the name field of these tables using the toString method.
They are smart enough and try to return the name field depending on the
user's language or rolling back to the default language.
Otherwise it returns a nice error message.

12 years agoLanguage Company Category fields.
Gustavo Martin Morcuende [Wed, 16 May 2012 01:54:22 +0000 (03:54 +0200)]
Language Company Category fields.

Using the user's language to show the name of the company category fields
related to one ad.

12 years agoAds edition and creation with internationalization
Gustavo Martin Morcuende [Tue, 15 May 2012 23:31:47 +0000 (01:31 +0200)]
Ads edition and creation with internationalization

Nested forms in order to create or edit ads
(relation 1 to N between data base tables)
I hate internationalization...

12 years agoChosen language and ads list web page.
Gustavo Martin Morcuende [Tue, 15 May 2012 17:36:37 +0000 (19:36 +0200)]
Chosen language and ads list web page.

Use the chosen language when making click on the
pager links. The current language must keep being the chosen one by
the user.

12 years agoFirst steps with Ads. Index web page.
Gustavo Martin Morcuende [Tue, 15 May 2012 17:14:19 +0000 (19:14 +0200)]
First steps with Ads. Index web page.

Index web page with internationalization.
We can change the shown language without JavaScript.

12 years agoMinor change: my name in the class comments
Gustavo Martin Morcuende [Tue, 15 May 2012 17:09:12 +0000 (19:09 +0200)]
Minor change: my name in the class comments

Class: lib/model/doctrine/Language.class.php

12 years agoCombobox to show the available languages.
Gustavo Martin Morcuende [Tue, 15 May 2012 17:08:14 +0000 (19:08 +0200)]
Combobox to show the available languages.

12 years agoUsing the right tags in the HTML code.
Gustavo Martin Morcuende [Tue, 15 May 2012 14:17:35 +0000 (16:17 +0200)]
Using the right tags in the HTML code.

In custom office form, edit and new html office pages.

12 years agoRemove useless variable. Action: index office.
Gustavo Martin Morcuende [Tue, 15 May 2012 14:13:03 +0000 (16:13 +0200)]
Remove useless variable. Action: index office.

In the PHP code for the index action in the office module
(for company users) there was a useless variable which was not
needed.

12 years agoRemove useless validator from OfficeForm
Gustavo Martin Morcuende [Tue, 15 May 2012 14:11:41 +0000 (16:11 +0200)]
Remove useless validator from OfficeForm

12 years agoEvery user must have her/his language.
Gustavo Martin Morcuende [Tue, 15 May 2012 14:04:31 +0000 (16:04 +0200)]
Every user must have her/his language.

When creating a new account the user must choose her/his language.
It is used to show the data from the database in the correct language
which was chosen by the user.

12 years agoCreate, edit, remove office.
Gustavo Martin Morcuende [Mon, 14 May 2012 00:04:11 +0000 (02:04 +0200)]
Create, edit, remove office.

Right now very simple, wihtout using javascript.
In the future many improvements if I use javascript.

12 years agoCookies for login page.
Gustavo Martin Morcuende [Sun, 13 May 2012 19:23:43 +0000 (21:23 +0200)]
Cookies for login page.

Just is left the domain.
It does not work with localhost, hopefully it will with the production's domain.

12 years agoFirst module: office
Gustavo Martin Morcuende [Sun, 13 May 2012 16:51:11 +0000 (18:51 +0200)]
First module: office

Getting ready: layout, i18n
I have to write a new form for this module which will let us create
a new office. Right now without javascript, but if I want it to seem
"professional" I will have to finish using javascript...

12 years agoLayout for login page.
Gustavo Martin Morcuende [Sun, 13 May 2012 02:15:25 +0000 (04:15 +0200)]
Layout for login page.

I am using sfDoctrineGuardPlugin with a custom layout.

12 years agoRemove directories.
Gustavo Martin Morcuende [Sun, 13 May 2012 02:06:47 +0000 (04:06 +0200)]
Remove directories.

cache and log directories must not be tracked.

12 years agoFirst big commit.
Gustavo Martin Morcuende [Sat, 12 May 2012 22:24:48 +0000 (00:24 +0200)]
First big commit.

MobiAds. Hopefully this is the final one.

Cross fingers and toes.