Submit Your Article Forum Rules

Results 1 to 9 of 9

Thread: Social network 'share this' button in HTML code?

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Posts
    10

    Social network 'share this' button in HTML code?

    Hi everyone,

    Forgive me if this is a silly question. I have a CMS that won't allow JavaScript. Is anyone aware of any HTML code that I might be able to add to my site that will allow visitors to share the page with social networking sites?

    The 'addthis' button is what I'm looking for, but it requires java script.

    If possible, I'd also like to be able to dictate the URL of the page that is shared or bookmarked (rather than the tool just picking up whatever page the user is on) because I have a variable URL that has been re-written to allow direct access from a specified URL for each page.

    I hope that makes sense.

    Thank you so much for your help.

    Kristy

  2. #2
    Junior Member
    Join Date
    Dec 2007
    Posts
    27

    Re: Social network 'share this' button in HTML code?

    What CMS are you using? Most of them allow you to enable javascript or often times you can just turn off your WYSIWYG editor (as it strips the javascrpit code).
    Gary

  3. #3
    Member
    Join Date
    Oct 2005
    Posts
    37

    Re: Social network 'share this' button in HTML code?

    Could you add the code to a seperate piece of HTML and then either "include" it or pull it in through an I-frame?

    Cheers,
    Niggles
    -------------------------------------------------
    World Music World - bringing the World's Folk Music Cultures Together
    http://www.worldmusicworld.com/
    -------------------------------------------------

  4. #4
    Junior Member
    Join Date
    Sep 2003
    Posts
    20

    Re: Social network 'share this' button in HTML code?

    How about using a flash button to do the job. Action script can do most of the easier things javascript can do as far as links go anyway. And the syntax is close enough you can figure it out in no time. It ought to work as long as there isn't a reason why you can't use flash. I've used Swish to build flash buttons before, and it's pretty straight forward.

  5. #5
    Junior Member tbond's Avatar
    Join Date
    Sep 2004
    Posts
    25

    Re: Social network 'share this' button in HTML code?

    I would look for a 'switch' or tab to press in your page editing display to change from "Visual" to "HTML" or "Code" -- something like that anyway.

    You can usually press that to see the actual page code, where you can paste-in or type your javascript, php, or other html elements into the final page code itself.

    If you don't have that ability, install Wordpress. If that's a possibility for you. A platform CMS that doesn't let you edit actual page code and / or use Javascript or PHP is significantly disadvantaged in today's complex environment.
    IdeaPro Online Marketing - SEO & Web Marketing, since 1996
    Anti-Inflammation Level1Diet.com - Diet & Health Research

  6. #6
    Senior Member ronchalice's Avatar
    Join Date
    Oct 2006
    Posts
    179

    Re: Social network 'share this' button in HTML code?

    You might also check the plug-ins that are available for your CMS. There are a large number of module level plug-ins that will allow you to enter anything.

  7. #7
    WebProWorld MVP incrediblehelp's Avatar
    Join Date
    Jan 2004
    Posts
    7,463

    Re: Social network 'share this' button in HTML code?

    Look at my blog. I am not using javascript to link to the social networking websites. It is not needed at all.

  8. #8
    Senior Member chowell's Avatar
    Join Date
    Oct 2003
    Posts
    234

    Re: Social network 'share this' button in HTML code?

    I have a similar problem here: Phoenix Suns News, Suns Scores, Game Recaps & Commentary

    The CMS system doesn't allow any JavaScript, but does allow other basic HTML (div tags, links, etc.).

    You can still use the social bookmarking tool from AddThis.com, but you can't use the JavaScript based on. (see the buttons in the upper right of my page)

  9. #9
    Junior Member
    Join Date
    May 2011
    Posts
    1

    Really?

    Quote Originally Posted by incrediblehelp View Post
    Look at my blog. I am not using javascript to link to the social networking websites. It is not needed at all.
    Just took a look at your code. Your right, the buttons only need HTML to show up, but at the top of your page, you use a huge Javascript script to make them work. That's the problem. With the Brightpearl CMS, we're restricted to using HTML, they don't allow Javascript at all, nada, except for a tiny header script, but it doesn't link up properly with anything.

    Anyhoo, any other ideas would be gladly accepted! :P

    F.

Similar Threads

  1. Share Results affiliate network?
    By Linda Buquet in forum Affiliate Marketing Discussion Forum
    Replies: 9
    Last Post: 06-13-2006, 06:43 PM
  2. image icon inside a html button
    By subho in forum Graphics & Design Discussion Forum
    Replies: 7
    Last Post: 11-28-2005, 03:27 AM
  3. From My Web to Your Website - A Button Share!
    By WPW_Feedbot in forum Search Engine Optimization Forum
    Replies: 0
    Last Post: 10-27-2005, 04:30 PM
  4. Social network / online community / social software / weblog
    By jeanyzhu0 in forum Marketing Strategies Discussion Forum
    Replies: 0
    Last Post: 11-23-2004, 11:30 PM
  5. How to share a printer in network pc
    By ferdous55 in forum IT Discussion Forum
    Replies: 0
    Last Post: 06-07-2004, 06:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •