<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Can someone tell me how to use jquery to replace the "No one logged in" message generated from {modu</title>
    <link>https://forums.adobe.com/community/business_catalyst/how_to-html-css-javascript?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Thu, 18 Sep 2014 04:08:18 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-09-18T04:08:18Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Can someone tell me how to use jquery to replace the "No one logged in" message generated from {modu</title>
      <link>https://forums.adobe.com/message/6740177?tstart=0#6740177</link>
      <description>&lt;!-- [DocumentBodyStart:1493a472-30cc-44a9-b4fb-5c5c8df9f2e7] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Let me add that you also need to add a css rule for "user-" as well. Sometimes the system does not display the "0"&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;.user-,.user-0{display:none}&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:1493a472-30cc-44a9-b4fb-5c5c8df9f2e7] --&gt;&lt;img src='/beacon?t=1415884527715' /&gt;</description>
      <pubDate>Thu, 18 Sep 2014 04:08:18 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6740177?tstart=0#6740177</guid>
      <dc:date>2014-09-18T04:08:18Z</dc:date>
      <clearspace:dateToText>1 month 4 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Can someone tell me how to use jquery to replace the "No one logged in" message generated from {modu</title>
      <link>https://forums.adobe.com/message/6723180?tstart=0#6723180</link>
      <description>&lt;!-- [DocumentBodyStart:e25ea6e9-8720-4bfb-980d-acf0d48ef913] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Thanks for this discovery, I've been pulling my hair out to get a logged-in / not-logged-in dynamic driving some basic content&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Is it true I would need to adopt a javascript method to include a link to my sign in page in the 0 content " " ?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks so much&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:e25ea6e9-8720-4bfb-980d-acf0d48ef913] --&gt;</description>
      <pubDate>Fri, 12 Sep 2014 00:37:55 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/6723180?tstart=0#6723180</guid>
      <dc:date>2014-09-12T00:37:55Z</dc:date>
      <clearspace:dateToText>2 months 2 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Can someone tell me how to use jquery to replace the "No one logged in" message generated from {modu</title>
      <link>https://forums.adobe.com/message/5471640?tstart=0#5471640</link>
      <description>&lt;!-- [DocumentBodyStart:28193529-8fe6-432e-aa9b-3cf5456b4534] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Oh yes, thanks. I better correct that...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So here's my example for swapping out text, rather than making it visable/invisable, for anyone trying the same thing in the Online Shop module for small_product.html.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;HTML:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="public-price-{module_isloggedin}"&amp;gt;Note: &amp;lt;/span&amp;gt;&amp;lt;/h4&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;CSS:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;.public-price-1:after {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; content:"Special member only price";&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;&lt;p&gt;.public-price-0:after {&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; content:"Sign-in for special member only price - Membership is free";&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:28193529-8fe6-432e-aa9b-3cf5456b4534] --&gt;</description>
      <pubDate>Tue, 02 Jul 2013 23:17:50 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5471640?tstart=0#5471640</guid>
      <dc:date>2013-07-02T23:17:50Z</dc:date>
      <clearspace:dateToText>1 year 4 months ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Can someone tell me how to use jquery to replace the "No one logged in" message generated from {modu</title>
      <link>https://forums.adobe.com/message/5471049?tstart=0#5471049</link>
      <description>&lt;!-- [DocumentBodyStart:497fa03c-e586-46fb-97d5-8b4dcc6f832e] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Great solution! Should note though that this won't work in IE less than 8 but those browsers are losing their market share pretty fast.&amp;nbsp; If you need to support less than IE8 you should use a javascript solution.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Also, you forgot to close your &amp;lt;span&amp;gt; in your &amp;lt;h4&amp;gt;. I only mention it because its a matter of time before someone tries to replicate your solution and runs into that problem.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Nice work, though!&amp;nbsp; I too need to start using pseudo classes more since IE8 does support them. For years I was avoiding them entirely because of lack of support and I need to keep reminding myself to start using them more.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:497fa03c-e586-46fb-97d5-8b4dcc6f832e] --&gt;</description>
      <pubDate>Tue, 02 Jul 2013 20:12:58 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5471049?tstart=0#5471049</guid>
      <dc:date>2013-07-02T20:12:58Z</dc:date>
      <clearspace:dateToText>1 year 4 months ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Can someone tell me how to use jquery to replace the "No one logged in" message generated from {modu</title>
      <link>https://forums.adobe.com/message/5469850?tstart=0#5469850</link>
      <description>&lt;!-- [DocumentBodyStart:896afd9f-c6d0-4e4e-b869-cfa53342e8a0] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Simon,&lt;/p&gt;&lt;p&gt;That too is brilliant! I always forget about the many &lt;span style="color: #575757; font-family: Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;pseudo classes&lt;/span&gt; that are available to us. They can truly make your life easier. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Chad Smith&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:896afd9f-c6d0-4e4e-b869-cfa53342e8a0] --&gt;</description>
      <pubDate>Tue, 02 Jul 2013 15:00:59 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5469850?tstart=0#5469850</guid>
      <dc:date>2013-07-02T15:00:59Z</dc:date>
      <clearspace:dateToText>1 year 4 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Can someone tell me how to use jquery to replace the "No one logged in" message generated from {modu</title>
      <link>https://forums.adobe.com/message/5468109?tstart=0#5468109</link>
      <description>&lt;!-- [DocumentBodyStart:af0e192e-6c2c-423d-aec9-dcad4282477d] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Thanks Chad. The CSS things is both obvious (now that you mention it) and brilliant.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So here's my example for swapping out text, rather than making it visable/invisable, for anyone trying the same thing in the Online Shop module for small_product.html.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;HTML:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;h4&amp;gt;&amp;lt;span class="public-price-{module_isloggedin}"&amp;gt;Note: &amp;lt;/h4&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;CSS:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;.public-price-1:after { &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;content:"Special member only price";&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/p&gt;&lt;p&gt;.public-price-0:after { &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;content:"Sign-in for special member only price - Membership is free";&lt;/p&gt;&lt;p&gt; }&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Note: For :after to work in IE8, a &amp;lt;!DOCTYPE&amp;gt; must be declared in your HTML doc. e.g. &amp;lt;!DOCTYPE html&amp;gt; for the head tag.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:af0e192e-6c2c-423d-aec9-dcad4282477d] --&gt;</description>
      <pubDate>Tue, 02 Jul 2013 00:17:01 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5468109?tstart=0#5468109</guid>
      <dc:date>2013-07-02T00:17:01Z</dc:date>
      <clearspace:dateToText>1 year 4 months ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Can someone tell me how to use jquery to replace the "No one logged in" message generated from {modu</title>
      <link>https://forums.adobe.com/message/5278322?tstart=0#5278322</link>
      <description>&lt;!-- [DocumentBodyStart:a69376ce-598d-4c4d-bdb0-81b45a6248ac] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Thanks Chad, much appreciated... I'll give it a go&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a69376ce-598d-4c4d-bdb0-81b45a6248ac] --&gt;</description>
      <pubDate>Tue, 30 Apr 2013 03:40:27 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5278322?tstart=0#5278322</guid>
      <dc:date>2013-04-30T03:40:27Z</dc:date>
      <clearspace:dateToText>1 year 6 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Can someone tell me how to use jquery to replace the "No one logged in" message generated from {modu</title>
      <link>https://forums.adobe.com/message/5277739?tstart=0#5277739</link>
      <description>&lt;!-- [DocumentBodyStart:3b14e162-2cd0-4947-8672-07a9230ec196] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Hello Doug McLachlan,&lt;/p&gt;&lt;p&gt;Depending how you have your HTML, you can do this with jQuery or CSS.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;In the CSS method you would just add that is logged in module to the class of the div: &amp;lt;div class="user-{module_isloggedin}"&amp;gt;&amp;lt;/div&amp;gt; - Then in your CSS display none on the user-0 class.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The jQuery method is similar, you're just checking if the isloggedin module is a one or zero, then using jQuery to hide or show.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To just replace the text with nothing using jQuery would be something like this: &lt;a class="jive-link-external-small" href="http://jsfiddle.net/chaddidthis/4TQeV/" rel="nofollow"&gt;http://jsfiddle.net/chaddidthis/4TQeV/&lt;/a&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hope this helps,&lt;/p&gt;&lt;p&gt;Chad Smith - BC Gurus&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:3b14e162-2cd0-4947-8672-07a9230ec196] --&gt;</description>
      <pubDate>Mon, 29 Apr 2013 22:15:35 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5277739?tstart=0#5277739</guid>
      <dc:date>2013-04-29T22:15:35Z</dc:date>
      <clearspace:dateToText>1 year 6 months ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Can someone tell me how to use jquery to replace the "No one logged in" message generated from {modu</title>
      <link>https://forums.adobe.com/message/5276612?tstart=0#5276612</link>
      <description>&lt;!-- [DocumentBodyStart:913db60b-17e9-4807-b804-c500ddff49fa] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I need to replace the "No one logged in" boilerplate text that {module_whosloggedin} generates with French "Non connect&amp;#233;"&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I understand jquery is the best way to do this but I need help with a code sample.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:913db60b-17e9-4807-b804-c500ddff49fa] --&gt;</description>
      <pubDate>Mon, 29 Apr 2013 16:14:52 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5276612?tstart=0#5276612</guid>
      <dc:date>2013-04-29T16:14:52Z</dc:date>
      <clearspace:dateToText>1 year 6 months ago</clearspace:dateToText>
      <clearspace:replyCount>8</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

