How do I do basic formatting of text please?
ie : Bold, Italic, Bullet points, New paragraph
How do I do basic formatting of text please?
ie : Bold, Italic, Bullet points, New paragraph
I'm assuming you're talking about formatting text in a textarea field? If that is the case you'll need to set the editor attribute on the field, to enable a JavaScript editor for formatting.
See the documentation for further information.
Thank you. Where do I put that code please?
It will be the template you are using for the content region, for example the following template for the region below would be found in perch/templates/content/general/article.php (Assuming your perch base directory is called perch)
Still not sure what I need to do here, but I have fixed the immediate issue by adding html code to the text for paragraph and bold text.
But I should be able to get a ribbon as on this post shouldn't I ?
I guess I need to re-read all the initial instructions - I haven't done this for years!
Thank for your help
Sorry, I am still confused as to how to get a template working - my technical manager is away and he usually does this stuff.
I have a customer on https://www.ultraforce.co.uk/cms/ and there are no text formatting controls on any of the text entry fields.
Please can you tell me in simple terms how I apply a template to the pages of this account so that text can be formatted.
Many thanks, and sorry for my ignorance.
What version of perch are you running? You should be able to find out in the diagnostics section of the admin area
Just wanted to make sure I was giving you the right information, hopefully the below helps
Each website page will use a page template. These should be found in the pages folder in templates. For you I guess this would be path/to/webiste/cms/templates/pages. In these pages you should see parts which look similar to
The 'Article' string here represents the region name - which shows up in the CMS admin area. If you don't see this, go into your region you want to add the formatting options to, and click the region options tab. There should be a select option for template. This is what you'll need to look for in the next step
These templates should be located in path/to/webiste/cms/templates/content. In these templates will be your HTML markup. Perch uses an XML template system to define inputs, so you'll be looking for a tag that looks similar to the following
You should be able to search the labels to find the correct field. You'll need to update this tag to the follow (Keeping your ID and label the same as you currently have)
I realise now that you were only asking for the version, not saying that this will tell me what to do! Sorry!
Thank you so much. I will give it a try and let you know how I get on.
Just to clarify - this is all done in Dreamweaver, not Perch. Is that correct?
Yes thats right
On the page https://www.ultraforce.co.uk/j…chniforce/techniforce.php, in the Requirements field it has:
<td><perch:content id="requirements" type="textarea" label="Requirements" html="true" editor="ckeditor"/></td>
This should make the text editor buttons appear should it not?
But as you can see from the live page, its all one paragraph because there is no way to format the text in Perch.
ckeditor isn't installed by default in Perch 3, so you'll either need to add it yourself, or you can change the editor to redactor
Do you have the ckeditor add-on installed? It's not part of the core Perch these days. Redactor is the default WYSIWYG editor.
e.g. If not then just change your editor="ckeditor" to editor="redactor".
Byron Fitzgerald Snap ;)!
OMG! its that simple. I have changed it to redactor and lo and behold I have a text formatter ribbon.
Its a very simple set of buttons. If we wanted to change text color for instance do we have to do it in html?
ckeditor is shown 8,876 times in all the website files.
What do I do about that please?
The styling of your website (color of your text for example) would be done with CSS instead of HTML.
does dreamweaver not do a find/replace within all files of a path ? Its been forever since i've used DW. Modern IDE's will allow to do that. ;-D