FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

[Sticky] Live sites running Frog CMS

Feed 320 posts, 116 voices

Avatar
4 posts

@David
Thank you very much.
For “Amici di Porto Pollo” I’ve followed the simple technique described here in Frog forum. Then I create a custom XML file like this:

<menu>
<item it=“Sostienici” en=“Support Us” />
</menu>

and so on.. to translate also the menu.

 
Avatar
4 posts

Ok, here we go again.
This will be my personal site
tell me what if you like it.

 
Avatar
10 posts

Have recently used Frog for a few simple sites:

Leroux Mineau Grand Cru Champagne
Three Castles Property

 
Avatar
486 posts

@mycooluk, that’s nice work. Is that a custom made shopping cart widget or is that provided by Google Checkout?

 
Avatar
35 posts

@mycooluk: Great sites: I saw you used Google Checkout and Google Checkout Cart. I’ve never used these, are they pretty straitforward to implement? I’m especially interested in the link between products, and the Google Cart.

Do you use Frog for the productdefinitions as well? Page part forms perhaps?
I would love to hear how you did it.

Cheers!

 
Avatar
125 posts

@wiag, you can use E-Junkie Shopping Cart
It’s really easy to use.

 
Avatar
10 posts

Thanks for the kind comments!

Used google checkout and cart as it was what the client previously used and was happy with it. Quite easy to implement and “skin” with some CSS. Luckilly the client is happy to work a little around the HTML for updates, but the google script is pretty clever and just updates to the descriptions/prices directly on the page change their properties for the cart, so its all pretty straightforward.

 
Avatar
108 posts

Just completed this site for a client in Frog 0.9.5

Ashridge Engineering

 
Avatar
21 posts

@andydtwo

Great looking site.

What is the PHP code that you used to generate the links for the drop-down menu? The <ul> <li><ul></ul></li></ul>

I saw that its a jQuery menu.

 
Avatar
108 posts

Here ya go…

<div id="menu" class="jqueryslidemenu">
<ul>
<li><a<?php echo url_match('/') ? ' class="current"': ''; ?> href="<?php echo URL_PUBLIC; ?>">Home</a></li>
<?php
$menu = $this->find('/')->children();
foreach ($menu as $child) {
    echo '<li>';
if ($child->children()) {
    echo '<a href="#"'.(in_array($child->slug, explode('/', $this->url)) ? ' class="current"': null).'>'.$child->title().'</a>';
    echo PHP_EOL . '<ul>';
	if ($child->slug == 'news') { // limit news listing
	foreach ($child->children(array('limit' => 5, 'order' => 'created_on DESC')) as $kids) {
	echo '<li>' . $kids->link($kids->title, (in_array($kids->slug, explode('/', $this->url)) ? ' class="sub-current"': null)) . '</li>'  . PHP_EOL;
	}
	echo '</ul>' . PHP_EOL;
	} else { // non-archives
        foreach($child->children() as $kids) {
		    if ($kids->slug() == '' || $kids->slug() == '') {
			// all the rest
			echo '<li class="highlight">' . $kids->link($kids->title) . '</li>'  . PHP_EOL;
			}  else {
			// all the rest
			echo '<li>' . $kids->link($kids->title, (in_array($kids->slug, explode('/', $this->url)) ? 'class="sub-current"': null)) . '</li>'  . PHP_EOL;
			}
        } // end kids foreach
        echo '</ul>' . PHP_EOL;
	} // end non-archives else	
    } else {  // end child-children if
    echo $child->link($child->title, (url_start_with($child->url) ? ' class="current"': null));
    } // end else
    echo '</li>' . PHP_EOL;
} // end child-foreach
?>
</ul>
<br style="clear: left" />
</div>
 
Avatar
21 posts

Cool Thank!

 
Avatar
21 posts

@andydtwo

Another quick questions. For some reason the top menu that has children does not provide a link. It replaces the link with a #.

I see that it set here:

   echo '<a href="#"'.(in_array($child->slug, explode('/', $this->url)) ? ' class="current"': null).'>'.$child->title().'</a>';

Do you know how this can be fixed so that it has the proper link?

 
Avatar
108 posts

The # is on purpose because i didnt want to create that page for the drop downs. I wanted them to have to pick a selection from the list. It saves me having to add content to another page which i dont have.

Hope this makes sense.

As for changing this to what you want…removing the section with the # in the code and leaving it out or replacing it with your own would do the trick.

 
Avatar
1493 posts

One other bit of commentary on that menu code — the lines given this way:

       foreach($child->children() as $kids) {
		    if ($kids->slug() == '' || $kids->slug() == '') {

appear to do nothing, since the only page that would satisfy that condition is the Homepage, and it isn’t a “kid”!.

But the intention is that this could allow for certain sections of the site to be treated differently than others. For example, if the slugs were given as follows, with the code as above, it would mean that that pages “This Page” and “That Page” would have a special class applied to them in the menu:

       foreach($child->children() as $kids) {
		    if ($kids->slug() == 'this-page' || $kids->slug() == 'that-page') {

(Just in case anyone is wondering.)

 
Avatar
291 posts

This was already posted, but Kinema site now has also English translation. So non Estonian speakers might understand things a bit better.

 
Avatar
1493 posts

@tuupola – I do like that site! If you ever feel the urge to write up a tutorial on the menu system you used … don’t fight it! ;)

 
Avatar
1 posts

I completely forgot about this thread!

First off, thank you for this excellent little cms :)
I finished my portfolio site a few months ago (though it’s due for a little tweaking and update)

I think I managed to get the most out of Frogs multiple blog hierarchy, and it was the perfect solution for what I needed.. so check it out and let me know what you think

http://www.rwhitespace.com

 
Avatar
2 posts

For me Frog CMS was great discovery. So my first site powered by this CMS lightweight champ is www.tisan.hr

 
Avatar
22 posts

Wow gimlimare, nice site. I love your menu and slider, even better knowing it’s jQuery and not flash !

Nice work, keep them coming.

 
Avatar
48 posts

@gimlimare – odlično napravljeno. Napokon jos netko iz Rvacke. Uspio si natjerat lavalamp meni da ti radi. Uf, ja se ispatio i na kraju nije uspjelo, u IE-u, naravno.
Di radis, sta radis i odakle si?

 
Avatar
2 posts

Thx… ili ti hvala na naše.
Sa menijem je bilo dosta lagano, jedino kaj nisam koristio ovu zadnju verziju lavalampa plugina nego onu stariju, sa novom mi nije radilo.
Ono oko čega sam se malo lomio je dvojezičje… i ako pogledaš eng verziju meni ne šljaka baš na njoj, tj. ne pamti kliknutu rubriku :(
Ak ti zatreba pomoć oko lavalampa pošalji kod pa mogu pogledat kad stignem…

Inače sam iz Delnica no šljakam u Zgu več godinama. Fuš radim kad stignem. Ti?

 
Avatar
48 posts

ja iz vukovara. ajd si namjesti irc pa se mozemo tako cuti. ja sam manje vise skoro svaku vecer online i na ircu. korisnicko ime je jackie_vu.

da ne udavimo forum sa nasim postovima :)

 
Avatar
5 posts

A website built on Frog and launched recently: Tifany Industries

 
Avatar
12 posts

this is one of my sites that uses FROG CMS www.ltvalda.lt

 
Avatar
3 posts

My minimalistic styled blog in-beta