Jump to content

Configuration Help Wish to place Small Banner At Right Side?


Recommended Posts

I like to place a small banner at right hand side of website page

Download this module. Disclosure: module is built by me. Install, go to configuration page, select right column blocks from the 'Block position' drop-down, add the relevant HTML to display the banner to 'Block content'. E.g.

<img src="link to banner image....

Adjust the block position as required: Back Office > Modules > Positions > Right column blocks

Link to comment
Share on other sites

Dear Phrasespot,

 

thanks for kind support. But sorry to say after installing your module on cofigure page of module I am getting error massage as "500 internal server error" . I have set permissions for file as 644 and for folder its 755.

 

I am not getting any kind of error while installing but only on configure page I am geting error. I am using PS 1.4.6.2 version & ipage hosting.

 

Please suggest solution.

 

Thanks

Link to comment
Share on other sites

Dear Friend,

 

Ignore my last post. Its showing below error.

 

Internal Server Error

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

 

I tried by deleting and new installation of module. But still getting above error. I have sent query to my hosting provider. Waiting for referance.

 

Thanks

Link to comment
Share on other sites

Dear Friend,

 

I just received response from them that "There is no issue on our server and also there is no error log generated. Hence please contact your application provider and check the issue."

 

It will be great if you provide me other alternative solution.

 

Thanks

Link to comment
Share on other sites

This module is an interesting solution Phrasespot. I've been doing the same thing with the Google Ad module by placing another company's widget in it. But I will definitely try yours.

 

Question: Is it possible to have two instances of the one module running? That is, can I run two different html widgets in it? Perhaps by installing it twice and changing the name of the module for the second installation?

Link to comment
Share on other sites

It will be great if you provide me other alternative solution.

 

Locate the file /config/config.inc and replace

 

@ini_set('display_errors', 'off');
define('_PS_DEBUG_SQL_', false);

 

with

 

@ini_set('display_errors', 'on');
define('_PS_DEBUG_SQL_', true);

 

Try again, and let me know.

 

Question: Is it possible to have two instances of the one module running? That is, can I run two different html widgets in it? Perhaps by installing it twice and changing the name of the module for the second installation?

 

Running two instances would require more changes than just changing the name. What are you trying to achive exactly? Hook, say left column e.g., twice? You could insert two widgets into the same hook e.g. select left column block, insert twitter widget, followed by FB widget into the same hook.

Link to comment
Share on other sites

Dear Friend,

 

I tried u r solution. Its showing below error.

 

 

Smarty error: [in /modules/multiblockatoh/tpl/back_office.tpl line 78]: syntax error: invalid attribute name: '$assignedVars.hook.remaining' (Smarty_Compiler.class.php, line 1550) in /XXXX/tools/smarty_v2/Smarty.class.php on line 1095

 

Please let us know if you need any more information. Awaiting for solution and thanks for kind support.

 

Regards

Link to comment
Share on other sites

/tools/smarty_v2/Smarty.class.php

 

You are using Smarty 2. The module requires Smarty3. If you don't have any specific need for smaryt2 switch to smarty3 and all should be OK (Back Office > Preferences > Use Smarty 2 instead of 3 =no). Remember to revert to changes you made to config file.

Link to comment
Share on other sites

Thank you for the response Phrasespot. What I really want to do is run one kind of widget in the left column of my homepage, and then a different kind of widget in the left column of my product pages. Which maybe can't be done. Maybe if I used your module and the Google Adsense module (running a third party widget ) I could achieve that. Worth a try. What do you think?

Link to comment
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
×
×
  • Create New...