$Panel->AddListItem($ListName, 'Lussumo', 'http://www.lussumo.com', '', 'target="_blank"');should work
@mini: when you see something like $var = x in a function parameter that means that the parameter is optional, and x would be the default value; it dosn't mean you have $var = x as an argument :-P
hello
I installed sidepanel add-on and put this code (<object data="http://www.wecare-india.org/hp3.php" type="text/html" width="250" height="250" border="1" />) in default.php.
It works well in firefox but in IE except the side panel nothing is displayed. The main content is invisible.
I don't understand what is wrong with it??
I am trying to add link to the side-panel-something that will take visitors back to the main site. Something like this: "Go Back to Home page" I am reading the discussions and I am understanding anithing. I know .html and I am not familiar with .php at all. Is there a easy way that the dummy like me can use to insert the link in the side panel? Any help would be greatly appreciated. Thanks, Lela
i dont have v.1, sorry but i think you can open your theme file and add needed links in the place you want(the same way as i do for v.2) you can use html there as well you can create a big button on top of the side panel, or in the header banner of the forum
lukoie, thank you very much. I already downloaded and installed it-it is in my Extensions directory and I even checked the box next to the forum's Settings-extensions. I think, I am doing something wrong though: it does not do anything: I did not get the "path to the extension's directory" part from "read me" file- any idea which folder should I check for that path? Thanks a lot again, Lela:O)
Okay, so Vanilla 1's documentation sucks and so does some of the extensions Anyway, when you know how to use this extension, it's actually pretty simple.
You should end up with a directory structure that looks like this:
Then you just go into default.php and put some HTML links in where it says <!-- put content here -->.
Here's an example default.php of me messing around!
<?php /* Extension Name: Sidepanel Extension Url: http://lussumo.com/addons Description: Enables you to insert everything you want to appear in the sidepanel easily (based on Statcounter by JP Mitchell) Version: 1.0 Author: Thomas Schranz Author Url: http://suitcase.at */
Since @ichigo hasn'bt been here since August 2006, perhaps one of the board admins could update the extension with this repackaged one (no code was changed)? @Tim, @Mark?
thank you very much for all the help. Actually, I have this coding already done (However, I'll copy the code for the future reference though, it looks neat and organized):
<?php /* Extension Name: Sidepanel Extension Url: http://lussumo.com/addons Description: Enables you to insert everything you want to appear in the sidepanel easily (based on Statcounter by JP Mitchell) Version: 1.0 Author: Thomas Schranz Author Url: http://suitcase.at */
and files structure is exactly how you show to me. This is the extension for side-panel lukoie shared, I read the files inside and I modified a little.
I just do not understand how to connect it to Vanilla. It is there but it does not show at the sidepanel. Thanks, Lela:O)
Comments
$Panel->AddListItem($ListName, 'Lussumo', 'http://www.lussumo.com', '', 'target="_blank"');
should work@mini: when you see something like $var = x in a function parameter that means that the parameter is optional, and x would be the default value; it dosn't mean you have $var = x as an argument :-P
I am reading the discussions and I am understanding anithing.
I know .html and I am not familiar with .php at all.
Is there a easy way that the dummy like me can use to insert the link in the side panel?
Any help would be greatly appreciated.
Thanks,
Lela
I recently downloaded the vanilla-1.1.10 and I already installed it.
here is the link:
http://www.newsshower.com/Forum_Heliocentricism/
Thanks,
Lela
but i think you can open your theme file and add needed links in the place you want(the same way as i do for v.2)
you can use html there as well
you can create a big button on top of the side panel, or in the header banner of the forum
I already downloaded and installed it-it is in my Extensions directory and I even checked the box next to the forum's Settings-extensions. I think, I am doing something wrong though: it does not do anything: I did not get the "path to the extension's directory" part from "read me" file- any idea which folder should I check for that path?
Thanks a lot again,
Lela:O)
You should end up with a directory structure that looks like this: Then you just go into default.php and put some HTML links in where it says <!-- put content here -->.
Here's an example default.php of me messing around! P.S. Here's a clean, repackaged version of Sidepanel-1.0.zip without any of the OSX crap and with the Folder named correctly.
Since @ichigo hasn'bt been here since August 2006, perhaps one of the board admins could update the extension with this repackaged one (no code was changed)? @Tim, @Mark?
@lukoie
thank you very much for all the help.
Actually, I have this coding already done (However, I'll copy the code for the future reference though, it looks neat and organized):
http://www.newsshower.com/Forum_Heliocentricism/settings.php?PostBackAction=Extensions
Usr.name: {REMOVED}
password: {REMOVED}
This is the code- and files structure is exactly how you show to me.
This is the extension for side-panel lukoie shared, I read the files inside and I modified a little.
I just do not understand how to connect it to Vanilla. It is there but it does not show at the sidepanel.
Thanks,
Lela:O)
and btw, better take you password out from the forum, otherwise there will be no surprise you forum or even whole site could be hacked by someone
I did activated it from the adminpanel. It still does not do anything.
I'll change the password now.
Thanks,
Lela:O)