Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Altering the admin panel product adding text areas


Name Name

Recommended Posts

post-310690-0-36889700-1338137781_thumb.png

I want to add an id to that selected textarea.

The code of it is

 <textarea name="products_description[2]" cols="70" rows="15">...</textarea>

And I need to add id="markItUp" to it. But I don't know what php file draws the textarea, and how could I add the id to it.

Link to comment
Share on other sites

@

 

That is not valid PHP. Editing files is not as simple as adding some HTML when you work with PHP and a SQL database.

 

The file you will need to edit is the /admin/categories.php but if you are adding a field, you will also need to alter the database to accept the data from the new field which means you also need to edit the SQL posts and queries on all relevant files

 

 

 

Chris

Link to comment
Share on other sites

@

 

Honestly, it's easier to use something already available than it is to try to create a new one.

 

 

 

Chris

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...