Read More/Less
Read More/Less
I want the ability to READ MORE/LESS on an article just like on the CMSMS home page and frankly, I'm very confused on how to go about it.
If I understand, I am to make a news article and somehow reference that in my page. But I'm not sure what terminology to use or what tag.
I created an article called: Sample Itineraries. How do I reference that in my article in a "read more" link?
Thanks!
If I understand, I am to make a news article and somehow reference that in my page. But I'm not sure what terminology to use or what tag.
I created an article called: Sample Itineraries. How do I reference that in my article in a "read more" link?
Thanks!
Re: Read More/Less
A 'read more/less', of which there are none on the cmsmadesimple home page, are different than a 'read more' link which in CMSMS are generated in the News module by default, if you have 'summary' in use, are also used in a couple of other modules such as CGBlog...
So depending on what you actually want will depend on how you go about getting them...
Here is an example of Read More/Less...
http://how-i-did-that.com/cgblog/5/15/S ... lapse.html
So depending on what you actually want will depend on how you go about getting them...
Here is an example of Read More/Less...
http://how-i-did-that.com/cgblog/5/15/S ... lapse.html
Re: Read More/Less
You are correct. My mistake in wording. I have a Dreamweaver Extension that shows more/less and that was in my brain when I was writing.
I am trying to get the "More", like on the home page to work and I am having difficulty with how to enter it in my page. How do I link the NEWS to a part of the page?
As for the link you posted, it is perfect as well, but I can't get the "read more" in the hyperlink to stay when I paste it in the code view of my page. It keeps pushing it outside the </a> tag.
I am trying to get the "More", like on the home page to work and I am having difficulty with how to enter it in my page. How do I link the NEWS to a part of the page?
As for the link you posted, it is perfect as well, but I can't get the "read more" in the hyperlink to stay when I paste it in the code view of my page. It keeps pushing it outside the </a> tag.
Re: Read More/Less
I am having an issue with a Dreamweaver extension that I am using. The slideshow and a slideout menu that I'm using from the same company are working perfectly. Here's my issue:
The extension is a "Read More/Less" extension from: http://projectseven.com/
I have the links to the CSS and Main Javascript properly in the header of the template. For each "read more", it requires the following code to be at the end of it: <__script__ type="text/javascript">P7_SMLop('p7SML_1',1,600,'Show More...','...Show Less',50,1)</__script>
The problem is when I paste the code into the source code of the "content" block on the page, it is not showing the <__script__...
How do I tag the script or the content block so that it allows what I paste?
Thanks!
The extension is a "Read More/Less" extension from: http://projectseven.com/
I have the links to the CSS and Main Javascript properly in the header of the template. For each "read more", it requires the following code to be at the end of it: <__script__ type="text/javascript">P7_SMLop('p7SML_1',1,600,'Show More...','...Show Less',50,1)</__script>
The problem is when I paste the code into the source code of the "content" block on the page, it is not showing the <__script__...
How do I tag the script or the content block so that it allows what I paste?
Thanks!
Re: Read More/Less
I know you are going to hate me for saying it, but you really need to learn how to use js without the crutch of Dreamweaver.
I don't understand what you are wanting to do, but it should be simple to without a Dreamweaver extension.
I don't understand what you are wanting to do, but it should be simple to without a Dreamweaver extension.
Re: Read More/Less
I would be happy to find a CMSMS extension that allows me to show "more/less" of content, but I can't find one.
If someone knows of one, I'm very open to it.
But, I am not using Dreamweaver to write the JS. I used it for the layout and copy/pasted my templates into CMSMS and it worked beautifully.
This particular extension requires the JS after each entry.
Don't hate you.
If someone knows of one, I'm very open to it.
But, I am not using Dreamweaver to write the JS. I used it for the layout and copy/pasted my templates into CMSMS and it worked beautifully.
This particular extension requires the JS after each entry.
Don't hate you.

Re: Read More/Less
You need to explain what you are trying to do better.
Are you using modules or the content page? what templates are you using?
Explain what you are trying to do with extra detail. If possible have visual mockups.
Are you using modules or the content page? what templates are you using?
Explain what you are trying to do with extra detail. If possible have visual mockups.
Re: Read More/Less
Ok...
http://www.projectseven.com has a tool called "See More or Less". You can see it here: http://projectseven.com/products/tools/sml/index.htm I have used it successfully on many Non-CMS sites. In fact, I am using one of their Off-canvas menu extensions successfully on 2 CMSMS sites I am working on.
The CSS and link to the JS file are in the head of my template. The usage requires that I add a snippet of code for each instance I want to use on a page. The code has to include this JS: <__script__ type="text/javascript">P7_SMLop('p7SML_1',1,600,'Show More...','...Show Less',50,1)</__script> at the end of the instance.
So what I do is, create the page in Dreamweaver. I then copy the code for the part that would go into the content in CMSMS, it includes the JS above...but pasting that in the "source code" view of the content manager area doesn't retain the JS once I click on save.
Here is a test page on the site that includes what it looks like. The only way I can get it to work is if I create a Template and have all the content code put in the template: http://web64006.aiso.net/index.php?page=test This seems a bit counter-productive, because when I hand off the site to the client, I want them to be able to use this type of functionality wherever the want on any new pages they might create.
The Module that Dr.CSS recommended is perfect, but nothing I do makes it work.
So my questions are:
1. Is there a specific "tag" to wrap the JS with so that it is retained?
2. Does anyone know of a module made for CMSMS that will do this?
I've gone through the Modules/Downloads pages, but they are confusing since they are not sorted by category as much as just alphabetical.
The client has a lot of pages that link to certain additional content pages and I am trying to alleviate the constant clicking to go to another page, then having to come back.
Hope this was explained in more detail.
Thanks for your help!
http://www.projectseven.com has a tool called "See More or Less". You can see it here: http://projectseven.com/products/tools/sml/index.htm I have used it successfully on many Non-CMS sites. In fact, I am using one of their Off-canvas menu extensions successfully on 2 CMSMS sites I am working on.
The CSS and link to the JS file are in the head of my template. The usage requires that I add a snippet of code for each instance I want to use on a page. The code has to include this JS: <__script__ type="text/javascript">P7_SMLop('p7SML_1',1,600,'Show More...','...Show Less',50,1)</__script> at the end of the instance.
So what I do is, create the page in Dreamweaver. I then copy the code for the part that would go into the content in CMSMS, it includes the JS above...but pasting that in the "source code" view of the content manager area doesn't retain the JS once I click on save.
Here is a test page on the site that includes what it looks like. The only way I can get it to work is if I create a Template and have all the content code put in the template: http://web64006.aiso.net/index.php?page=test This seems a bit counter-productive, because when I hand off the site to the client, I want them to be able to use this type of functionality wherever the want on any new pages they might create.
The Module that Dr.CSS recommended is perfect, but nothing I do makes it work.
So my questions are:
1. Is there a specific "tag" to wrap the JS with so that it is retained?
2. Does anyone know of a module made for CMSMS that will do this?
I've gone through the Modules/Downloads pages, but they are confusing since they are not sorted by category as much as just alphabetical.
The client has a lot of pages that link to certain additional content pages and I am trying to alleviate the constant clicking to go to another page, then having to come back.
Hope this was explained in more detail.
Thanks for your help!
Re: Read More/Less
I didn't understand a bit of that. I don't know that extension and I don't want to, so explain what you want in terms of something I don't know is useless and make me disinterested in helping.
Re: Read More/Less
Well, I guess I will wait for someone else to help out.
Re: Read More/Less
One solution to this is modifying your template so that all the JS stuff is separate from your actual written content. Remember you can have multiple content blocks.webguru wrote:but pasting that in the "source code" view of the content manager area doesn't retain the JS once I click on save.
That looks like a simpler solution, what goes wrong? Error messages? Explain what you do to try to implement that one.webguru wrote:The Module that Dr.CSS recommended is perfect, but nothing I do makes it work.
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
https://docs.cmsmadesimple.org/troubles ... nformation
CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016