Page 1 of 1
Company Directory Module
Posted: Wed Aug 12, 2009 4:59 pm
by ziad
HI All,
In the company directory module,the ' frontendformtemplate="" ' parameter doesn't work. Even after i specify the name of the template i want to use. i want to allow users to add a new record from the frontend side.
any ideas why?
Thanks!

Re: Company Directory Module
Posted: Wed Aug 12, 2009 5:59 pm
by jmcgin51
what do you mean when you say it "doesn't work". What happens?
what if you don't specify a template? Does it work then?
i.e. {CompanyDirectory action="fe_edit" companyid="3"}
Re: Company Directory Module
Posted: Wed Aug 12, 2009 6:05 pm
by ziad
ok maybe im not very clear
what does the frontendformtemplate="" in the company directory module allow us to do?
i am adding it inside the smarty tags and it doesnt do anything or change anything in the front end even after i specify the name of the template.
I also noticed a newer version of the module (1.3). can someone please tell me what the difference is?
Re: Company Directory Module
Posted: Wed Aug 12, 2009 7:11 pm
by jmcgin51
as noted in the module Help:
(optional) frontendformtemplate="" - Specify a template (by name) to use when displaying the frontend company edit form.
So when you're creating a page where a user can modify company information from the front-end (i.e. logged in as an FEU), this is where you specify the template to use to display the edit form. Like this:
{CompanyDirectory action="fe_edit" frontendtemplate="myeditform" companyid="3"}
If you don't specify one, it uses the default.
Re: Company Directory Module
Posted: Wed Aug 12, 2009 7:16 pm
by ziad
Is there a way to add new companies from the front end?
how do i do so?
Thanks!