Jump to content
Sign in to follow this  
JustinS

Need Help With A Contribution Code

Recommended Posts

Multiple Products Manager v2.6.

 

Trying to get this installed. I've put everything in the correct files, but now I am getting a problem with the code they give me to put into admin/includes/boxes/catalog.php.

 

Instructions Given:

 

 

Find:

 

'<a href="' . tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a><br>' .

 

 

Add After:

 

'<a href="' . tep_href_link(FILENAME_PRODUCTS_MULTI, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_MULTI . '</a><br>' .

______________

 

What I find:

 

 

array(

'code' => FILENAME_PRODUCTS_ATTRIBUTES,

'title' => BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES,

'link' => tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES)

),

 

What I tried to convert it to:

array(

'code' => FILENAME_PRODUCTS_MULTI,

'title' => MultiProducts,

'link' => (FILENAME_PRODUCTS_MULTI

),

 

Error:

 

Parse error: syntax error, unexpected ';', expecting ')' in /home/a7852663/public_html/admin/includes/boxes/catalog.php on line 58

 

EDIT: FIXED. I WAS MISSING AN ) AFTER (FILENAME_PRODUCTS_MULTI)

 

Will leave here for Google I guess?

Edited by JustinS

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×