Welcome, Guest. Please login or register.
March 19, 2010, 09:43:29 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem Website Baker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite .
110491 Posts in 15958 Topics by 9304 Members
Latest Member: deejayjay
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Modules (Moderators: Argos, BerndJM)
| | |-+  Aggregator mod
Pages: [1] Go Down Print
Author Topic: Aggregator mod  (Read 403 times)
westhouseit

Offline Offline

Posts: 5


WWW
« on: September 08, 2009, 06:25:27 PM »

I've altered Aggregator to fit a particular need. Perhaps others might benefit from it as well.

The mod will do two levels of aggregation. For example:

Agg-page1
|-Agg-Page2
|  |-Page3
|  '-Page4
|-Page1
'-Page2

With this mod Agg-page1 will now show summaries from Page1-Page4.

Just replace your view.php with the one in the attached file.
Logged
sparkdigital

Online Online

Posts: 254


Once a baker, always a baker!


WWW
« Reply #1 on: September 16, 2009, 03:34:33 PM »

And here's where it's been used: http://www.romanticretreats.co.uk/romantic-cottages/scotland.php and subpages.

I've added a few classes in the view.php (attached) to make it display nicely along with the following css styles:

Code:
.lb_image {
    position: relative;
    float: right;
    width: 155px;
    margin: 5px 0 0 0;
    }
   
p.aggregator {
    position: relative;
    float: left;
    width: 465px;
    margin-top: 0px;
    text-align: justify;
    }
   
h3.aggregator {
    margin-bottom: -5px;
    }
   
h3.aggregator a:link, h3.aggregator a:visited, h3.aggregator a:active {
    color: #e64898;
}
h3.aggregator a:hover {
    color: #666666;
}

Hope this will help some of you!

And thanks to Paul at WesthouseIT for making it happen!

Konrad
Logged
Craxx

Offline Offline

Posts: 17


« Reply #2 on: January 05, 2010, 05:03:34 PM »

One Problem. First i get the parent pages and after that the child pages.
It would be great if it is possible to get the parentpages with their childpages between:)

Hope somebody can help.

Craxx;)

PS: Happy new year:)
Logged
Craxx

Offline Offline

Posts: 17


« Reply #3 on: January 18, 2010, 06:10:06 PM »

Oh please,

could somebody help..??

Best regards
Craxx
Logged
Pages: [1] Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!