![]() |
|
|
|||||||
| Subrion Core Discussion Here we discuss everything that is related to Subrion CMS core functionality. Additional features related to plugins and templates engines. New features that are related to Manage Pages functionality or anything that's not related to Subrion packages. |
![]() |
| LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) | |
|
Senior Member
Join Date: May 2007
Posts: 105
![]() |
Sergey, in a thread a while back I was having problems with \\\ lines, think I mentioned that it happens in Subitems but we didn't do anything about it. Course now i am adding more it's starting to be come irritating (Pesky by the way means "causing irritation or annoyance" Just thought I would teach you some new exciting English vocabulary! LOL) Anyway,
1) When I first create a subitem there is no problem, however if I missed something and have to modify, the result is like this below which then gets saved and is displayed like the next example. Code:
<p><font size=\"2\">The report said recent government campaigns had failed to recognise the link between drink, drugs and sexual health. </font></p> <p><font size=\"2\">The IAG also points out that the UK has the highest rates of teenage pregnancy and sexual infections in Europe. </font></p> <p><font size=\"2\"><b>\'Glamorising celebrity\'</b> </font></p> <p><font size=\"2\">Increasing numbers of young teenagers are defining their lives by taking drugs, drinking alcohol and having under-age sex encouraged by today\'s celebrity culture, it says. </font></p> Quote:
2) Is there a way of adding that very handy wysiwig editor to the subitems description box too. It's very helpful, I tried to figure out from looking at the admin/create-category.php but I am not very clued up on php and didn't want to make a mess of code. Well thank you once again, for all your help! |
|
|
|
|
|
|
#3 (permalink) | |
|
Senior Member
Join Date: May 2007
Posts: 105
![]() |
Oh it's only me again
![]() Quote:
|
|
|
|
|
|
|
#4 (permalink) |
|
Subrion Tech Support
Join Date: Apr 2007
Posts: 644
![]() |
Here is how to do this in admin CP.
1. Open file admin/create-subitem.php and find nex lines PHP Code:
PHP Code:
|
|
|
|
|
|
#5 (permalink) | |
|
Senior Member
Join Date: May 2007
Posts: 105
![]() |
Quote:
mine looked like this:Code:
<td><textarea name="body" rows="20" cols="100"><?php echo $_POST['body'] ? $_POST['body'] : $subitem['description']; ?></textarea></td> How can I correct that using replacing my code above? Thank You Petal
|
|
|
|
|
|
|
#6 (permalink) |
|
Subrion Tech Support
Join Date: Apr 2007
Posts: 644
![]() |
It is what you need.
Only change in example above line PHP Code:
PHP Code:
|
|
|
|
|
|
#7 (permalink) |
|
Senior Member
Join Date: May 2007
Posts: 105
![]() |
Oh those 'Pesky' slashes!
![]() Yes well that would certainly help, thank you for that but it hasn't improved the editing buttons being cut off ![]() Here see what I mean ![]() Oops forgot to mention my lappy screen is 15" but my monitor is 19" ~ it displays cut off on the 15" but displays correctly on the 19" monitor...course I could just add on the big screen just you know you get into a routine of how you do things to utilize time and all that...Okay waffling now
Last edited by LorenGK; 06-21-2007 at 04:38 AM. Reason: Forgot something |
|
|
|
|
|
#10 (permalink) |
|
Senior Member
Join Date: May 2007
Posts: 105
![]() |
Sergeeeeeeeeeeey...this is frustration setting in...I hate this friggin things!
1) A person edited their article and what happened was the lines appeared again. Not only this, I set up the article admin side, it happened there too, so i have to make sure it's exact, I used the editor to add the hyperlink, well of course when the lady added a different url to the original hyperlink this is what appeared, and gives error page. see lines! Code:
Do you sometimes feel as if you\'re \'burnt out\'? It\'s a common problem in modern society. We do a full day\'s work, and then may come home to DIY, housework, meal preparation, elderly parents and/or taxi duties for the children. Everyone knows it\'s good to spend quality time with the family – but have you considered whether you\'re spending quality time with YOU? At work, have at least a 20 minute break each day. At home, schedule periods of rest and relaxation into every day. It\'s important for your mental and physical health. You\'ll perform better and feel better.<br> Code:
<a _fcksavedurl="\""http://www.life-coaching-london.co.uk/reduce-stress.html"\"" href="http://www.gaiapulse.co.uk/res/js/fckeditor/editor/\%22%22http://www.life-coaching-london.co.uk/reduce-stress.html%22\%22"> <u>http://www.life-coaching-london.co.uk/reduce-stress.html</u></a></p> Please help me eradicate this nuisance, because I am tired of having to add notes to do this and emails to say this.2) Need an wyziwig editor on the member (front end) Edit article by the way please. ![]() |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| No Content Appearing | shunny | Subrion Core Discussion | 9 | 06-21-2007 01:57 AM |