Class: SiteDrop

Inherits:
Liquid::Simplero::Drop show all
Includes:
NotificationSettingProvidingDropConcern
Defined in:
app/drops/site_drop.rb

Overview

site refers to the current website being displayed.

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#allow_blog_comments?Boolean

Returns:

  • (Boolean)

#allow_forum_comments?Boolean

Deprecated.

Returns:

  • (Boolean)

#allow_forum_posts?Boolean

Deprecated.

Returns:

  • (Boolean)

#blog_categoriesCollectionDrop

Returns all BlogCategoryDrops.

Returns:

#blog_notification_settingNotificationSettingDrop

#blog_postsCollectionDrop

Returns all published BlogPostDrops.

Returns:

#blog_titleString

Returns:

  • (String)

#blog_urlString

Returns:

  • (String)

#collapse_comments?Boolean

Returns:

  • (Boolean)

#comment_notification_settingNotificationSettingDrop

#comment_without_login?Boolean

Returns:

  • (Boolean)

#coursesCollectionDrop

Returns CourseDrops visible to the current user.

Returns:

#courses_countInteger

Returns the number of CourseDrops visible to the current user.

Returns:

  • (Integer)

#enable_reactions?Boolean

Returns:

  • (Boolean)

#enabled?Boolean

Returns:

  • (Boolean)

#facebook_app_idString

Returns:

  • (String)

#facebook_page_idString

Returns:

  • (String)

#facebook_profile_urlString

Returns:

  • (String)

#facebook_urlString

Returns:

  • (String)

#forum_categoriesCollectionDrop

Deprecated.

Returns all ForumCategoryDrops for the site's main ForumDrop.

Returns:

#forum_intro_textString

Deprecated.

Returns:

  • (String)

#forum_notification_settingNotificationSettingDrop

#forum_postsCollectionDrop

Deprecated.

Use ForumDrop#forum_posts instead.

Returns all approved ForumPostDrops

Returns:

#forum_titleString

Deprecated.

Returns:

  • (String)

#groupsCollectionDrop

Returns all SiteGroupDrops.

Returns:

#idInteger

Returns:

  • (Integer)

#include_tickets_widget?Boolean

Returns:

  • (Boolean)

#instagram_urlString

Returns:

  • (String)

#instagram_usernameString

Returns:

  • (String)

#internal_nameString

Returns:

  • (String)

#landing_page_inclusionsObject

Deprecated.

Returns true if member directory is enabled or if the current member is a staff

Returns:

  • (Boolean)

#linkedin_urlString

Returns:

  • (String)

#linkedin_usernameString

Returns:

  • (String)

#logout_urlString

Returns:

  • (String)

#member_directory_enabled?Boolean

Returns:

  • (Boolean)

#membership_site?Boolean

Returns:

  • (Boolean)

#pinterest_urlString

Returns:

  • (String)

#pinterest_usernameString

Returns:

  • (String)

#private?Boolean

Returns:

  • (Boolean)

#productsCollectionDrop

Deprecated.

Use AccountDrop#products instead.

Returns all (account-wide) listed ProductDrops available to the current user.

Returns:

#public?Boolean

Returns:

  • (Boolean)

#recent_contributionsCollectionDrop

Returns the current user's 15 most recent, non-SiteGroupDrop SiteContributionDrops.

Returns:

#registration?Boolean

Returns:

  • (Boolean)

#snapchat_urlString

Returns:

  • (String)

#snapchat_usernameString

Returns:

  • (String)

#social_urls?Boolean

Returns true if the site has any social URLs defined.

Returns:

  • (Boolean)

#theme_custom_cssString

The custom CSS defined on the theme.

Returns:

  • (String)

#theme_idInteger

Returns:

  • (Integer)

#titleString

Returns:

  • (String)

#twitter_urlString

Returns:

  • (String)

#twitter_usernameString

Returns:

  • (String)

#urlString

Returns:

  • (String)

#uses_badges?Boolean

Returns:

  • (Boolean)

#vimeo_urlString

Returns:

  • (String)

#vimeo_usernameString

Returns:

  • (String)

#wysiwyg_css_tagString

Returns an HTML <link> tag for loading CSS for WYSIWYG content.

Returns:

  • (String)

#youtube_urlString

Returns:

  • (String)