-
AuthorPosts
-
Daniel Michaels Friend
Daniel Michaels
- Join date:
- September 2014
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
July 24, 2010 at 12:24 am #152819The WYSIWYG editor is not working in the front end. I assumed that index.php was missing the following line just before the </head> tag: [PHP]<?php if ( $my->id ) { initEditor(); } ?>[/PHP]
It turns out that index.php points to T3, so there’s none of the usual index stuff. The file only includes the following:
[PHP]<?php
$tmpl = T3Template::getInstance($this);
$tmpl->render();[/PHP]
So the million dollar question. How can I activate my WYSIWYG editor for the front end. I love this template but I find the new template structure difficult to tweak. Any thoughts? :confused:aaronfarias Friendaaronfarias
- Join date:
- July 2010
- Posts:
- 132
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 12 times in 12 posts
July 24, 2010 at 5:24 am #350591If you have problems with the frontend editor in your Joomla 1.0.x template most likely this code here is missing:
<?php if ( $my->id ) { initEditor(); } ?>
What you can do then is to find the closing head tag:
</head>
And add this code above:
<?php if ( $my->id ) { initEditor(); } ?>
So it will look like this:
<?php if ( $my->id ) { initEditor(); } ?>
</head>
Daniel Michaels FriendDaniel Michaels
- Join date:
- September 2014
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 9
- Thanked:
- 5 times in 1 posts
July 24, 2010 at 12:27 pm #350611Yes, I understand this much. The problem is that there is no </head> tag in index.php. As I indicated in my post above, the index file only has a few lines that reference T3. So where can I find the </head> tag (which file is it in)? I also need to find this tag so that I can insert Google Analytics info. Thank you for your help.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 26, 2010 at 10:09 am #350718Hello !
Pls open and add those codes at the end of the file: plugins/system/jat3/base-themes/default/blocks/head.php.
As I indicated in my post above, the index file only has a few lines that reference T3. So where can I find the </head> tag (which file is it in)? I also need to find this tag so that I can insert Google Analytics info. Thank you for your help.
<< with this cause: pls try to find a extension on the JED which allow you using the Google Analytics feature without hard code in the php file: http://extensions.joomla.org/search?q=google+analyticsGOodluck
-
AuthorPosts
This topic contains 4 replies, has 3 voices, and was last updated by Saguaros 14 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum