Rename buttons on toolbar?

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
sheres54tea
Contributor
Contributor
Posts: 25
Joined: Wed Oct 12, 2005 2:38 pm

Rename buttons on toolbar?

Post by sheres54tea »

Any way to give a differnet name to a button on a toolbar? Or are these simply graphics?
Simon

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

You can change the name by setting the button key to a name instead of true or false.

[Buttons]
Back=Previous
Forward=Next
...

--Scott

sheres54tea
Contributor
Contributor
Posts: 25
Joined: Wed Oct 12, 2005 2:38 pm

Toolbar button

Post by sheres54tea »

Great. Thanks. Is there anyway to redirect the Home button to a "different" home page than what is designated initally at the beginning of the .ini file?
Simon

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

There is a way to have the command line home page mapped to the home button.

[Browser]
...
CommandLineHomePage=True
...

--Scott

sheres54tea
Contributor
Contributor
Posts: 25
Joined: Wed Oct 12, 2005 2:38 pm

Different Home

Post by sheres54tea »

Not sure I understand your response Scott. I would like the "renamed" Home button on the tool bar go to a different (or second home page) if you will, than what is designated as HomePage below. But the other Home page is used elsewhere in out catalog, so I don't want to change that.

I guess I don't really understand the use of the CommandLineHomePage, except if used in a batch file or shortcut, but I'm not doing that. I want to specify the other page in the .ini file, like the URL=http://libcat.biola.edu/

Simon

[Buttons]
Back=Previous
Forward=Next
Home=Biola Catalog
[Browser]

HomePage=http://www.teamsoftwaresolutions.com/thankyou.html
CommandLineHomePage=False
Simon

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

The Home button will only go to a single home page designated when PWB starts.

To have multiple buttons going to different pages, use the PWB shellbar and place Internet shortcuts into the shellbar folder.

[Browser]
...
ShowShellBar=True
...

[Files]
...
ShellBarFolder=C:\Path to Folder\ShellBar
...

In the shellbar folder, right click and create a new shortcut. In the location box type the URL you want the button to go to. Name the shortcut the name you want it to be on the shellbar.

--Scott

sheres54tea
Contributor
Contributor
Posts: 25
Joined: Wed Oct 12, 2005 2:38 pm

Button opens new PWB

Post by sheres54tea »

I did what you suggested and it worked, except that the shortcut opened another PWB browser, rather than just going to the defined URL. I tried different ways of specifying the target in the properties, but to no avail. What am I dong wrong?

Simon
Simon

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

Ensure the following is set to false.

[SecondWindow]
...
ShellBarURLNewWindow=False
...

--Scott

sheres54tea
Contributor
Contributor
Posts: 25
Joined: Wed Oct 12, 2005 2:38 pm

Shell Bar

Post by sheres54tea »

It is set as you specified. Still get a second browser opening. This is what I have as the shortcut target = "C:\Program Files\TeamSoftware Solutions\Public Web Browser v2\PWB.exe"
Simon

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

What is the target of the Shortcut in the Shellbar folder?

It should be, www.team2s.com, for example to cause PWB to browse to our web site in the same window.

The sortcut should be to a URL not to an EXE.

--Scott

sheres54tea
Contributor
Contributor
Posts: 25
Joined: Wed Oct 12, 2005 2:38 pm

Shortcut target

Post by sheres54tea »

This is what I have as the shortcut target = "C:\Program Files\TeamSoftware Solutions\Public Web Browser v2\PWB.exe"

If I change it to libcat.biola.edu -- does not work, error message says it is not valid.
If I change it to http:\\libcat.biola.edu -- does not work.

Don't know.
Simon

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

Open Internet Explorer.
Navigate to the page you want.
Create a Favorite to the page.
Open Windows Explorer.
Navigate to the Favorites folder.
Copy the newly created Favorite.
Paste the Favorite into the Shellbar folder.

This will add a Shellbar button that will navigate to the page you set in the Favorite.

Tihs can also be done by right clicking in the Shellbar folder and selecting New Shortcut. In the location type the URL address, for example "http://www.team2s.com" into the location box.

--Scott

Your shortcut should look like this.
Image

sheres54tea
Contributor
Contributor
Posts: 25
Joined: Wed Oct 12, 2005 2:38 pm

Shortcut target

Post by sheres54tea »

Worked! I know it was simple, but thanks Scott.
Simon

Post Reply