Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter slowcheetah

    (@slowcheetah)

    The user can switch the views by using a link on the catagory page.

    example (full view – title view)

    This is about the category archives

    i’m now working on a custom PHP solution wich is going to work fine, but my customer want plugins instead of custom functions.

    <?php
    	$getArchiveView	= $_GET["ArchiveView"];
    	$getCurrentCat	= $_GET["cat"];
    ?>
    
    <?php if ($getArchiveView == '1') { ?>
    <a href="?cat=<?php echo $getCurrentCat; ?>&ArchiveView=2">Swich to headers</a>
    <?php } else { ?>
    <a href="?cat=<?php echo $getCurrentCat; ?>&ArchiveView=1">Swich to full</a>
    <?php } ?>
Viewing 1 replies (of 1 total)