How Can I Replace Quotes With Google Search Box

I want to know how to remove, the Quotes on the top right and replace it with codes of Google search box and have it properly aligned.

Quote · 15 Nov 2010

thats  a  good  idea

Quote · 15 Nov 2010

Hello you can add your google search box in template directly. Look in templates/base/_sub_header.html for example

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 15 Nov 2010

Thanks - SashaE: I need clarification on the following too:

- Any particular line in the codes?

- During Adsense setup, they ask for a page url to display result (if you prefer search results to be displayed within your site - wish I do), what url in the Dolphin pages will be ideal to put? (I use D7.0.2).

- Is there any required code to ensure its properly aligned?

Thanks guys in anticipation of your response.

Quote · 15 Nov 2010

 

Thanks - SashaE: I need clarification on the following too:

- Any particular line in the codes?

- During Adsense setup, they ask for a page url to display result (if you prefer search results to be displayed within your site - wish I do), what url in the Dolphin pages will be ideal to put? (I use D7.0.2).

- Is there any required code to ensure its properly aligned?

Thanks guys in anticipation of your response.

^^^^

Can someone help with the above please. Thanks.

Quote · 8 Dec 2010

Why not just go into Tools> Banners:

 

- Create a title for it

- Place the code in the text box

- Position on page - click the 'Right' box

- Make Horizontal/Vertical  adjustments using HShift and VShift (the ones under Right)

Nothing to see here
Quote · 8 Dec 2010

Thanks Zarcon: It fitted great. Kindly assist with last part.

- During Adsense setup, they ask for a page url to display result (if you prefer search results to be displayed within your site - wish I do), what url in the Dolphin pages will be ideal to put? (I use D7.0.2).

This is the type of result am hoping for:

http://www.boonex.com/unity/googlesearch/search?

http://www.boonex.com/unity/googlesearch/search?q=boonex

Thanks for your reply.

Quote · 8 Dec 2010

^^^ I still need help with this. Can someone tell me how to add both the search box page and search result page to my page? (Currently, the google search results page opens in a new window - Google custom search page) I need it to open like the Dolphin search pages above.

Quote · 16 Feb 2011

log into your adsence account then go to this site www.google.com/cse/

you should be able to create a custome search engine

Quote · 16 Feb 2011

1) Go to admin panel.

2) Go to Builders.

3) Go to Pages Blocks.

4)  Click on Add Page and name the page to whatever you want it to be.  EXAMPLE:  SEARCH (this should be the name of the page).

5)  Click on Add Column.

6)  Drag HTML Block to the Column.

7) Open the HTML Block.

NOTE:

A) Do not close opened HTML Block.  You need to copy and paste the script from Google.

B) Google will ask you for a link before they provide you the script. The link that you will provide should look like this: www.yourdomainname.com/page/SEARCH (provide this link).

8) Paste the script to the HTML Block.

9) Save.

10) DONE and Enjoy.

 

Respectfully,

Jeff

Quote · 16 Feb 2011

You can add the search box either in the Banners section(TOP or BOTTOM)--->search engine will show up to all of your  web pages or you can specify a location in a particular page you prefer as in account page or profile page etc...

 

Good luck and Enjoy.

 

Respectfully,

Jeff

Quote · 16 Feb 2011

Check this out:  http://www.boonex.com/unity/forums/topic/making-a-new-page-http-sitename-com-page-game.htm

Quote · 16 Feb 2011

Thanks everyone. I finally got it working.

I used the tips from the above tips:
- I used Zarcon's suggestion to add the Google search bar in place of the Quote
- Used stargazer2426's first post above to have the Search Page working

But when it keep returning the codes as text on the page, I used an addition tip from newton27 in another post. Here was a part of his post.

 

  1. Open your phpmyadmin from you cPanel
  2. Open your Dolphin MySQL database
  3. Open and edit sys_page_compose
  4. navigate to the last page of list with the ">>" button
  5. find the page you inserted Adsense code to
  6. re paste the Adsense code into the "Content" field
  7. and click "Go"

NB: Remember to clear cache. Hope this will help, cheers!

Quote · 19 Feb 2011

 

Thanks everyone. I finally got it working.

I used the tips from the above tips:
- I used Zarcon's suggestion to add the Google search bar in place of the Quote
- Used stargazer2426's first post above to have the Search Page working

But when it keep returning the codes as text on the page, I used an addition tip from newton27 in another post. Here was a part of his post.

 

  1. Open your phpmyadmin from you cPanel
  2. Open your Dolphin MySQL database
  3. Open and edit sys_page_compose
  4. navigate to the last page of list with the ">>" button
  5. find the page you inserted Adsense code to
  6. re paste the Adsense code into the "Content" field
  7. and click "Go"

NB: Remember to clear cache. Hope this will help, cheers!

No problem.  Anytime.  I forgot to add an addition instruction I learned from AnyaKates (Developer) so you will never do what you just did per Newton27:

 

Edit:

inc\classes\BxDolPageViewAdmin.php

 

Look for this at about line 473:

 

if( $aItem['Func'] == 'Echo' ) {

$aForm['inputs']['Content'] = array(

'type' => 'textarea',

'html' => false,

'attrs' => array ('id' => 'form_input_html'.$iBlockID),

'name' => 'Content',

'value' => $sBlockContent,

'caption' => $sHtmlContentC,

'required' => true,

'colspan' => true,

);

 

 

Change to this:

 

if( $aItem['Func'] == 'Echo' ) {

$aForm['inputs']['Content'] = array(

'type' => 'textarea',

'html' => false,

//'attrs' => array ('id' => 'form_input_html'.$iBlockID),

'name' => 'Content',

'value' => $sBlockContent,

'caption' => $sHtmlContentC,

'required' => true,

'colspan' => false,

);

Enjoy.

Respectfully,

Jeff Wink

Quote · 19 Feb 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.