Hi,
Great extension. Thank you for providing this, it is very helpful.
Here is a small contribution to the project:
in the project detail view, I'd suggest to add 3 simple lines of code to add the current project to the breadcrumb:
/components/com_ctransifex/views/project/view.html.php
[code type=php]class ctransifexViewProject extends JViewLegacy {
public function display() {
$this->item = $this->get('Item');
/* CUSTOM CHANGE BEGIN */
$app = JFactory::getApplication();
$pathway = $app->getPathway();
$pathway->addItem($this->item->title);
/* CUSTOM CHANGE END */
$this->languages = $this->get('Languages');
$document = JFactory::getDocument();
$document->setTitle($document->getTitle() . ' ' . JText::sprintf('COM_CTRANSIFEX_TRANSLATIONS_FOR_PROJECT',$this->item->title));
parent::display();
}
}[/code]
I also wrote a small router.php file (attached) to transforms urls
?view=project&id=xx
=> /project-alias/
?task=download.download&language=xx
=> /project-alias/download/xx-XX
- Page :
- 1
There are no replies made for this post yet.
However, you are not allowed to reply to this post.
However, you are not allowed to reply to this post.
Last questions
(Category s/b CMigrator, but didn't see it on the list)
I'm interested in usi...
0 Replies
Posted on Monday, 28 April 2025
Hi there,
I'm looking for a way to dowload all the Hotspots entries. I've got t...
0 Replies
Posted on Sunday, 06 April 2025
- #kml
- #download
Hi,
I'm working with Hotspots for my new website and I love it! After trying ...
0 Replies
Posted on Monday, 31 March 2025
Hi guys,
Just started to update my old J3x website. Is there J5 compatibility p...
1 Replies
Posted on Monday, 24 February 2025
- #Hotspots
- #hotspots Joomla 5
Hello. How can I increase the font size in the comment input field?
For examp...
0 Replies
Posted on Wednesday, 26 February 2025
- #CComment 6