"Related" Templates similar to Teaser
"Related" Templates similar to Teaser
Hi Guys
Been away for awhile so I need to refresh my memory regarding the {RELATED} tag.
Does it support 'templates' or is there a custom {RT} that returns a list of related articles
- suitable for formatting... that acts like the {RELATED} tag
FORMAT
What I am trying to do is to list related articles with mini thumbnail of (1) article image,(2) css styled title and (3)and link.
BEHAVIOR
It would behave like a teaser - but automatically is updated when a new article (using same related *keyword*) gets
added to the CMS. My memory of teasers is that they are manually set.
Hope this is clear enough to start discussion
kind regards
jsw_nz
Been away for awhile so I need to refresh my memory regarding the {RELATED} tag.
Does it support 'templates' or is there a custom {RT} that returns a list of related articles
- suitable for formatting... that acts like the {RELATED} tag
FORMAT
What I am trying to do is to list related articles with mini thumbnail of (1) article image,(2) css styled title and (3)and link.
BEHAVIOR
It would behave like a teaser - but automatically is updated when a new article (using same related *keyword*) gets
added to the CMS. My memory of teasers is that they are manually set.
Hope this is clear enough to start discussion
kind regards
jsw_nz
Re: "Related" Templates similar to Teaser
Hi John,
the contentpart "teaser" should be tailor-made to your needs...
have a closer look into the "hidden" menu-sections of the contentpart teaser, if you do NOT choose the manual sortorder!
the contentpart "teaser" should be tailor-made to your needs...
have a closer look into the "hidden" menu-sections of the contentpart teaser, if you do NOT choose the manual sortorder!
Re: "Related" Templates similar to Teaser
Hi Pepe!
Good to hear from you - one of the faithful wcms'ers.
Not exactly sure about what you mention - unless its a newer release of the PHPWCMS
I think I am running 1.4.5
In Teaser CP - are you referring to this:

the drop down selector looks like this:

...so I am not finding "hidden" menu-sections as you mention
- unless I am missing something
cheers

Good to hear from you - one of the faithful wcms'ers.
Not exactly sure about what you mention - unless its a newer release of the PHPWCMS
I think I am running 1.4.5
In Teaser CP - are you referring to this:

the drop down selector looks like this:

...so I am not finding "hidden" menu-sections as you mention
- unless I am missing something
cheers
Re: "Related" Templates similar to Teaser
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: "Related" Templates similar to Teaser
Hi Claus
Another of the faithful -
I was looking at Knut's RT
- but it does not select the image itself
- a selection process that requires de-serialization...
- if worse comes to worse - I will hack it - to get the image thumb in there
the output would be a series of float:left divs with mini-thumbnail and cufon css title - with linkage
at least that's the idea
cheers
-john-
Another of the faithful -
I was looking at Knut's RT
- but it does not select the image itself
- a selection process that requires de-serialization...
- if worse comes to worse - I will hack it - to get the image thumb in there
the output would be a series of float:left divs with mini-thumbnail and cufon css title - with linkage
at least that's the idea
cheers
-john-
- Oliver Georgi
- Site Admin
- Posts: 9940
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
Re: "Related" Templates similar to Teaser
use keywords (tags) in the articles (as needed for the old {RELATED}, then use the teaser CP with the tags should be used to filter "related" contents.
Re: "Related" Templates similar to Teaser
Try another selection than "manual"... ( lets say: change date, ... ) and you will see, what happens 
Re: "Related" Templates similar to Teaser
AAAHA! I will give it a try laterOliver Georgi wrote:use keywords (tags) in the articles (as needed for the old {RELATED}, then use the teaser CP with the tags should be used to filter "related" contents.
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Re: "Related" Templates similar to Teaser
Thanks Guys!
Oliver - thanks for that tip
- I never realized you could do this!
- Still have an issue however.
Is there any way to exclude the current article in the final output?
This is the nice way related works - every other article with *keyword* except the current article.
Cheers
jsw_nz
UPDATE: Now sorted - selecting a category (in menu items) for the article >>> current article is excluded.
menu-sections - thanks Pepe
Oliver - thanks for that tip
- I never realized you could do this!
- Still have an issue however.
Is there any way to exclude the current article in the final output?
This is the nice way related works - every other article with *keyword* except the current article.
Cheers
jsw_nz
UPDATE: Now sorted - selecting a category (in menu items) for the article >>> current article is excluded.
menu-sections - thanks Pepe
Re: "Related" Templates similar to Teaser
Less than 12 hours... and all problems are "history"... what a great forum
Best wishes to NZ from "good ole europe"
Best wishes to NZ from "good ole europe"
Re: "Related" Templates similar to Teaser
couldn't have said it better - thanks to PepeLess than 12 hours... and all problems are "history"... what a great forum
all the best from Lake Hawea - NZ
Re: "Related" Templates similar to Teaser
Oh boy,
what a paradise this Lake Hawea district is... a real dream: http://www.google.de/search?q=lake+hawe ... 26&bih=668
And i'm sitting here in my small "office", looking through the closed windows into a heavy rain ...

what a paradise this Lake Hawea district is... a real dream: http://www.google.de/search?q=lake+hawe ... 26&bih=668
And i'm sitting here in my small "office", looking through the closed windows into a heavy rain ...
Re: "Related" Templates similar to Teaser
Cheers Pepe
Well s a matter of fact its windy here tonight with a light rain - so not always like paradise
got another question related to teaser templates themselves.....
I am trying to create teaser elements that output and populate the page with this behavior:
(1) mini --thumbnail (2) article title formatted with Cufon (3) link to article itself and (4) mini-thumb rollover >> popup ajax preview
(1-3) no problem - since teaser supports by default
(4) is the experimental part - the popup ajax preview shows larger version of article image, article title and article summary
I have the Jquery ajax working
so needing a way to retrieve article image, article title and article summary in list mode index.php?my-article-in-list mode....
(hope that makes sense - just trying to output a bare bones page - not unlike the teaser itself...)
might you have any ideas - you have always been an expert about these things

here is the exisitng code:
right now - the ajax call returns: rel="html_popup_1.html"
needing it to call a wcms expression - mydomain.com/index.php?76-moorehouse&listMode=true
not sure if it is possible - for now as a workaround I created separate preview pages which return image title summary
- a little extra work but at least this works.....
cheers
john
Well s a matter of fact its windy here tonight with a light rain - so not always like paradise
got another question related to teaser templates themselves.....
I am trying to create teaser elements that output and populate the page with this behavior:
(1) mini --thumbnail (2) article title formatted with Cufon (3) link to article itself and (4) mini-thumb rollover >> popup ajax preview
(1-3) no problem - since teaser supports by default
(4) is the experimental part - the popup ajax preview shows larger version of article image, article title and article summary
I have the Jquery ajax working
so needing a way to retrieve article image, article title and article summary in list mode index.php?my-article-in-list mode....
(hope that makes sense - just trying to output a bare bones page - not unlike the teaser itself...)
might you have any ideas - you have always been an expert about these things

here is the exisitng code:
Code: Select all
<a rel="html_popup_1.html" href="mydomain.com/index.php?76-moorehouse" class="personPopupTrigger"><img width="42" border="0" height="29" alt="" id="show_moorehouse_preview" src="img/site_showcase/show_moorehouse.gif" name="show_moorehouse">76 Moorhouse Avenue</a>needing it to call a wcms expression - mydomain.com/index.php?76-moorehouse&listMode=true
not sure if it is possible - for now as a workaround I created separate preview pages which return image title summary
- a little extra work but at least this works.....
cheers
john
- Oliver Georgi
- Site Admin
- Posts: 9940
- Joined: Fri 3. Oct 2003, 22:22
- Location: Dessau-Roßlau
- Contact:
Re: "Related" Templates similar to Teaser
Stop using Cufon! Dead, slow! CSS @font-face works with all current browsers (including IE). Good start is FontSquirrel.
4) no need for Ajax if it is the same info as the teaser has. Use jQuery and hidden sections (CSS) in combination with FancyBox or other Lightbox-styled popover. If you really need Ajax to catch the full article have a look at this. Click on "Details ansehen". It will load the related article but using Ajax and some phpwcms default functionality to render only special content sections. What you see there is a jQuery script I have developed in combination with FancyBox. The script builds the Ajax calls dynamically and gets pages based on URL like this:
The advantage: Google will index the normal article link. So indexing is working fine. All pages still accessible.
4) no need for Ajax if it is the same info as the teaser has. Use jQuery and hidden sections (CSS) in combination with FancyBox or other Lightbox-styled popover. If you really need Ajax to catch the full article have a look at this. Click on "Details ansehen". It will load the related article but using Ajax and some phpwcms default functionality to render only special content sections. What you see there is a jQuery script I have developed in combination with FancyBox. The script builds the Ajax calls dynamically and gets pages based on URL like this:
Code: Select all
http://www.kellpax.ch/index.php?aid=31&cmsgo_output_action=F-split_ajax--S-AJAXRe: "Related" Templates similar to Teaser
Oliver
once again - big thanks - you have given me a list of new things to study....
many many thanks -

once again - big thanks - you have given me a list of new things to study....
many many thanks -