Welcome, Guest. Please login or register.
Did you miss your activation email?
February 13, 2012, 01:03:49 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149699 Posts in 21103 Topics by 7538 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Aggregator mod  (Read 1333 times)
Paul - Westhouse IT

Offline Offline

Posts: 63


WWW
« on: September 08, 2009, 05: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

Westhouse IT - Professional WebsiteBaker developers for hire.
sparkdigital

Offline Offline

Posts: 345



WWW
« Reply #1 on: September 16, 2009, 02: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: 102



« 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;)
Craxx

Offline Offline

Posts: 102



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

Oh please,

could somebody help..??

Best regards
Craxx
Logged

Craxx;)
Paul - Westhouse IT

Offline Offline

Posts: 63


WWW
« Reply #4 on: August 17, 2010, 04:03:42 PM »

I've put all the files together as a new module - Aggregator_mod.

Tables and directories have been renamed to aggregator_mod so it should work alongside aggregator. Hope this helps those who've had difficulties.
Logged

Westhouse IT - Professional WebsiteBaker developers for hire.
david doc watson

Offline Offline

Posts: 32



« Reply #5 on: August 17, 2010, 05:28:13 PM »

Fantsitic job - eactly waht I was looking for. Thank you so much.
Logged
Paul - Westhouse IT

Offline Offline

Posts: 63


WWW
« Reply #6 on: August 17, 2010, 05:50:35 PM »

That's great, glad it worked.  grin
Logged

Westhouse IT - Professional WebsiteBaker developers for hire.
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!