live demo
Home arrow Support arrow Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Post Reply Favoured: 0
TOPIC: Re:editor
#2753
editor 3 Months, 1 Week ago Karma: 0  
hi there

the height of my main content is 300px. When I login and try to edit some text (using JCE), I can't realy use the editor because I only see the top of the editor window. There is not enough height space to show the whole editor and there are no scroll bars ...
Is there a way to overcome this problem? Implementing scrollbars in the editor or launching the editor in a new window or ....

tx
luc vande reyde (User)
Fresh Bamboo
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Report to moderator   Logged Logged  
 
The administrator has disabled public write access.  
#2756
Re:editor 3 Months, 1 Week ago Karma: 40  
Hi Luc,

I think the easiest way to solve this would be to use the index2.php function in Joomla. When you put 2 at the end of index it basically outputs the page as raw data without css styling. An example url would look like this:

index2.php?option=com_content&task=edit&sectionid=9&id=271&Itemid=100

Cheers Anthony
Anthony Olsen (Admin)
Admin
Posts: 1735
graph
User Online Now Click here to see the profile of this user
Joomla Bamboo
Report to moderator   Logged Logged  
 
Creative Unique Minimal Joomla Templates
 
The administrator has disabled public write access.  
#2768
Re:editor 3 Months, 1 Week ago Karma: 0  
hmm, but then I need to put this 'index2' link behind the editor icon. Any idea where to find this?

Luc
luc vande reyde (User)
Fresh Bamboo
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Report to moderator   Logged Logged  
 
The administrator has disabled public write access.  
#2774
Re:editor 3 Months, 1 Week ago Karma: 40  
Are you using J1.0 or J1.5?
Anthony Olsen (Admin)
Admin
Posts: 1735
graph
User Online Now Click here to see the profile of this user
Joomla Bamboo
Report to moderator   Logged Logged  
 
Creative Unique Minimal Joomla Templates
 
The administrator has disabled public write access.  
#2786
Re:editor 3 Months ago Karma: 0  
J 1.0
For the moment on a local server

luc
luc vande reyde (User)
Fresh Bamboo
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Report to moderator   Logged Logged  
 
The administrator has disabled public write access.  
#2789
Re:editor 3 Months ago Karma: 40  
Hi Luc,

Ok so you need to open components/com_content/content.html.php and go to about line 662 and change the link reference to:

Code:

$link = 'index2.php?option=com_content&task=edit&id='. $row->id . $row->Itemid_link .'&Returnid='. $row->_Itemid;
I just did a quick test and it seemed to work ... let me know how you get on, Anthony
Anthony Olsen (Admin)
Admin
Posts: 1735
graph
User Online Now Click here to see the profile of this user
Joomla Bamboo
Report to moderator   Logged Logged  
 
Creative Unique Minimal Joomla Templates
 
The administrator has disabled public write access.  
#2821
Re:editor 3 Months ago Karma: 0  
Anthony, the save button doesn't work when changing the link. I get an error 'Tiny mce is not defined' - rule 60

luc
luc vande reyde (User)
Fresh Bamboo
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Report to moderator   Logged Logged  
 
The administrator has disabled public write access.  
#2829
Re:editor 3 Months ago Karma: 40  
Hi Luc,

Ive just had a quick play around with trying to get the editor to work in index2.php but its a little beyond me at the moment.

I think the next easiest way to work it is to setup another template (either of scroller or another template that has enough height) and change the template manually in the url. That will mean that no one will stumble across the template by accident and will only be availble to you as you will know what it is.

So when you are wanting to edit just place the following after the url:
?jos_change_template=jb_scroller

where jb_scroller equals the name of your template.

This is probably the easiest fix I think.

Cheers Anthony
Anthony Olsen (Admin)
Admin
Posts: 1735
graph
User Online Now Click here to see the profile of this user
Joomla Bamboo
Report to moderator   Logged Logged  
 
Creative Unique Minimal Joomla Templates
 
The administrator has disabled public write access.  
Go to top Post Reply
Powered by FireBoard
,