Some sites i made two years ago (in a previous company :) )

mgeene

Hoi,

Ik zie dat je op http://www.verastor.be/pages/producten/rolluiktoebehoren.php gebruik maakt van het catalog module script, hoe heb je de subnavigatie gemaakt, ik ben op zoek naar precies dit uitklap menu, maar het lukt me gewoon niet dit te realiseren.

Kan je me hiermee helpen?
Onderstaand de code in view.php:


$query_cats = $database->query("SELECT * FROM `".TABLE_PREFIX."mod_catalogs_cats` WHERE active='1' AND parent='$parent' AND section_id='$section_id' ORDER BY position ASC");
if($query_cats->numRows() > 0)
{
echo "<ul class='categorie'>";
while($cat = $query_cats->fetchRow())
{

$query_link = $database->query("SELECT link FROM ".TABLE_PREFIX."pages WHERE page_id = '".PAGE_ID."' LIMIT 1");
if($query_link->numRows() > 0) {
    $fetch_link = $query_link->fetchRow();
$hasta=0;
while ($hasta!=$posiciones)
{
$hasta=$hasta+1;
}

echo "<li class='categorie'><a href=\"";
echo page_link($fetch_link['link']);
echo "?cat_id=".$cat["cat_id"]."\" >";
echo $cat['title'];
echo "</a></li>";
//echo "</ul>";
  }
  $query_sub_cats = $database->query("SELECT * FROM `".TABLE_PREFIX."mod_catalogs_cats` WHERE active='1' AND parent=".$cat['cat_id']." AND section_id='$section_id' ORDER BY position ASC");
  if($query_sub_cats->numRows() > 0)
  {
   $padre=$cat['cat_id'];
   $nuevas_posiciones=$posiciones+1;
   categories($database,$section_id,$padre,$nuevas_posiciones);
  }
 
}
}
echo "</ul>";
}


Alvast bedankt voor je reactie.

Groet,

Menno

tessed

Webdesign: [url="//www.desse.nl"]www.desse.nl[/url]

iceat

thanks!

verastor.be: it's the end user who wants to be creative i guess, i'd better send him an e-mail :)

vorm-en-inhoud.be: it's dynamic

steenbakkerijfloren.be:
- they wanted this clean and sober menu :)
- the catalog is a add-on i built for website baker. It's completely customizable, works with templates, can be used for all kinds of structured content, multilanguage, ... I'm working on a final version which i would like to launch shortly. If only I would have some more time :)

I'm planning to launch a module this week, i'll post it on the forum.

Webdesign/-Development, Freelance

> [url="http://www.medialoft.be"]http://www.medialoft.be[/url]

tessed

Hi,

Here are my comments.

franlis.be: very profesional look and feel, i like it very much

verastor.be: the 4 words below "Waarom kiezen voor Verastor" are not aligned. The first word is more to the left than the rest. Except from this its very nice.

vorm-en-in-houd.be: i like the menu, is it dynamic or hard coded?

steenbakkerijfloren.be: i don't like the menu, but i do like the catalog. Its exatly what i need for a website i am about to work on, is it a module?

zvcoepidus.be: simpel and clear. Have you tried putting the logo on the header image?

Conclusion: good quality work.

Regards,

Tyronne

Webdesign: [url="//www.desse.nl"]www.desse.nl[/url]

iceat

Webdesign/-Development, Freelance

> [url="http://www.medialoft.be"]http://www.medialoft.be[/url]

iceat

Webdesign/-Development, Freelance

> [url="http://www.medialoft.be"]http://www.medialoft.be[/url]