article link does't work in joomla 3.1 - joomla

down vote
i have problem with my article link on joomla 3.1 i'm using custom html module for the pic of link. i made 2 custom html. one in "home" and another one at another page. both of them using same link code ( index.php?option=com_content&view=article&layout=edit&id=id_article). problem, at "home" link doesn't work (still load "home" page, and in address bar mysite.com/index.php?option=com_content&Itemid=435&id=271&lang=en&layout=edit&view=article) and on other pages, the link work properly ( at address bar mysite.com/index.php?option=com_content&Itemid=494&id=271&lang=en&layout=edit&view=article)
note both of permalink using same code and same article id( index.php?option=com_content&view=article&layout=edit&id=id_article)
thank you for attention and for help...

Related

Joomla article structure

I was a newbie in Joomla and using the latest version to create my website. I want to create news page (list of article). I'm using module (external plugin) to listing all the article. But I'm not understand the structure to create the pages.
I got a menu like this:
Home
Latest News (link to single article with category 'Latest News')
This is my category:
Home
Latest News
News (every new article will be under this category)
Events
Then I display all the article inside Latest News page except the page I leave as blank because I using module to display the list. The URL will be like this mywebsitename/latest-news.
The problem is when I click one of the article to show full details of the article. The URL will be like mywebsitename/latest-news/11-home/latest-news/news/articleName. So how I need to do to structure the URL even my breadcrumb to be like this
mywebsitename / Latest News / News / article name
Even the module also display inside the article page. I only set this module under latest news page only. Can anyone help me. Thanks.
If you just began, restart your project. If you want to build up a site, first check whether there are any core functions for your usage or not. If it can be done through them, do it like that, as this is better for updating your site. (Maybe your plugin will not be supported later on...)
Then restart by building up your site:
Category - Article - Menu
Firstly, create the categories you wish. For example, you want the category "News" where you put news articles and a category "Events" where you put articles about your events.
Secondly create some articles for your category. You can use the "read-more" to preview your articles in your blog.
Last, create the menu. You can use a category blog and it's options to show your articles the way you want.

Magento translation and url key

I have a Magento website with some pages linked to main navigation.
For example, in my default view (Italian) I have www.example.com/italian-url-key
Then I created another page for English view with url www.example.com/english-url-key
So, when I am on the italian version of the page and try to switch to english version, this is the url that magento generate: http://www.example.com/italian-url-key/?___store=english&store=&___from_store=default and on click it gives me 404 page.
How can I fix it? I need that this 2 pages should be linked, also if url key is different.
Many thanks!
Out of the box Magento does not support URL Translation, both pages need the same URL key. Check instructions from the Magento Docs on how to translate CMS pages.
To translate a CMS page, you must create a new page that has the same
URL Key as the original, but assigned to the specific store view.
So you will either have to stick to one languages for your URLs or develop/acquire a module to do this for you. The magento-language-roots or CMSRewrites modules both look like they will achieve this for you.
You may also want to consider adding Hreflang tags to your head.phtml as you have a multi-lingual site.

Joomla 1.5 enable news on main page

Good Afternoon. I've got a Joomla 1.5 + VirtueMart shop. There were "Top Sale" product on the main page. I've disabled this module, but I don't know how to enable news showing on the main page.
I've already flagged materials to show it on the main page) and tried to change template to default.
thx
UPD: I need to have a pagenav every 10 articles
The news is a module ,
then Go to module manager set the proper position and menu assignment section set Home page.
If you are added new position then edit the template file and add your new position there too.
like <jdoc:include type="modules" name="your_custom_position" />
This much is required to display a module on a proper page make sure module is published.
hope its helps..

Joomla! what is the link to the new page I just created?

I have been tasked with updating a Joomla site. I have been working with existing pages for a while, but now I had to create a new page.
I just created a new page using Joomla. But I can't find what the URL to that page is. Also, the pretty urls are enabled. But I don't know how to create a pretty url for the page I just created.
I even tried adding the id to /index.php?Itemid= in the url and doesn't work.
Seems like something like this would be self-explanatory, but I have been looking around in the options and the menus and googling for the answer and I can't find it anywhere.
As far as I know, you need to attach an article to a category to view it.
You can assign the article to a category. After that open an article from that category and replace the text after the last "/" in url with the alias of your article.
You can also assign the article to a category that is linked to a menu item. that way you will be able to see the article link in the menu.
You may later remove the article from the category.

Joomla: homepage url

Joomla requires that home page was linked with some component.
So, if i link menu item of homepage to some article, i get a url like:
"index.php?option=com_content&view=article&id=68&Itemid=464" on frontend.
How to link homepage to "/" ?
UPD:
Joomla verion 1.7
Maybe, i not accurately explained.
I link home menu item with some article.
When i go to www.mysite.com - all fine, choosen article is shown on homepage.
But then the home menu item on frontend became "index.php?option=com_content&view=article&id=68&Itemid=464", not just '/'
You must use the default Joomla format for setting something as the "home" page. in 2.5 (since you failed to tell us which version you're running) you do this by using 'featured articles'. By default, any featured article is displayed on the homepage.
In older versions (1.5) you must mark it to display on the 'front page'
In doing that when you go to http://www.yoursite.com/ - you will see the articles listed as 'featured' or 'front page' articles. You can adjust how they display by using the front page or featured article manager.
I apologize if I've misunderstood your question - but hope this helps. It also looks like you don't have SEF URL's turned on - you may want to look into that. Regardless your front page will display without any additional URL stuff if you use the methods outlined above.
In your menu manager (backend), create a new entry for 1 article and select it in the list. After that, just define this new menu entry as default (or homepage).
This article will be the default homepage of your website and will be accessible via www.yoursite.com/

Resources