Jump to content

Archived

This topic is now archived and is closed to further replies.

Keith Vaugh

adding js and css scripts

Recommended Posts

Keith Vaugh+    14
Keith Vaugh

I have been searching for a very simple and basic social counter for my site and have come across something that is close to what I am after. 

 

It is produced by a third party however what I am hoping some of the gurus here will tell me is how to incorporate into Framework.

 

Specifically I need to understand how to add the .js and .css file to the page (it says the CSS in the head and the js at the end of the body).

 

Can these be added in the custom code section? 

 

Where in the Pagelines theme directory would I place the files?

 

Link to the counter - http://filamentgroup.com/lab/socialcount/

 

Maybe I'm getting a little to adventurous here

 

Thanks in advance.

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

In the comments of the article is a link to another third party product that does the same thing without having to add JS. Further reading showed there is a Wordpress plugin that provides this  http://wordpress.org/plugins/wpsocialite/ 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
Keith Vaugh+    14
Keith Vaugh

Thanks for that Martin, will check it out the plugin. But what I am after is the styling of the .js solution. There is a plugin for DMS (ultimate social) that would be perfect but its not compatible with Framework (according to the author). I need a very simple solution that is aesthetically pleasing 

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

The instructions on that site are quite straightforward. All you need to do is download the js files, then upload them to your site via ftp. Then link them in your custom scripts panel.

Add the custom CSS to the Custom CSS/LESS editor and then add the HTML to where you want the counters to appear.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Keith Vaugh+    14
Keith Vaugh

Thanks Danny

 

It was the linking of the scrips that I wasn't sure of. I manage to distill it from note. 

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

No problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×