Support Forum
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...
Visit Cruise Talk Central and Mr Papa's World
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.
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...
Visit Cruise Talk Central and Mr Papa's World
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...
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...
Visit Cruise Talk Central and Mr Papa's World
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?
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...
Visit Cruise Talk Central and Mr Papa's World
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?
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...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)