Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - All Issues
Author Message
janeuk
Regular
Regular



Joined: Oct 13, 2007
Posts: 61

PostPosted: Sun Nov 11, 2007 2:06 pm Reply with quote

Hi,
I installed Sommaire v2.1 on Ravennuke 2.10 but it makes it W3C uncompliant, I can't seem to find a download of Sommaire beta 3.1 version on the web, links I've tried tend to take me to a page where it doesn't exist anymore. Does anyone know where I can download the 3.1 version and if so, is it W3C compliant? Other than that, I decided to use the Categories menu, but I basically want a tree type menu, thats static, so that all the links display under their category. Im no coder, so please could someone suggest how I can achieve this or tell me if its possible to alter the code in categories block to achieve it? Basically I want a static menu that displays something like this below.

Category Name
Link
Link
Link

Category Name
Link
Link
Link

Thanks for any help.
Jane
 
View user's profile Send private message
kevinkap
Involved
Involved



Joined: Apr 22, 2006
Posts: 356

PostPosted: Sun Nov 11, 2007 7:00 pm Reply with quote

There is not Sommaire version that makes it compliant. The 3.1 was just an upgrade.

_________________
Kevin Kappes 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Mon Nov 12, 2007 1:30 pm Reply with quote

Thats correct.
There is no Sommaire block currently publicly available that is XHTML Compliant.
I know one person who has made good progress in making it compliant and we did both knock heads for a short time in trying to get rid of a load of other errors in the code but do not think he would make it available publicly for that reason - there are still lots of errors in the code.
That is also why I have not named the person - he will read this and respond if he wishes.

As for your particular need for additional links, if you do not mind hard coding them, you can simply alter the code in blocks/modules.php
 
View user's profile Send private message Send e-mail
janeuk







PostPosted: Mon Nov 12, 2007 5:12 pm Reply with quote

Thanks for your replies, I decided to hard code it in the blocks/modules.php, seems the simplest solution and my site remains XHTML Compliant. Just to help anyone else that isnt a coder like me (took me a while to work it out Smile) and wants a static tree type menu, I thought I'd show how I did it below.

FIND THIS CODE IN blocks/modules.php

$content .= '<strong><big>&middot;</big></strong>&nbsp;<a href="index.php">'._HOME.'</a><br />';

ADD your code between the first ' and the end '; of the above code like I have shown below. You can add linebreaks and horizontal lines where you want them - just ensure that all of the code you add is included before the '; otherwise you'll probably get a blank page. I have added category titles to the code, and my code now looks something like this.

$content .= '<strong>CATEGORYTITLE</strong><br /><strong><big>&middot;</big></strong>&nbsp;<a href="index.php">'._HOME.'</a><br /><br /><hr></hr><br /><strong>CATEGORYTITLE</strong><br /><strong><big>&middot;</big></strong>&nbsp;<CHANGE THIS URL a href="modules.php?name=Content&pa=showpage&pid=6">LINKNAME</a><br /><br />';

TO REMOVE THE TITLE - MODULES, which maybe something you won't want displayed if you have included CategoryTitles in your code.

In the Anagram theme, find the Function Theme Side Box code and just alter this code below I guess in other themes the code must be same or similar.

FIND THIS CODE

.'<td align="left"><font class="content" color="#000055"><b>'.$title.'</b></font></td>'


CHANGE TO

.'<td align="left"><font class="content" color="#000055"></font></td>'


Thats it Smile
 
Guardian2003







PostPosted: Tue Nov 13, 2007 4:04 am Reply with quote

I was waiting for you to ask 'how' but I am impressed that you dived right in there and had a go. Good job and well done!!
 
janeuk







PostPosted: Tue Nov 13, 2007 9:53 am Reply with quote

Thank you! Smile
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - All Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©