×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Column: ContentItem

Column: ContentItem 15 years 6 months ago #1251

  • zorzi
  • zorzi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hy to all :)
Sorry for my terrible english ;)

In Administration area, List of joomlacomment Comments, there is "ContentItem", but when I click article title it give me:

socquot.xprit.eu/index.php?option=com_co...1&comment_id=1#josc1
404 - Articolo #1 non trovato :(

But the real link is:
socquot.xprit.eu/index.php?option=com_co...t&view=article&id=36

It seems _GET param is incorrect
.. WHYYY
.. PECCHE' (italian slang)

Column: ContentItem 15 years 6 months ago #1255

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hm, the id of the article item is wrong. We must investigate that.
Thank you!

Column: ContentItem 15 years 6 months ago #1259

  • zorzi
  • zorzi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Are you interested in my MySQL date?
I can give you an export of my: categories, section, content and all your table ...

:)

Column: ContentItem 15 years 4 months ago #1952

  • carlos
  • carlos's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hi Guys,

I have a same problem that Zorzi.

In Administration area, List of joomlacomment Comments, there is "ContentItem", but when I click article title it give me: HTTP 404

I saw that the links are differents:

In e-mail that I receive:

--http://www.mywebsite.com/index.php?option=com_content&view=article&id=624&joscclean=1&comment_id=7#josc7

In administration area:

--http://www.mywebsite.com/index.php?option=com_content&view=article&id=7&joscclean=1&comment_id=7#josc7

Where can I change php code? In the Utils.php?

Thanks,

Column: ContentItem 15 years 4 months ago #1953

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Carlos which one is working?

Column: ContentItem 15 years 4 months ago #1956

  • carlos
  • carlos's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Look:

In e-mail that I receive:

--http://www.mywebsite.com/index.php?option=com_content&view=article&id=624&joscclean=1&comment_id=7#josc7

In administration area:

--http://www.mywebsite.com/index.php?option=com_content&view=article&id=7&joscclean=1&comment_id=7#josc7

The id to article is 624, but in Administration Area, the link is 7

which the solution?

Thanks

Column: ContentItem 15 years 4 months ago #1957

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Open administrator/components/com_content/plugin/com_content/jos.comment_class.php
around line 192 find:
$url	= JRoute::_(ContentHelperRoute::getArticleRoute( ($this->_route_slug ?  $this->_route_slug :  $contentId ) , $this->_route_catid, $this->_route_sectionid)
								. $add);
to
$url	= JRoute::_(ContentHelperRoute::getArticleRoute( ($this->_route_slug ? $contentId : $this->_route_slug ) , $this->_route_catid, $this->_route_sectionid)

Please test it and tell me if it works.

Column: ContentItem 15 years 4 months ago #1961

  • carlos
  • carlos's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Daniel,

It worked. Thank you very much. You are very good. Congratulations.

But, the way is:

Open administrator/components/com_comment/plugin/com_content/jos.content_class.php

bye,

Thanks

Column: ContentItem 15 years 4 months ago #1963

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
oh, yep you are right!
administrator/components/com_comment/plugin/com_content/jos.content_class.php

I didn't test it, so if something is not working, please contact us!

Column: ContentItem 15 years 3 months ago #2248

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Carlos,
Working on 4.0 I just found that changing the function leaves the latest comment module with wrong urls. Can you please test this and confirm the issue?
  • Page:
  • 1
Time to create page: 0.145 seconds