PDA

View Full Version : No code editing?



RustaLenin
03-16-2013, 02:33 PM
Hello.

I was needed to add share button from social network in my country (Russia)

I have the code of this button, and i try to edit file

single-social-gallery-image.php

And paste the code into socialGalleryItemShareRows, into stTopRow, and instead of old buttons, Tumbler for exaple.

After i edit the code and re-install the SG - there was no changes

What i did wrong? What i must to do, to add my code to the SG plugin?

P.S.

You plugin have very low choice of social network sharing buttons.
Here - http://share.pluso.ru/
The largest collection of social share buttons and easy function to add this buttons to any page or plugin or etc.
Maybe, it will be usefull for you

evelryu
03-16-2013, 03:10 PM
You probably edited the gallery page file.

RustaLenin
03-16-2013, 04:35 PM
You probably edited the gallery page file.

Nope. Area with share buttons and comments creating from the template.

I find only one template php file from which the data comes - how to display buttons, comments, etc.

This is - single-social-gallery-image.php

But like i say, after editing this file - there was no changes.

cybohmoob
03-16-2013, 08:28 PM
Nope. Area with share buttons and comments creating from the template.

I find only one template php file from which the data comes - how to display buttons, comments, etc.

This is - single-social-gallery-image.php

But like i say, after editing this file - there was no changes.

I tried editing the main core files and yes it does change.

However be aware that you might need to turn off cache on your wordpress or plugins. Changes will only be noticeable if developer mode is on.
I had to turn my Godaddy Speed cache off to see my changes.

RustaLenin
03-17-2013, 07:06 AM
I tried editing the main core files and yes it does change.

However be aware that you might need to turn off cache on your wordpress or plugins. Changes will only be noticeable if developer mode is on.
I had to turn my Godaddy Speed cache off to see my changes.

Ok. I turn off my cashe plugin. Make editing - no changes.
Them i deactivate SG, delete SG, and them install the social gallery with out this file (single-social-gallery-image.php)

No changes, again.

Seems what template is ordering from some other file and i don't know from what file.

I find some templating in file /js/socialGalleryPlugin.js
But after editing this file the system stops working

matthew
03-17-2013, 05:02 PM
Hi RustaLenin,

Unfortunately we cannot support code customisations to the plugin. If you would like to raise a 'feature request' please visit the feature request page:
http://forum.socialgalleryplugin.com/forumdisplay.php/8-Social-Gallery-Feature-Requests

Thanks,

Matthew

RustaLenin
03-17-2013, 05:27 PM
Thats bad.
Any way - thanks.

cybohmoob
03-17-2013, 09:10 PM
Thats bad.
Any way - thanks.

Yeah I'm having a hard time adding more shares also. Let me see what I can come up with.

matthew
03-18-2013, 12:18 AM
Please feel free to raise a feature request to add more shares. You can submit a feature request here:

http://forum.socialgalleryplugin.com/forumdisplay.php/8-Social-Gallery-Feature-Requests

Thanks,

Matthew