"same article alias" error in joomla when editing translated (joomfish) article in the frontend - joomla

joomla version 2.5.8
joomfish version 2.5.0
I have created an article and translated it with joomfish.
I login with the user that created that article and i'm trying to edit it.
In english(basic language) i can edit it successfully.
In greek(translation) i get an error "another article in the category exists with the same alias" when i try to edit the article.
Even when i put the translation in another category i am able to edit it once, and the new version is saved again into the category of the original article!!!so i can't edit it for a second time...
I could find nothing in forums and google generally...
Do i have to switch to the core-joomla-multilingual-system and uninstall joomfish? does it allow same alias in multiple articles?
Any other suggestions?

I had similar bug. This 'cause Joom!Fish 2.5 works another way then old versions. It keeps both articles (original and translated) in article manager, so articles anyway can't be stored with same aliases.
What I did: go to /libraries/joomfish/contentelement/contentelements/
You can see *.xml files stored here. Every of this files is corresponding for different elements. For example open content.xml and find this code:
<treatment>
<target>native</target>
<tableclass>Content</tableclass>
<publishedfield>state</publishedfield>
<translationObjectModel file="joomfish.translatable.translationobject.content">TranslationObjectContent</translationObjectModel>
<jformModel>ContentJForm</jformModel>
</treatment>
and remove this.
After you do this Joom!Fish stops duplicate contents, and you'll get many translations with same alias!
P.S.: You may need to remove duplicate articles in Article Manager.

Related

404 error after removing id from url in joomla

Hello i need some help to solve a problem.
I have a joomla site 3.3.3 version and i removed the id's from url according to this.[https://joomla.stackexchange.com/questions/988/remove-article-id-from-joomla-3-url][1]
Everything works ok.When i created an Articles-Newsflash (advanced) module and assign articles to it,by clicking the link title it give's me 404 error page.
When i go to the admin area and turn Sef Advanced Mode to no everything works!
I can't figure out what i'm missing.
Thank's in advance for any help!!
P.S.Its a multilingual site.
This happens when you have articles with the same aliases, even trashed articles. Check your trash for deleted articles and completely trash them.
By the way, we created an exhaustive guide, and it is available here: http://www.itoctopus.com/how-to-remove-the-article-id-from-joomlas-sef-urls
There is also a way, described in the guide, of doing this whole thing without modifying a core file.

joomla 3.3.6 404 article not found

A client has made a minor change to his joomla site, and now the whole site is displaying 404 article not found.
He said that he created an article, deleted it, and created a new article with the same name. That's it.
How can I resolve this problem without knowing which article is causing the problem?
What I would suggest you do is firstly delete the article properly. In the Article Manager, set the status to trashed which will display all deleted articles. Select the article your client removed and delete it properly.
Then, go to your Menu Manager, open the menu item that was associated with this article, and select it again, then save the menu item.
Should now work.
When you delete an article, it removes the association from the menu item, so even if you create another article with the same name, you still need to assign it to the menu item.
Hope this helps
It turns out that somehow the "uncategorized" category was deleted, while there were still articles published in that category. This caused the whole site to break.
I don't think it had anything to do with the actual article that my client had edited. That's just the only thing he remembered doing.
Lesson learned: do not delete categories with articles still in them. (Why can't joomla just not let you do that?)

Wrong URL used when accessing article through a module

I have an annoying problem and am hoping someone will be able to help.
We use quite a few extensions on our Joomla site (Roksprocket mainly but also Global News Filter for instance).
The modules themselves are working fine however when I click on an article in one of these modules the article opens but it doesn't use the nice URL that should be displayed (we have Search Engine Friendly URLs set to Yes and Use URL rewriting set to Yes). This happens for all modules that draw off a category (so I don't think its linked to a specific extension).
For instance on our Case Studies page if you click on Read More on the RSA Case Study you get this URL
http://www.assima.net/en/resources/case-studies/99-home/resources/case-studies/ats-case-studies/649-case-study-rsa
but what you should get is the menu item URL associated with this article which is this
http://www.assima.net/en/resources/case-studies/ats-case-studies/rsa
I don't think there is anything wrong with our .htaccess as I reverted back to the default Joomla one and it still occured.
Also this used to work perfectly. I first noticed it around October or November last year.
If anyone has any ideas I would really appreciate it, I've googled the problem many times and not found any help.
Thanks
Emma
FIXED.
Due to a Joomla bug. Fixed by overwriting the route.php file as described in this post: http://forum.joomla.org/viewtopic.php?f=625&t=831007&start=30

Where to find the tags used in theme short codes? As well as the general tags used in pyroCMS?

I was wondering where to find the tags to type to take advantage of shortcodes programmed in themes. Many themes have them, such as the one below. However I can never find the information required to make use of them in the read me's or on site documentation. Which makes using them impossible for me. Is there a specific html, css, or php file that is consistent to each theme and shows them?
Given the lack of write ups on what tags to use suggests that theme creators expect people to know which file to find them in.
https://www.pyrocms.com/uploads/default/store/listings/11-25-2012_9-41-20_PM.png
https://www.pyrocms.com/uploads/default/store/listings/11-25-2012_9-41-20_PM.png
On a more PyroCMS rather than theme specific note, is there a list of all tags and their uses? Such as {{ settings:site_name }}, or the page body tag. Every link I have found to a list says that the list has been moved.
Thank you for your time once again.
Open up your file directory and navigate to:
path/to/your/files/system/cms/plugins/theme.php
Each one you can use is listed here along with an example in the function description. Each plugin in this folder is lined out the same way (files, session, asset, etc). You should be able to view each one and play with how to incorporate them into your project.
Edit: Also, you can find more information here: http://docs.pyrocms.com/2.1/manual/plugins
Notice that this is specific to version 2.1. If you are not using 2.1, in the top navigation add click on documentation and then select your version.

Get preview link to article before publishing

In Joomla 1.5, I created an article. Before publishing it, I want to send a preview URL to my colleagues (they are not registered to Joomla).
I'm looking for something like adding task=preview to the URL and it would show the article.
It would be enough if the article would be normally published but would not be displayed on the main page in the latest news. I tried to set "Front Page" to "No" but without success.
How can I solve the problem?
Joomla! 1.5 doesn't have a feature like this and from the way it's built I'm not sure it's possible without modifying the core com_content files. You could try a search of the Joomla! Extension Directory to see if someone has implemented what you're after.
In the meantime if the article is turning up on the websites front page even when you've set it not to - then the front page must be using a Section/Category Blog page style rather than a Joomla Frontpage page. In this case you could find out which category is set to show on the menu item being used for the front page and then temporarily change your article to another that doesn't appear there.
Once you've got it in another Category you should be able to get a link to the article by doing a search from the front end (assuming you don't want to create a menu link).
try creating a new category called Preview and since that wouldn't have been assigned to any pages yet, it should not appear. If you have trouble finding the article then, you could temporarily publish it either on the home page or somewhere in the menu. Then when you have found and copied the url, you can remove the article from the home page or menu or wherever you temporarily have it appear.
If you should ever want several 'preview' articles appearing on one page, create a new menu item, assign it to the Preview category you made, and in System Parameters, click on Show Title: 'No' so it doesn't appear in the menu. I don't know about what shows up in Google for example so if it's sensitive data I can't say it won't show in search engines, it probably will.
It probably appears on the Front Page because as you say it's part of the 'latest news' module. You could also try removing it from the module feed, but a new category is what I'd do.
Paul
I just selected Section: "Uncategorised" and the article went out from the latest news. Hope it's not accessible any other way in the current setup (there is no search function hopefully). It's not a cleanest solution, but it seems to work.

Resources