Joomla link to category list - php

Hi all, I have encountered a problem with Joomla.
There is a custom html module with link inside. Link goes to menu item, which is category list. As soon as I understand, I have to copy the following code from the link attribute of the menu item and paste it inside href.
index.php?option=com_content&view=category&id=12
But it doesn't work this way. The 404 Error Page appears.
How to make this link work properly?
Thank you.

Create a menu item linking to the category list, then when you preview it in the frontend, right click the menu item and click "Copy Link Location".
Then paste the link within the href="" and remove the http://example.com bit so it starts with index.php?com_content......
The reason why I say this is because the url you are using must be incorrect.
Hope this helps.

Related

can not find content folder in prestrashop

I am new in prestrashop. I am working on http://www.how2brich.com
website. There is about menu. I have putted content of this menu through admin but i want to change some data inside the code.
the link is showing http://how2brich.com/content/4-about-us this.
I am not content folder and 4-about-us page for change code.
Any one plz help where to get about-us page content.
To change content of this page go to Preferences >> CMS and if you want to change the code go to "/themes/yourthemename/cms.tpl" but keep in mind it will change all CMS pages code so add a condition(like if , else) to add specific code for this page.
To get content editor "about-us" page please enter Back-Office. Then Preferences->CMS. And then please click on button "edit" on the "about-us" line.
If you need to change the code (template) of the cms pages please find the template on the path "themes/your_theme/cms.tpl"

WordPress : Cant change link for navigation item

I'm customizing a WordPress theme so problem is that I've to change a link. its in Arabic for example instead of this i want to make it like this but problem is that i don't find link for the item see attached image
now how do i change its link please help.for some of the other links i can change but not this one
You can't change it because it is a page. You can remove it if you don't want it in the menu, and add another page instead or you can add a custom link, for which you can specify the Navigation label and the url.

Dynamic link to page in Wordpress

So I'm attempting to create a dynamic WordPress link that displays within a post which would change according to the subject page that displays that post.
The link is displayed in a Bootstrap breadcrumb list. I'm using the WordPress "Content View" plugin to gather all posts of a given category ex. "Public Space", and display them on a specific "Public Space" page I've created within WordPress.
The dynamic link currently in use displays the proper title of the category of post being viewed, "Public Space", but it links back to the specific category page instead of my "Public Space" page that uses the proper formatting I need through the "Content View" plugin.
Is there any way to accomplish this without creating individual .php page files for each subject?
Any help would be greatly appreciated!
Here's my code for the breadcrumb:
<?php the_category('title_li='); ?>
Link to the website post with the dynamic breadcrumbs:
http://parkerrichard.com/wordpress/public-space/judgement/
Link to the page the "Public Space" breadcrumb should dynamically link to (and change depending on the post category):
http://parkerrichard.com/wordpress/public-space
Thanks,
Parker
Sorry, I didn't read your post fully. Your problem is you're using a plugin to do templating work, when you could edit the "category.php" page to look like you want.
But if you have to use the plugin, then try this:
Go to Settings > Permalinks in your admin menu.
Then set your permalink structure to custom, and put this in the box:
%category%/%postname%
Then underneath that in your category permalink name field, put a single period - .
Now your category permalinks will have: http://yoursite.com/wordpress/category-name/ instead of yoursite.com/wordpress/category/category-name/
They should link up to the right place now.

Joomla K2 change read more link in a duplicated module

i am working with Joomla 2.5 and K2, in a template i bought.
1st.
i got a an accordion module that display several items into the main page, when i click on any of its elements it redirects me to: http://uxmalrecordscom.ipower.com/index.php/component/k2/item/452-the-dream-master which is correct. (.../index.php/component/k2/item/...)
2nd.
I set this same module to appear into another page called Discography, and when i click in any of the accordion elements it sends me to: http://uxmalrecordscom.ipower.com/index.php/discography/item/452-the-dream-master this URL is different than the first one and is causing me issues to display the content of the Item. (.../index.php/discography/item/...)
My querstion is how can i change the URL for the second case the "Read more" links to avoid display the content of the item in the same page or main menu seccion? or how to make the 2nd to have this kind of URL (.../index.php/component/k2/item/...) instad of (.../index.php/discography/item/...)
Note: Its the same module used on 2 different pages.
Thanks!
The way to solve this is to create a new Main Menu item called "Digital" then select as menu type = "K2 categories" and select the "Digital" category, this will cause all the K2 items listed under "Digital" displays on a different URL so now the url is (.../index.php/digital/item/...) instad of (.../index.php/discography/item/...) and is working awesome!
Hope this can help someone, this solved the problem to me.

how can i create the menu that will open only the article in joomla?

I have created the articles and menu items that links to that articles. This all works.
But now what I want is, when I click on the menu, it should open up only article (without any template feature, no header , no footer and not even the menu).I am opening the article in a new window. From googling what I found is if I add &tmpl=component to the url it will just load the component, and that will show just the article. But I am not sure how to add this parameter from admin screen to the menu items. The link which is showed in admin screen is not editable!!!. Or should I have to develop a custom menu module to achieve this!!!?
Thanks for help.
Tanmay
Create a new menu item - External Link and then paste the full URL into the box.
http://www.jeepstone.co.uk/2009/03/06/open-content-in-a-modal-pop-up-in-joomla/

Categories