Add LinkedIn share button

Permalink Browser Info Environment
Is there an easy way to add a LinkedIn button on the list and details pages in the ProBlog?

Type: Discussion
Status: In Progress
javaprog8432
View Replies:
RadiantWeb replied on at Permalink Reply
RadiantWeb
1) copy /packages/problog/blocks/content/templates/blog_post/view.php & .css over to your root /blocks/content/templates/blog_post/view.php .css
2) after line 36 paste the following:
<span class='st_linkedin_hcount' displayText='LinkedIn'></span>


follow the same pattern for the list block making sure the root view name / folder structure matches the addon. Each list view template is different, but you just need to make sure you paste it in after the conditional logic.

ChadStrat
javaprog8432 replied on at Permalink Reply
javaprog8432
This worked! Thank you very much!
webadminfl replied on at Permalink Reply
webadminfl
The code worked perfectly for the blog post, but I am having trouble with the list block. You said to put it after the conditional logic ("if" statements?), but I am not doing it right. What line should the code be copied to - and is it the same, exact code?

concrete5 Environment Information

# concrete5 Version
5.6.3.2

# concrete5 Packages
Heywater (1.6.5), Mailing List (2.54), Pro Blog (12.4.0), Social Icons Reloaded (2.0).

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off

# Server Software
Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 PHP/5.4.35 mod_perl/2.0.8 Perl/v5.10.1

# Server API
apache2handler

# PHP Version
5.4.35

# PHP Extensions
apache2handler, bcmath, calendar, Core, ctype, curl, date, dom, ereg, fileinfo, filter, ftp, gd, hash, iconv, imap, json, libxml, mcrypt, mysql, mysqli, mysqlnd, newrelic, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, pgsql, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, xdebug, xml, xmlreader, xmlrpc, xmlwriter, zip, zlib.

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 120
max_input_vars - 1000
memory_limit - 256M
post_max_size - 64M
sql.safe_mode - Off
upload_max_filesize - 100M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
newrelic.special.max_nesting_level - -1
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
xdebug.max_nesting_level - 100
xdebug.var_display_max_children - 128
xdebug.var_display_max_data - 512
xdebug.var_display_max_depth - 3

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.