Elxis CMS Forum

Support => General => Topic started by: etc on December 21, 2008, 06:33:08

Title: Link to Contacts component always listed as "contact"
Post by: etc on December 21, 2008, 06:33:08
No matter what I put as the name of the link, the link to the Contacts component always shows up as contact.  Worse yet - it seems the option asking it not to display the title does not work, and it displays the title anyways once you click on it.

Any suggestions?  Thanks in advance for your assistance.
Title: Re: Link to Contacts component always listed as "contact"
Post by: Farhad Sakhaei on December 21, 2008, 09:13:06
Did you patch 2008.1 rev2245 ?
Title: Re: Link to Contacts component always listed as "contact"
Post by: etc on December 22, 2008, 01:11:22
Yes sir, I have the newest version, and still no luck :(
Title: Re: Link to Contacts component always listed as "contact"
Post by: ks-net on December 22, 2008, 04:40:46
it is lang-file relative matter
Title: Re: Link to Contacts component always listed as "contact"
Post by: etc on December 22, 2008, 06:07:29
I'm fairly adept at PHP, so I don't mind getting in the nitti-gritti...but could you point me in the right direction?

Is it at the parser level?  Or is the language file itself structured incorrectly?

Thanks!
Title: Re: Link to Contacts component always listed as "contact"
Post by: ks-net on December 22, 2008, 15:13:13
some modules and components have a smart(some times annoying for new users) lang strings auto-selection 

eg. latest-news module or popular-articles even the main menu..

same happens with contact..

when it is published for all lang they use only  the current-selected  lang-file ttranslation and ignore
all title-options..
if you  publish one module  for each lang you can bypass this auto translation and the title option works..

in contact form happens exactly the same....

all you need is to publish one contact per used-lang and give any title
or use one form but publish it not to all-lang(euroflag)  but check all one-by-one lang you have(4-5-6... flags)

it was easy?
Title: Re: Link to Contacts component always listed as "contact"
Post by: etc on December 22, 2008, 18:54:04
some modules and components have a smart(some times annoying for new users) lang strings auto-selection 

eg. latest-news module or popular-articles even the main menu..

same happens with contact..

when it is published for all lang they use only  the current-selected  lang-file ttranslation and ignore
all title-options..
if you  publish one module  for each lang you can bypass this auto translation and the title option works..

in contact form happens exactly the same....

all you need is to publish one contact per used-lang and give any title
or use one form but publish it not to all-lang(euroflag)  but check all one-by-one lang you have(4-5-6... flags)

it was easy?

Thank you! Thank you! Thank you!

It was easy, and it makes complete sense now.
Title: Re: Link to Contacts component always listed as "contact"
Post by: ks-net on May 25, 2009, 14:00:12
post convert to wiki article:

http://wiki.elxis.org/wiki/Module_Custom_Title
http://wiki.elxis.org/wiki/Troubleshooting#Module_or_Components_Title_not_changing