341
kerkyra
Re: would i get some support here
  • 2008/1/23 20:42

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


thats the code in the html template, behind that html file hides a php file that prepares all those variables connects to the db etc. in there you have to see if there is a variable holding the number of the subcategories of each category..and the name of it! otherwise if the variables are not passed through the php file to the template it will show you nothing...
www.guidemap.gr - Beta is out...



342
kerkyra
Re: would i get some support here
  • 2008/1/23 14:44

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


create a MySQL query in the php file responsible for showing that template.

the query should return the records in the database that have the parent id number same as the id number of the parent categories.

save the count results in an array and pass it to the template via smarty,

edit the template file and next to every category add the parentesis (), and inside the smarty variable that holds the subcategories count results for each category.

Thats only a rough idea on how you can do it! Hope it helps you a bit..
www.guidemap.gr - Beta is out...



343
kerkyra
Re: Wordbook Module and Spam
  • 2008/1/17 14:10

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


wordbook is not supported anymore! The new name of the 'wordbook' module project is lexikon
www.guidemap.gr - Beta is out...



344
kerkyra
Re: the Perfect DHTML HACK for Xoops ( easier than WYSIWYG)
  • 2007/10/26 8:48

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


I mean something to turn on or off the html code into the text area! Like the 'Enable XOOPS Codes' Radio button which is already there. :)
www.guidemap.gr - Beta is out...



345
kerkyra
Re: Adding of tpl for Smarty templates too Xoops
  • 2007/10/14 11:00

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


that looks very interesting! Perhaps it could be included in the following versions o XOOPS as well!
www.guidemap.gr - Beta is out...



346
kerkyra
debaser hack - javascript inside php with echo - openwithselfmain
  • 2007/10/12 17:46

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


hi i'm trying to make an image link to open in a popup window using javascript but the script is not working! anybody knows whats wrong with the following code??

Quote:
<a href=javascript:openWithSelfMain('/modules/debaser/popup.php?select='$radio_id,'Radio',10,10);'>


this code is part of a file i made for debaser called radio.php and is responsible for showing a list with the stations added in the module (see demo at www.mykerkyra.gr/modules/debaser/radio.php)

the code is the following

Quote:
<?php

include '../../mainfile.php';
include XOOPS_ROOT_PATH.'/modules/debaser/include/functions.php';
include XOOPS_ROOT_PATH.'/header.php';
include_once XOOPS_ROOT_PATH.'/modules/debaser/class/debasertree.php';
global $xoopsDB;
global $admin, $radioid;

echo "
<table class='outer' width='100%'>
<tr>
<td colspan='4' class='odd'>
<strong>"._AM_DEBASERRAD_PROG."</strong>
</td>
</tr>";
$count = 0;
$idnum = 1;

$sql = "SELECT radio_id, radio_name, radio_picture, radio_url
FROM ".$xoopsDB->prefix('debaserradio')."
ORDER BY radio_name ASC";

$result = $xoopsDB->query($sql);
while (list($radio_id, $radio_name, $radio_picture,$radio_url) = $xoopsDB->fetchRow($result)) {

if ($radio_id != "") {
if ($count == 0) {$count = 1;}
echo "
<tr><td class='even' align='center' width='60'><img src='http://www.mykerkyra.gr/modules/debaser/images/$radio_picture' width='60' height=35' alt='$radio_name'/></strong></td>
<td class='odd'>$radio_name</td>
<td class='even' align='center' width='40'>
<a href=javascript:openWithSelfMain('/modules/debaser/popup.php? select='$radio_id,'Radio',10,10);'> -----> this part of the code is the one not working at all

//<a target='_new' href='popup.php?select=$radio_id'> ----> this works but not as a pop up window

<img src='images/listen.jpg' alt='Listen' title='Click to listen' /></a></td>
<td class='odd' align='center' width='40'>
<a target='_blank' href='$radio_url'>
<img src='images/homepage.gif' alt='Home Page' title='Click to visit homepage' /></a></td></tr>";
$idnum = $idnum + 1;
}
}echo "</table>";

include_once XOOPS_ROOT_PATH.'/footer.php';
?>
www.guidemap.gr - Beta is out...



347
kerkyra
Re: Google maps WYSIWYG editor...RSS hack
  • 2007/10/3 0:16

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


I just hope this will make others continue working on this module! Team work always pays back! Thank you very much for your help Mowaffak! It would take me ages to do what you did with the editor!
www.guidemap.gr - Beta is out...



348
kerkyra
Re: Google maps WYSIWYG editor...RSS hack
  • 2007/10/2 21:47

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


Finally I got it working! Now the html editor works for both front and backend (admin area)! The Second info box is added as well in te admin area. And the rss is finished also! You can download the module from the link bellow!

Google maps 0.82 hacked
www.guidemap.gr - Beta is out...



349
kerkyra
Re: Google maps WYSIWYG editor...RSS hack
  • 2007/10/1 18:38

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


You are the man!!!! Thats excellent work! The only thing is that, I didnt notice the admin section of adding and modifying the points and i didnt add the secont text area for the picture tab! I added it now, and i also added the wysiwyg editor in the managepoint.php (frontend) for the users).

When Modifying a point though the html text for the description is not loaded from the database where as the Image html text is showing in the box! can you have a look to tell me what i'm doing wrong?

the link of your modified files with my changes is here

htpp://www.mykerkyra.gr/patches/googlemapshacked.zip
www.guidemap.gr - Beta is out...



350
kerkyra
Re: Good bye xoops banner
  • 2007/9/30 23:29

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


you could delete the 'xoops' client or the XOOPS banners through the administration if you dont want them to show!
www.guidemap.gr - Beta is out...




TopTop
« 1 ... 32 33 34 (35) 36 37 38 ... 40 »



Login

Who's Online

215 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 215


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits