Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Information Pages Unlimited v1.0


348 replies to this topic

#341 GoTTi

  • Community Member
  • 438 posts
  • Real Name:GoTTi

Posted 07 April 2012, 19:33

i installed this mod. i installed ckeditor. when i go to admin and information pages on the left side and click new page i get error that shows under a field box TITLE:

ENTRY_TEXT

Fatal error: Call to undefined function tep_draw_textarea_ckeditor() in /home/newline/public_html/admin/information_form.php on line 120

any help on this. trying to install it on 2.3...

#342 GoTTi

  • Community Member
  • 438 posts
  • Real Name:GoTTi

Posted 07 April 2012, 19:39

cant anything work right anymore....

what is wrong with this code in the information_form.php page that is making the error happen?


					    <?php 
						  echo tep_draw_textarea_ckeditor('information_description[' . $languages[$i]['id'] . ']', '', '140', '80', (isset($information_description[$languages[$i]['id']]) ? stripslashes($edit[information_description]) : tep_get_information_entry($information_id, $languages[$i]['id'], 'information_description')));	  
					   ?>


#343 strub

  • Community Member
  • 157 posts
  • Real Name:Strub

Posted 07 April 2012, 19:51

Do you have this code from information_form.php?

If so Ihave sth like that:
tep_draw_fckeditor('information_description[' . $languages[$i]['id'] . ']','800','500', (($languages[$i]['id'] == $languages_id) ? stripslashes($edit[information_description]) : tep_get_information_entry($information_id, $languages[$i]['id'], 'information_description')));


#344 GoTTi

  • Community Member
  • 438 posts
  • Real Name:GoTTi

Posted 07 April 2012, 21:28

View Poststrub, on 07 April 2012, 19:51, said:

Do you have this code from information_form.php?

If so Ihave sth like that:
tep_draw_fckeditor('information_description[' . $languages[$i]['id'] . ']','800','500', (($languages[$i]['id'] == $languages_id) ? stripslashes($edit[information_description]) : tep_get_information_entry($information_id, $languages[$i]['id'], 'information_description')));

what are you asking ?

#345 Brainbug125

  • Community Member
  • 44 posts
  • Real Name:bob

Posted 09 April 2012, 12:07

View PostGoTTi, on 07 April 2012, 19:33, said:

i installed this mod. i installed ckeditor. when i go to admin and information pages on the left side and click new page i get error that shows under a field box TITLE:

ENTRY_TEXT

Fatal error: Call to undefined function tep_draw_textarea_ckeditor() in /home/newline/public_html/admin/information_form.php on line 120

any help on this. trying to install it on 2.3...
Here how I solved this issue
(you need ckeditor installed)

in admin/information_form.php

change

echo tep_draw_textarea_ckeditor('information_description[' . $languages[$i]['id'] . ']', '', '140', '80', (isset($information_description[$languages[$i]['id']]) ? stripslashes($edit[information_description]) : tep_get_information_entry($information_id, $languages[$i]['id'], 'information_description'))); 


to

echo tep_draw_textarea_field('information_description[' . $languages[$i]['id'] . ']', '', '140', '80', (isset($information_description[$languages[$i]['id']]) ? stripslashes($edit[information_description]) : tep_get_information_entry($information_id, $languages[$i]['id'], 'information_description')), 'class="ckeditor"'); 


Worked for me

Edited by Brainbug125, 09 April 2012, 12:07.


#346 Brainbug125

  • Community Member
  • 44 posts
  • Real Name:bob

Posted 09 April 2012, 16:55

I had to uninstall :(

Think version 2.31 is still bugged

List manager always show my pages in english (in admin) and not in my language (heading were good tough) .
I had few queries in my language...but after edited, added refresh a page, list manager returned in english.
(Cache problems? bad value passed?...dunno..)

Other problem was that box in catalog (with new pages) didnt show. I wasnt be able to fix that.

I fixed ckeditor issue (see my post above)....but i dont want to have an headache..... I will add pages manually

#347 GoTTi

  • Community Member
  • 438 posts
  • Real Name:GoTTi

Posted 10 April 2012, 08:14

View PostBrainbug125, on 09 April 2012, 12:07, said:

Here how I solved this issue
(you need ckeditor installed)

in admin/information_form.php

change

echo tep_draw_textarea_ckeditor('information_description[' . $languages[$i]['id'] . ']', '', '140', '80', (isset($information_description[$languages[$i]['id']]) ? stripslashes($edit[information_description]) : tep_get_information_entry($information_id, $languages[$i]['id'], 'information_description'))); 


to

echo tep_draw_textarea_field('information_description[' . $languages[$i]['id'] . ']', '', '140', '80', (isset($information_description[$languages[$i]['id']]) ? stripslashes($edit[information_description]) : tep_get_information_entry($information_id, $languages[$i]['id'], 'information_description')), 'class="ckeditor"'); 


Worked for me

this worked. thank you...
on the left of my input box it says ENTRY_TEXT

what do u mean box in catalog didnt show?

#348 Brainbug125

  • Community Member
  • 44 posts
  • Real Name:bob

Posted 10 April 2012, 18:38

He forgot to add

You have to define in your admin language (think in information.php or english.php or yourlanguage.php)
define('ENTRY_TEXT', 'Insert your Text');

Pages that I added werent displayed in catalog information box...

Maybe i found how to fix... (Thanks to JIM)

http://forums.oscommerce.com/topic/370432-information-pages-unlimited-for-23/page__view__findpost__p__1562643

#349 BFkiUB

  • Community Member
  • 7 posts
  • Real Name:Andrej

Posted 20 May 2012, 17:51

Dear Bob,
Did you maybe find the solution for this?
I have the same problem - the mess with languages ...

Best regards,
Andrej from Slovenia

View PostBrainbug125, on 09 April 2012, 16:55, said:

I had to uninstall :(

Think version 2.31 is still bugged

List manager always show my pages in english (in admin) and not in my language (heading were good tough) .
I had few queries in my language...but after edited, added refresh a page, list manager returned in english.
(Cache problems? bad value passed?...dunno..)