How do I hide the link to 'Other Stuff / Partnerships' on my site? When I delete it or set show="no", I get the following error ...
/home/alanrowley3/public_html/weather27/_my_texts/partners.php
I'm stumped.
ALAN.
1. If you want to display information about the "partners" (WU WOW and others) is set in wsUserSettings.php line
221 | $SITE['partners'] = 'V';// ##### show other websites (partners) with your weatherdata side('V') or bottom('B') or not ('')
You set it to display "V" which means vertical in the side area.
2. You set for each partner, if you are using that partner and what your ID is, lines 416-440
416 | #---------------------------------------------------------------------------
417 | # IMPORTANT Partner information:
418 | #---------------------------------------------------------------------------
419 | # your id's for weather sites, mostly used to display logo and make a link to your weatherdata on their site
420 | # set to false if you do not cooperate with them
421 | #
422 | # WU settings for your data at wunderground site IVLAAMSG47
423 | #
424 | $SITE['wuId'] = true;
425 | $SITE['wuId'] = 'INOTTING15'; // ##### the ID of your personal weather station at the Wunderground site or false if you are not a member
426 | $SITE['wuStart'] = '01-10-2009'; // ##### Stations first day of operation at wunderground format dd-mm-yyyy for wu history pages
427 | #
428 | # other sites where your data is shown
429 | #
430 | $SITE['hwaID'] = false; // ##### Example $SITE[hwaID'] = 'abcdefg';
431 | $SITE['wowID'] = 6099914; // ##### Example $SITE['wowID'] = 1234567;
432 | $SITE['awekasID'] = false; // ##### Example $SITE['awekasID'] = 1234;
433 | $SITE['wcloud'] = 'd0163319505'; // example $SITE['wcloud'] = 'd1686817653';
434 | $SITE['anWeID'] = false; // ##### Example $SITE['anWeID'] = '1234567';
435 | $SITE['pwsID'] = 'SELSTON'; // ##### Example $SITE['pwsID'] = 'abcd99';
436 | $SITE['cwopId'] = 'DW3696'; // ##### Example $SITE['cwopId'] = 'C6440';
437 | $SITE['weatherlinkID'] = ''; // ##### Example $SITE['weatherlinkID']= 'abcdefgh';
438 | $SITE['wp24ID'] = false; // ##### true or false
439 | $SITE['uswg'] = false; // ##### true or false
440 | #---------------------------------------------------------------------------
That is all. Deleting other scripts will result in errors.
Where do these errors come from:
Notice: Undefined index: wsPartners in /home/alanrowley3/public_html/weather27/_my_texts/partners.php
3. If you do not want a page to display, first set it to "hide" in the menu file.
Do not comment or remove to quickly all kind of pages WITHOUT slowly moving AND testing a lot.
Also do not remove whole groups if you think you do not need those pages.
The partners page is essential and wanted by you as you are member of multiple partners.
That partner page is used to display your information at that site inside the template.
So set the group again to show and the errors will be gone.
<item caption="Other Stuff" show="no">
4. Some examples at the demo site:
http://weather-template.nl/weather27/ => click on the logo of weathercloud and
http://weather-template.nl/weather27/index.php?p=82&s=wcloud&lang=en#data-area is displayed, inside the template, you are not loosing a visitor.
Clicking on the WOW log and again another partner page is displayed inside your own website.
But all those pages are displayed using wsPartners => p=82.
Wim