Sha256: 23ef002ae95f8c6fd834a11880fa91634f09caf234903448ecca54e92825d70e

Contents?: true

Size: 1.98 KB

Versions: 18

Compression:

Stored size: 1.98 KB

Contents

= Infopark Rails Connector

Infopark Rails Connector integrates Infopark’s CMS into your Rails application.

It connects either to Infopark Cloud Express CMS via {https://rubygems.org/gems/infopark_cloud_connector infopark_cloud_connector} or to Infopark CMS Fiona via {https://rubygems.org/gems/infopark_fiona_connector infopark_fiona_connector}. It also enables you to integrate various ready-to-run features.

For more information about Infopark Rails Connector, please visit {http://kb.infopark.de/ Infopark’s Knowledge Base}.

== Configuration
Here is how the available addons can be enabled in the <tt>rails_connector.rb</tt> initializer file of your application:

  RailsConnector::Configuration.enable(
    :google_analytics,
    :infopark_tracking,
    :crm,
    :pdf_generator,
    :rss,
    :search,
    :seo_sitemap,
    :time_machine
  )

== Layout Helpers
Some of these functions require HTML or Javascript code to be included in the application layout.
For example, Google Analytics only tracks pageviews if their JavaScript snippet is included at the bottom of the HTML body.

The Rails Connector provides two helpers for managing this kind of layout code, switching on or off parts depending on whether features are enabled or not:

  rails_connector_header_tags

This helper needs to be called inside the HTML head tag.

  rails_connector_after_content_tags

This helper needs to be placed right before the closing body tag.

== Generators
Infopark Rails Connector comes with three generators to help you get up and running quickly:

  > rails generate rails_connector:install

Adds to your application the Time Machine assets, a +rails_connector.rb+ initializer and rake tasks specific to the gem.

== Seo Sitemap

The default implementation of the SEO sitemap will reference all the files from your CMS in the generated <tt>sitemap.xml</tt>. For a large number of files, this can slow down your server. Please refer to {RailsConnector::SEO::ClassMethods#find_all_for_sitemap} for advice on optimization.

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
infopark_rails_connector-6.8.3.174.51542603 README
infopark_rails_connector-6.8.3.115.227021242 README
infopark_rails_connector-6.8.3.73.75172665 README
infopark_rails_connector-6.8.3.2.153416031 README
infopark_rails_connector-6.8.3.67.110847540 README
infopark_rails_connector-6.8.3.1.23895778 README
infopark_rails_connector-6.8.2.36.82613853 README
infopark_rails_connector-6.8.2.7.128454143 README
infopark_rails_connector-6.8.1.26.236500544 README
infopark_rails_connector-6.8.1 README
infopark_rails_connector-6.8.0.539.93842523 README
infopark_rails_connector-6.8.0.529.114081979 README
infopark_rails_connector-6.8.0.518.30999728 README
infopark_rails_connector-6.8.0.515.34928522 README
infopark_rails_connector-6.8.0.498.46559598 README
infopark_rails_connector-6.8.0.480.261594408 README
infopark_rails_connector-6.8.0.444.171626367 README
infopark_rails_connector-6.8.0.406.131718077 README