Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

The problem with the link to the article
(1 viewing) (1) Guest
Go to bottomPage: 1234
TOPIC: The problem with the link to the article
#10917
Re:The problem with the link to the article 13 Years, 9 Months ago Karma: 0
Thanks, now everything works.

How can I display only the desired section and the desired category items Joomla

When such a request shows all categories and all the sections:

SELECT title, transport, way, cost, duration, sectionid, catid, id, alias
FROM jos_content

Thanks in advance
Last Edit: 2011/02/11 12:09 By install.
The administrator has disabled public write access.
 
#10918
Re:The problem with the link to the article 13 Years, 9 Months ago Karma: 760
If you want to show articles from category with ID = 17, use the next query:

Code:


SELECT 
  title, transport, way, cost, duration, sectionid, catid, id, alias
FROM 
  jos_content
WHERE
  catid = 17



If it is necessary to show articles from categories with ID = 21, 35, 47, use the following query:

Code:


SELECT 
  title, transport, way, cost, duration, sectionid, catid, id, alias
FROM 
  jos_content
WHERE
  catid IN (21,35,47)



Use the next query if it is needed to show articles from section with ID = 15:

Code:


SELECT 
  title, transport, way, cost, duration, sectionid, catid, id, alias
FROM 
  jos_content
WHERE
  sectionid = 15



Regards,
ARI Soft
The administrator has disabled public write access.
 
#10920
Re:The problem with the link to the article 13 Years, 9 Months ago Karma: 0
Thanks for the quick response
good day
The administrator has disabled public write access.
 
#10923
Re:The problem with the link to the article 13 Years, 9 Months ago Karma: 0
Link to the material works only when the module is published on the front page "<a href="index.php?option=com_content&view=article&id={$columns:id}"> {$ value} </ a>"

If the module is not at home and on another page, it gives a 404 error

I need to change?

Thanks in advance
The administrator has disabled public write access.
 
#10924
Re:The problem with the link to the article 13 Years, 9 Months ago Karma: 760
We suppose you use core Joomla! SEF so this problem occurs. Try to use the following format string:

Code:


<a href="/index.php?option=com_content&view=article&id={$columns:id}">{$value}</a>



Regards,
ARI Soft
The administrator has disabled public write access.
 
#10925
Re:The problem with the link to the article 13 Years, 9 Months ago Karma: 0
Thank you figured out actually in Joomla in the administrative section has been included if the SEO to turn it off but it has little sense of it all works and so
"<a href="index.php?option=com_content&view=article&id={$columns:id}"> {$ value.html} </ a>"
The administrator has disabled public write access.
 
Go to topPage: 1234