Quantcast
Channel: Help & support - Grawlix Forum
Viewing all articles
Browse latest Browse all 251

Sharing is not working

$
0
0

So, I posted a while ago about a bug I was having where my archive linked to broken pages. I ended up finding a hacky fix to it but today I relised the same problem exists with sharing.

First, when I tried to shared the url being shared was

http://thorsthundershack.comhttp://thorsthundershack.com/comic/107

I went through a lot of code and ended up finding this in GrawlixPage.php

$this->services['share']['url'] = $this->content['permalink']; $this->prependDomainName($this->services['share']['url']);

If I comment out the second line then at least the url stops doubling. But it becomes this.

http://thorsthundershack.com/comic/107

This is the problem I had with the archives, permalinks that end with /comic/x don't work, they go to the right page but the image won't load. With the archives I was just able to fix the link there so that it constructs a URL based on the page number using the /comic?sort=x format, but here I don't have access to that and I can't work out how to get to that. Where should I be looking to find where permalinks are generated so I can fix it there if it can actually be fixed from there?

Oh and also, can

$this->prependDomainName($this->services['share']['url']);

be removed without causing any issues? Because that seems to solve half of my problem.


Viewing all articles
Browse latest Browse all 251

Trending Articles