Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Information Pages Unlimited v1.0


335 replies to this topic

#321 MonteMcDonald

  • Community Member
  • 5 posts

Posted 15 October 2011, 23:48

View PostSLiCK_303, on 04 October 2011, 19:43, said:

Don't use ocs1409's contrib, it doesnt work......

Thanks! do you recommend any other similar contribution?

#322 SLiCK_303

  • Community Member
  • 76 posts
  • Real Name:Mark
  • Gender:Male
  • Location:Monroe, LA. USA

Posted 16 October 2011, 02:10

Try using my contrib of Information pages, assuming you are using OSC v2.3.1.

#323 wolfapache

  • Community Member
  • 3 posts
  • Real Name:Jason O'Conner

Posted 16 December 2011, 15:16

I installed it accordingly but when I go in the admin area of Info Manager and click on each option I get this error "Fatal error: Call to undefined function tep_draw_textarea_ckeditor() in /home/guard/public_html/admin/information_form.php on line 120 "

I am not that much familiar with oscommerce so cannot figure out on my own.

Can someone help please. I get the same error on both "Information pages" and "Welcome message"

Attached Files



#324 PupStar

  • Community Member
  • 383 posts
  • Real Name:Mark
  • Gender:Male

Posted 17 December 2011, 20:13

View Postwolfapache, on 16 December 2011, 15:16, said:

I installed it accordingly but when I go in the admin area of Info Manager and click on each option I get this error "Fatal error: Call to undefined function tep_draw_textarea_ckeditor() in /home/guard/public_html/admin/information_form.php on line 120 "

I am not that much familiar with oscommerce so cannot figure out on my own.

Can someone help please. I get the same error on both "Information pages" and "Welcome message"

its because you do not have the 'ckeditor' installed.

Install this http://addons.oscommerce.com/info/7650

and all should be ok.

Mark
My Contributions (so far):

Join Us On Facebook & Twitter Infobox

Contributions currently installed into osCommerce 2.3.1

  • Ajax Attributes Manager
  • CKEditor
  • Column Listing with smart column (modified)
  • Documents Manager
  • Easy Map
  • EasyPopulate v2_76i_231
  • Mindsparx Specials
  • Mindsparx Admin
  • OTF Auto Thumbnailer v2.4
  • Star Product v1.6 + Mindsparx Pimped version
  • Ultimate SEO Urls
  • Who's Online Enhancement
  • Printer Filter V1.7 (modified)
  • Info Pages Unlimited v2.07
  • Google Feeder V2.6
  • Year Make Model

#325 wolfapache

  • Community Member
  • 3 posts
  • Real Name:Jason O'Conner

Posted 18 December 2011, 06:26

Thanks Mark ...... Can you please assist me on one more thing. How can I add additional html pages to my oscommerce plus is there a add-on that I can install easily to be able to edit all my templates from admin area?

#326 wolfapache

  • Community Member
  • 3 posts
  • Real Name:Jason O'Conner

Posted 18 December 2011, 06:33

its because you do not have the 'ckeditor' installed.

Install this http://addons.oscommerce.com/info/7650

and all should be ok.

I tried to download this but I am unable to open it its corrupt.

#327 click2shop

  • Community Member
  • 27 posts
  • Real Name:Roelf Keulder
  • Gender:Male
  • Location:Randfontein, South Africa

Posted 21 December 2011, 12:18

I have installed this module and the ckeditor module but in my admin area under info manager, when I click in Information Pages, there is no pages, when I click on new page, it show a space for title and entry_text, I can fill in the title but can't do anything else.

I went through the instructions but can not find what I have done wrong. the ckeditor I have uploaded is v3.6.2.

On the front end all of my existing info pages i.e. shipping, etc. is not showing only contact us.

Can anyone please help me. It will be highly appreciated

#328 click2shop

  • Community Member
  • 27 posts
  • Real Name:Roelf Keulder
  • Gender:Male
  • Location:Randfontein, South Africa

Posted 21 December 2011, 12:56

View Postclick2shop, on 21 December 2011, 12:18, said:

I have installed this module and the ckeditor module but in my admin area under info manager, when I click in Information Pages, there is no pages, when I click on new page, it show a space for title and entry_text, I can fill in the title but can't do anything else. I went through the instructions but can not find what I have done wrong. the ckeditor I have uploaded is v3.6.2. On the front end all of my existing info pages i.e. shipping, etc. is not showing only contact us. Can anyone please help me. It will be highly appreciated

PS I have also made the changes to the CKEditor suggested by JohnAtym in the contribution page http://addons.oscommerce.com/info/7650
and CKEditor works under my product pages etc. But still not under the Information Manager, I guess I have some where installed the IPU module wrong.

#329 click2shop

  • Community Member
  • 27 posts
  • Real Name:Roelf Keulder
  • Gender:Male
  • Location:Randfontein, South Africa

Posted 21 December 2011, 13:36

View Postclick2shop, on 21 December 2011, 12:56, said:

PS I have also made the changes to the CKEditor suggested by JohnAtym in the contribution page http://addons.oscommerce.com/info/7650 and CKEditor works under my product pages etc. But still not under the Information Manager, I guess I have some where installed the IPU module wrong.

This is all i see

Add information to queue #1 Status Active Inactive Parent page If a Parent page is required you will need to add one after creating this entry Sort order


Title ENTRY_TEXT

Edited by click2shop, 21 December 2011, 13:41.


#330 geoffreywalton

  • Community Sponsor
  • 7,618 posts
  • Real Name:Geoffrey Walton
  • Gender:Male
  • Location:Norfolk, UK (close to the centre of the universe)

Posted 01 January 2012, 21:19

View PostSLiCK_303, on 16 October 2011, 02:10, said:

Try using my contrib of Information pages, assuming you are using OSC v2.3.1.

Do you have a version where the "TEXT_MAIN" from IP appears on the front page.

Thanks

G
Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

Virus Threat Scanner
My Contributions
Basic install answers.
Click here for Contributions / Add Ons.
UK your site.
Site Move.
Basic design info.

For links mentioned in old answers that are no longer here follow this link Useful Threads.

If this post was useful, click the Like This button over there ======>>>>>.

#331 rubyblue

  • Community Member
  • 10 posts
  • Real Name:Sally-Ann

Posted 06 January 2012, 13:49

Hi, I installed this but when I go to add a new page, in the text entry field, it says there is a fatal error in catalog/admin/information_form.php at line 120
I installed that file to that folder as instructed without altering it.... any ideas what the problem could be?
Thanks

#332 bassmaga

  • Community Member
  • 23 posts
  • Real Name:Kamil
  • Gender:Male
  • Location:Poland

Posted 06 January 2012, 18:47

View Postclick2shop, on 21 December 2011, 13:36, said:


This is all i see

Add information to queue #1 Status Active Inactive Parent page If a Parent page is required you will need to add one after creating this entry Sort order


Title ENTRY_TEXT

View Postclick2shop, on 21 December 2011, 12:56, said:


PS I have also made the changes to the CKEditor suggested by JohnAtym in the contribution page http://addons.oscommerce.com/info/7650
and CKEditor works under my product pages etc. But still not under the Information Manager, I guess I have some where installed the IPU module wrong.

Hello

I have the same problem. Did you found solution?

#333 bassmaga

  • Community Member
  • 23 posts
  • Real Name:Kamil
  • Gender:Male
  • Location:Poland

Posted 18 January 2012, 08:31

View Postgiostark, on 23 January 2009, 18:41, said:

Hi ,
I found the same problem , but still I haven't looked that.

But for the moment I have to suggest an other thing:

in the file /includes/languages/"your_language.php" I have to comment "//" the lines of greeting. Ex "//define(' TEXT_GREETING_GUEST ' " , otherwise in the index appear always the "original greeting text"

Maybe this should be suggested in the read-me/install file .


Salut


Why this information is not included in the installation readme? :)

#334 s_pauley

  • Community Member
  • 9 posts
  • Real Name:Sherry Pauley

Posted 19 January 2012, 12:03

Can someone direct me to the correct infopages version or another infopage contrib to install on osc rc2a shop with fckeditor installed..

Thanks,

Sherry

Edited by s_pauley, 19 January 2012, 12:07.


#335 click2shop

  • Community Member
  • 27 posts
  • Real Name:Roelf Keulder
  • Gender:Male
  • Location:Randfontein, South Africa

Posted 20 January 2012, 14:05

View Postbassmaga, on 06 January 2012, 18:47, said:

Hello I have the same problem. Did you found solution?
Sorry dude, Could not get it to work yet. :(

#336 bassmaga

  • Community Member
  • 23 posts
  • Real Name:Kamil
  • Gender:Male
  • Location:Poland

Posted 20 January 2012, 14:59

View Postclick2shop, on 20 January 2012, 14:05, said:

Sorry dude, Could not get it to work yet. :(

Try this:
In admin\includes\functions\html_output.php add:
/// ckeditor output
  function tep_draw_textarea_ckeditor($name, $width, $height, $text = '', $parameters = '', $reinsert_value = true) {
	global $HTTP_GET_VARS, $HTTP_POST_VARS;
	$field = '<textarea name="' . tep_output_string($name) . '" style="width:' . tep_output_string($width) . 'px;height:' . tep_output_string($width) . 'px" rows="10" cols="10" ';	if (tep_not_null($parameters)) $field .= ' ' . $parameters;
	$field .= '>';	if ( ($reinsert_value == true) && ( (isset($HTTP_GET_VARS[$name]) && is_string($HTTP_GET_VARS[$name])) || (isset($HTTP_POST_VARS[$name]) && is_string($HTTP_POST_VARS[$name])) ) ) {
	  if (isset($HTTP_GET_VARS[$name]) && is_string($HTTP_GET_VARS[$name])) {
		$field .= tep_output_string_protected(stripslashes($HTTP_GET_VARS[$name]));
	  } elseif (isset($HTTP_POST_VARS[$name]) && is_string($HTTP_POST_VARS[$name])) {
		$field .= tep_output_string_protected(stripslashes($HTTP_POST_VARS[$name]));
	  }
	} elseif (tep_not_null($text)) {
	  $field .= tep_output_string_protected($text);
	}
	$field .= '</textarea>';
		$field .=	 '<script type="text/javascript">
		CKEDITOR.replace( \''.tep_output_string($name).'\',
	{
		
		
		 filebrowserBrowseUrl : \''.DIR_WS_ADMIN.'ckeditor/filemanager/index.php?editor=ckeditor\',
   filebrowserImageBrowseUrl  : \''.DIR_WS_ADMIN.'ckeditor/filemanager/index.php?editor=ckeditor&filter=image\',
   filebrowserFlashBrowseUrl  : \''.DIR_WS_ADMIN.'ckeditor/filemanager/index.php?editor=ckeditor&filter=flash\',
  
	   });
			 </script>';
	 return $field;
   }
   

And were you need ckeditor change


tep_draw_textarea_field
to
tep_draw_textarea_ckeditor

but this function hasn't $wrap parametr

For example in admin/information_form.php

from

<?php echo tep_draw_textarea_field('information_description[' . $languages[$i]['id'] . ']', '', '100', '20', (($languages[$i]['id'] == $languages_id) ? stripslashes($edit[information_description]) : tep_get_information_entry($information_id, $languages[$i]['id'], 'information_description'))); ?>

to

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

Edited by bassmaga, 20 January 2012, 15:02.