Alternative layouts problem - Joomla! Forum - community, help and support


brief description of problem:

alternative layouts contact form called correctly using menus.
the same forms not called when using links article (or module).

the details:

i creating differently looking contact forms different purposes. example, have "contact tech support" form , "contact sales" form.
i implement these forms based on alternative layout techniques. here directory structure contains files need:

templates
------ beez20
-------------com_contact
...
--------------------contact

-------------------------sales.php //layout sales
-------------------------sales_form.php //sub-layout sales
-------------------------sales.xml //definition of layout sales

-------------------------techsupport.php //layout techsupport
-------------------------techsupport_form.php //sublayout techsupport
-------------------------techsupport.xml //definition of layout techsupport

after files above created create menu "contact us" , 2 menu items under it: "tech support department" , "sales department".
for defining menu items there 2 new "menu types" defined them in sales.xml , techsupport.xml:
contact tech support (beez_20)
contact sales (beez 20)
described above sufficient calling tech support contact form , sales contact form using menu.

but here problem.

now trying call same contact forms using links. create article contan links forms.
this article associated menu "contact us" (using menu type "single article".

those menu itmes described above have "link" field containing values:

index.php?option=com_contact&view=contact&layout=beez_20:techsupport&id=1 //link value tech support department menu item
index.php?option=com_contact&view=contact&layout=beez_20:sales&id=2 //link value sales department menu item

so copied links , inserted values article, when click them frontend none of alternative contact form called.

instead default contact form core com_contact called.

as bonus:) tried add itemid link value itemid refers id of appropriate menu item.
now links in article use these values:

index.php?option=com_contact&view=contact&layout=beez_20:techsupport&id=1&itemid=106 //for tech support department
index.php?option=com_contact&view=contact&layout=beez_20:sales&id=2&itemid=104 //for sales department menu item

that did not help.

any hint going wrong?

if curious , see how behaves , inside please reach simple sample site @ http://www.riaforce.com/joomla258_a
to access backend (administrator) use lame admin/admin.

thank you.
serge.

first of never make login details sites administration available in public forum. asking trouble. have logged sites backend , changed password username "admin" prevent else logging in , doing please site. need change password , should change username 'admin' well.

as linking, suggest install jce editor better default editor. 1 of it's options allows link directly menu items easily.

http://extensions.joomla.org/extensions ... editors/88

mark





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support