1
jcweb
publisher module addfile in frontend not work
  • 2011/11/4 13:10

  • jcweb

  • Quite a regular

  • Posts: 253

  • Since: 2005/4/25


Hi all
I have a problem with the module. I import articles from smartsection to publisher v1.0. This seems all ok. If i click on the front of the addfile icon comes "You dont have permission....", the permission set well and i´m the admin with all rights (in the publisher module too). Can someone confirm that this function not work?

Can it be that the command is missing in the code below?

$uploadLink "PUBLISHER_URL "/file.php?itemid=" $this->itemid() . "'>PUBLISHER_URL "/images/icon/file.gif' title='" _CO_PUBLISHER_ADD_FILE "' alt='" _CO_PUBLISHER_ADD_FILE "' />";


"/file.php ?->op<- itemid=

I really need a fix for that problem.

Greets Andy

2
jcweb
Re: publisher module addfile in frontend not work
  • 2011/11/4 17:27

  • jcweb

  • Quite a regular

  • Posts: 253

  • Since: 2005/4/25


Hi all
Can you please take a look if the line should be?

$uploadLink "PUBLISHER_URL "/admin/file.php?op=mod&itemid=" $this->itemid() . "'>PUBLISHER_URL "/images/icon/file.gif' title='" _CO_PUBLISHER_ADD_FILE "' alt='" _CO_PUBLISHER_ADD_FILE "' />";


I change line 416 in class/item.php from

"/file.php?itemid="


to

"/admin/file.php?op=mod&itemid="


and this seems to work.

Greets Andy

Login

Who's Online

426 user(s) are online (276 user(s) are browsing Support Forums)


Members: 0


Guests: 426


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits