Class: SiteDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- SiteDrop
- Includes:
- NotificationSettingProvidingDropConcern
- Defined in:
- app/drops/site_drop.rb
Overview
site
refers to the current website being displayed.
Instance Method Summary collapse
- #allow_blog_comments? ⇒ Boolean deprecated Deprecated.
- #allow_forum_comments? ⇒ Boolean deprecated Deprecated.
- #allow_forum_posts? ⇒ Boolean deprecated Deprecated.
-
#blog_categories ⇒ CollectionDrop
Returns all BlogCategoryDrops.
- #blog_notification_setting ⇒ NotificationSettingDrop
-
#blog_posts ⇒ CollectionDrop
Returns all published BlogPostDrops.
- #blog_title ⇒ String
- #blog_url ⇒ String
- #collapse_comments? ⇒ Boolean
- #comment_notification_setting ⇒ NotificationSettingDrop
- #comment_without_login? ⇒ Boolean
-
#courses ⇒ CollectionDrop
Returns CourseDrops visible to the current user.
-
#courses_count ⇒ Integer
Returns the number of CourseDrops visible to the current user.
- #enable_reactions? ⇒ Boolean
- #enabled? ⇒ Boolean
- #facebook_app_id ⇒ String
- #facebook_page_id ⇒ String
- #facebook_profile_url ⇒ String
- #facebook_url ⇒ String
-
#forum_categories ⇒ CollectionDrop
deprecated
Deprecated.
Use ForumDrop#forum_categories instead.
- #forum_intro_text ⇒ String deprecated Deprecated.
- #forum_notification_setting ⇒ NotificationSettingDrop
-
#forum_posts ⇒ CollectionDrop
deprecated
Deprecated.
Use ForumDrop#forum_posts instead.
-
#forum_title ⇒ String
deprecated
Deprecated.
Use ForumDrop#title
-
#groups ⇒ CollectionDrop
Returns all SiteGroupDrops.
- #id ⇒ Integer
- #include_tickets_widget? ⇒ Boolean
- #instagram_url ⇒ String
- #instagram_username ⇒ String
- #internal_name ⇒ String
- #landing_page_inclusions ⇒ Object deprecated Deprecated.
-
#link_to_member_directory? ⇒ Boolean
Returns true if member directory is enabled or if the current member is a staff.
- #linkedin_url ⇒ String
- #linkedin_username ⇒ String
- #logout_url ⇒ String
- #member_directory_enabled? ⇒ Boolean
- #membership_site? ⇒ Boolean
- #pinterest_url ⇒ String
- #pinterest_username ⇒ String
- #private? ⇒ Boolean
-
#products ⇒ CollectionDrop
deprecated
Deprecated.
Use AccountDrop#products instead.
- #public? ⇒ Boolean
-
#recent_contributions ⇒ CollectionDrop
Returns the current user's 15 most recent, non-SiteGroupDrop SiteContributionDrops.
- #registration? ⇒ Boolean
- #snapchat_url ⇒ String
- #snapchat_username ⇒ String
-
#social_urls? ⇒ Boolean
Returns true if the site has any social URLs defined.
-
#theme_custom_css ⇒ String
The custom CSS defined on the theme.
- #theme_id ⇒ Integer
- #title ⇒ String
- #twitter_url ⇒ String
- #twitter_username ⇒ String
- #url ⇒ String
- #uses_badges? ⇒ Boolean deprecated Deprecated.
- #vimeo_url ⇒ String
- #vimeo_username ⇒ String
-
#wysiwyg_css_tag ⇒ String
Returns an HTML <link> tag for loading CSS for WYSIWYG content.
- #youtube_url ⇒ String
Methods inherited from Liquid::Simplero::Drop
Instance Method Details
#allow_blog_comments? ⇒ Boolean
#allow_forum_comments? ⇒ Boolean
#allow_forum_posts? ⇒ Boolean
#blog_categories ⇒ CollectionDrop
Returns all BlogCategoryDrops.
#blog_notification_setting ⇒ NotificationSettingDrop
#blog_posts ⇒ CollectionDrop
Returns all published BlogPostDrops.
#blog_title ⇒ String
#blog_url ⇒ String
#collapse_comments? ⇒ Boolean
#comment_notification_setting ⇒ NotificationSettingDrop
#comment_without_login? ⇒ Boolean
#courses ⇒ CollectionDrop
Returns CourseDrops visible to the current user.
#courses_count ⇒ Integer
Returns the number of CourseDrops visible to the current user.
#enable_reactions? ⇒ Boolean
#enabled? ⇒ Boolean
#facebook_app_id ⇒ String
#facebook_page_id ⇒ String
#facebook_profile_url ⇒ String
#facebook_url ⇒ String
#forum_categories ⇒ CollectionDrop
Use ForumDrop#forum_categories instead.
Returns all ForumCategoryDrops for the site's main ForumDrop.
#forum_intro_text ⇒ String
#forum_notification_setting ⇒ NotificationSettingDrop
#forum_posts ⇒ CollectionDrop
Use ForumDrop#forum_posts instead.
Returns all approved ForumPostDrops
#forum_title ⇒ String
Use ForumDrop#title
#groups ⇒ CollectionDrop
Returns all SiteGroupDrops.
#id ⇒ Integer
#include_tickets_widget? ⇒ Boolean
#instagram_url ⇒ String
#instagram_username ⇒ String
#internal_name ⇒ String
#landing_page_inclusions ⇒ Object
#link_to_member_directory? ⇒ Boolean
Returns true if member directory is enabled or if the current member is a staff
#linkedin_url ⇒ String
#linkedin_username ⇒ String
#logout_url ⇒ String
#member_directory_enabled? ⇒ Boolean
#membership_site? ⇒ Boolean
#pinterest_url ⇒ String
#pinterest_username ⇒ String
#private? ⇒ Boolean
#products ⇒ CollectionDrop
Use AccountDrop#products instead.
Returns all (account-wide) listed ProductDrops available to the current user.
#public? ⇒ Boolean
#recent_contributions ⇒ CollectionDrop
Returns the current user's 15 most recent, non-SiteGroupDrop SiteContributionDrops.
#registration? ⇒ Boolean
#snapchat_url ⇒ String
#snapchat_username ⇒ String
#social_urls? ⇒ Boolean
Returns true if the site has any social URLs defined.
#theme_custom_css ⇒ String
The custom CSS defined on the theme.
#theme_id ⇒ Integer
#title ⇒ String
#twitter_url ⇒ String
#twitter_username ⇒ String
#url ⇒ String
#uses_badges? ⇒ Boolean
#vimeo_url ⇒ String
#vimeo_username ⇒ String
#wysiwyg_css_tag ⇒ String
Returns an HTML <link> tag for loading CSS for WYSIWYG content.