|
Do I have to load my language file in the plugin?
Currently, I have the following:
$title[]=JText::_('SEF_SLUG')
In my component language file, i have
SEF_SLUG="accommodation"
but my urls show up as site.com/sef_slug
|
custom plugin langua ...
|
Posted 11 years, 12 months ago
by patterncatcher
|
|
Perfect! Just what I needed, thanks!!
|
custom plugin langua ...
|
Posted 11 years, 12 months ago
by patterncatcher
|
|
Hello,
I have created a custom component and a plugin for joomfish and all is well, but I would like to be able to add a translatable string to the $title array, in other words:
i have a url /accommodation/property-1.html.
I need to be able to translate the string "accommodation".
I have coded plugins for sh404 before, and to do this I would use these variable:
$sh_LANG['en']['ACCOMMODATION']="accommodation";
$sh_LANG['es']['ACCOMMODATION']="alojamiento";
Is there an equivalent in joomsef?
May thanks
|
custom plugin langua ...
|
Posted 11 years, 12 months ago
by patterncatcher
|
|
Fantastic, works like a charm, thankyou.
|
custom component dev ...
|
Posted 12 years, 7 months ago
by patterncatcher
|
|
Hello,
I have developed a custom component in joomla 2.5.6, and am creating a joomsef extension for it.
I have got it working nicely, but I would like to know how to prevent sef urls for particular tasks/views.
For example, I have an area only accessible by logged in users, where they can add data and submit forms.
I do not wish these areas to have sef urls.
I have developed plugins for sh404sef where I just set $dosef= false for the views/tasks I do not wish sef urls, how would
I do this with joomsef?
Thanks
|
custom component dev ...
|
Posted 12 years, 8 months ago
by patterncatcher
|
More |