2 or more maginot splits on one style

Discuss news styles, css code, and other Coranto customizations in here...the possibilities are endless, so have at it!

Moderator: Spunkmeyer

2 or more maginot splits on one style

Postby WICKED » Mon Nov 11, 2002 7:51 pm

I'm trying to devide my page up into sections with each maginto submiting to a different folder, but i want both maginot splits to show on the news page, using the teaser/full story type deal. I tried using my current style and just adding some more code, but it's not working. Is this possible?
Code: Select all
<If: Field: CustomField_teaser>
<Field: CustomField_teaser>
<a href="<MaginotURL: fullstory>">Read more...</a>
</If>
<If: Field: CustomField_hardwareteaser>
<Field: CustomField_hardwareteaser>
<a href="<MaginotURL: hardwarereviews>">Read more...</a>
<br>
<br>
<br>
<br>
<If: Else>
<Field: Text>
<br>
<br>
<br>
<br>
</If>
WICKED
 
Posts: 103
Joined: Tue Aug 13, 2002 4:53 am

Postby WICKED » Mon Nov 11, 2002 10:25 pm

I'm sure some of you know this, but incase there are any more newbs with the question I'm gonna post the solution. My original code was fairly close.

Code: Select all
<If: Field: CustomField_teaser>
<Field: CustomField_teaser>
<a href="<MaginotURL: fullstory>">Read more...</a>
<If: Else>
<If: Field: CustomField_hardwareteaser>
<Field: CustomField_hardwareteaser>
<a href="<MaginotURL: hardwarereviews>">Read more...</a>
<br>
<br>
<br>
<br>
<If: Else>
<Field: Text>
<br>
<br>
<br>
<br>
</If>
</If>

That will have 2 maginot profiles working from the same teaser style and will show up on the same news page. From the looks of it, you can add as many as you want.
WICKED
 
Posts: 103
Joined: Tue Aug 13, 2002 4:53 am


Return to Customization

Who is online

Users browsing this forum: No registered users and 1 guest

cron