Support Forum

Quoting

AT Alex T
Alex T
Member

Is there any plan to fix this so that it does not keep quoting everyone who quotes?  Some posts have ridiculously long quotes which tends to look a bit silly after a couple posts.  

10 Answers

New Answer

MP Mr Papa
Mr Papa
Member

simple press, by default, does not quote anyone or anything..  we do provide a quote button for users to use… if you want to prevent quoting, just remove the template tag that outputs the quote button from you sp theme (spTopicView.php) template file…  as always, do this from a child or custom theme…

AT Alex T
Alex T
Member

Mr Papa said
simple press, by default, does not quote anyone or anything..  we do provide a quote button for users to use… if you want to prevent quoting, just remove the template tag that outputs the quote button from you sp theme (spTopicView.php) template file…  as always, do this from a child or custom theme…

I don’t want to remove quoting, I just want it to quote the last quote, or last three for example.  Users like to quote, but they get lazy and just keep quoting each other.  It really messes up the formatting for those on mobile devices as well.  

MP Mr Papa
Mr Papa
Member

then you would have to add some custom code for the quote template tag to check and see if its been quoted already (perhaps search for blockquote in content) and not output it again…

or perhaps add some css to change the style and hide subsequent blockquoting…

but either is pretty custom and would need some playing around…

AT Alex T
Alex T
Member

Mr Papa said
then you would have to add some custom code for the quote template tag to check and see if its been quoted already (perhaps search for blockquote in content) and not output it again…

or perhaps add some css to change the style and hide subsequent blockquoting…

but either is pretty custom and would need some playing around…

Yea, I wouldn’t know where to start with this one…  

MP Mr Papa
Mr Papa
Member

perhaps something very simple you could do is just let the first blockquote show…  so maybe:

blockquote blockquote { display:none;}

this would be in the css file of the sp theme you are using..

alternatively, you could just target and do that on smaller devices (ie phones) with:

@media screen and (max-width: 480px) {
    blockquote blockquote { display:none;}
}

which would only do that on screen widths 480px or less…

AT Alex T
Alex T
Member

Mr Papa said
perhaps something very simple you could do is just let the first blockquote show…  so maybe:

<br />
blockquote blockquote { display:none;}
<br />

this would be in the css file of the sp theme you are using..

alternatively, you could just target and do that on smaller devices (ie phones) with:

<br />
@media screen and (max-width: 480px) {
    blockquote blockquote { display:none;}
}
<br />

which would only do that on screen widths 480px or less…

Is this in content.css in reboot?

MP Mr Papa
Mr Papa
Member

as I said, in your sp theme css file.. if you are using reboot, it is reboot.php… if you have a child or custom theme (as we have recommended), then  you created the file yourself and I do no know the name…

AT Alex T
Alex T
Member

Mr Papa said
perhaps something very simple you could do is just let the first blockquote show…  so maybe:

<br />
blockquote blockquote { display:none;}
<br />

this would be in the css file of the sp theme you are using..

alternatively, you could just target and do that on smaller devices (ie phones) with:

<br />
@media screen and (max-width: 480px) {
    blockquote blockquote { display:none;}
}
<br />

which would only do that on screen widths 480px or less…

I tried placing this in the reboot.php, but not exactly sure where i’m supposed to place it?

MP Mr Papa
Mr Papa
Member

just about anywhere – as long as it not in a php section…

you  might need to clear your browser cache or the combined css cache (forum – tools -housekeeping) if using…

IK Ike
Ike
Member

Reboot works slightly differently. All the mobile rules are within ‘reboot-mobile.php’ and the bulk of them are defined under the very first @media screen rule:

@media screen and (max-width: 2000px) {

You would just need to add the first example Mr Papa posted (the one without the @media screen)to both ‘reboot.php’ and ‘reboot-mobile.php’.