Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
First I want to say a magic job on this theme, I can see me making good use of it in the future!, Only one question, how do I get the ribbon to display like on the demo site? Is there an extra module I need? I just can't figure it out.
Thanks
-Mark
Comments
Comment #1
NaheemSays CreditAttribution: NaheemSays commentedUnfortunately it currently needs to be manually entered in a block. I would love to find a way where it could be automated though.
The code that is used on the demo site is:
(you will need to choose an input format that allowed styles and div elements. I am using the full html input format for it with the html corrector turned off.)
Comment #2
markb658 CreditAttribution: markb658 commentedPerfect, worked a treat!
Comment #3
rajaoa CreditAttribution: rajaoa commentedYeah worked for me too. Thanks
Comment #4
Ole Martin CreditAttribution: Ole Martin commentedI tried this, but get error when saving. I'm using full html filter.
Some idea?
Message:
Error 500: Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
The problem is on the server side, not with your browser or the address. Most probably, a certain service (e.g., Tomcat engine) is down. Please contact your webmaster.
Edit:
Is it possible that it will automatically add the blocks horizontally in the "Middle"? Then I can use it to add different blocks with different categories of news
Comment #5
luckysmack CreditAttribution: luckysmack commentedThe code above should not produce a 500 error. Its likely that its caused by some level of .htaccess error, permissions on the file may be wrong, the apache vhost may have an invalid setting. 500 errors are because of server configuration issues. As with the Edited part, on the demo page there is a comment where someone gives a block of php code that you will place into the block instead of the normal code. You then have to make a content type called 'newsribbon' and when you create newsribbon nodes, the latest 5 will be posted in the categories area. you can also change it to use any other content type.
http://arthemia.theraggedyedge.co.uk/node/8#comment-28
where it says
$nodetyp = 'newsribbon';
in the code, change 'newsribbon' with another content type name if you want to use an already existing content type
Comment #6
NaheemSays CreditAttribution: NaheemSays commentedDeleted - missed what was said before.
Comment #7
jodynoel613 CreditAttribution: jodynoel613 commentedThank you so much for posting the full html that was used on the demo. I installed this theme a while back and had a very hard time figuring out how to add it. My boxes were all uneven and messed up. I'm so glad to say that adding it this time took about 20 seconds.