|
From: Antonides, L. (utm) <Lod...@or...> - 2001-07-11 12:41:22
|
Hi, I installed slashcode on my computer running redhat 7.1. Everything went fine except for the last part. It looks like index.pl is not processed. When I use localhost in my browser I see the correct page, but when I use my IP address it only shows the content of the directory. I put "Include /usr/local/slash/httpd/slash.conf" in my httpd.conf which is located in /usr/share/conf/ Does anyone have a clue what i did wrong? |
|
From: Micah Y. <yo...@ho...> - 2001-07-11 17:30:13
|
> I installed slashcode on my computer running redhat 7.1. > Everything went fine except for the last part. It looks like index.pl is > not processed. > When I use localhost in my browser I see the correct page, but when I use > my IP address it only shows the content of the directory. > I put "Include /usr/local/slash/httpd/slash.conf" in my httpd.conf which is > located in /usr/share/conf/ > > Does anyone have a clue what i did wrong? You might want to look at your slash site's config file, in /usr/local/slash/site/*/*.conf. Maybe even post it here. My guess is that it's trying to do a virtual domain on the localhost. What I did on my local computer is comment out the <VirtualHost> and </VirtualHost> lines and comment out some things in the main Apache httpd.conf that conflicted with it. -- Like to travel? http://TravTalk.org Micah Yoder Internet Development http://yoderdev.com |
|
From: Barry C. <bc...@i1...> - 2001-07-12 01:06:25
|
Hi.... I am working to get deeper into the details of completely changing the look and feel of a slash site. I think I still near the beginning..... I have made a new template, called "mainSectionIndex", which is now included in "header" This works fine. I would like to have a "xSectionIndex" template for each section, which would be included each time the section page is displayed. My first thought was to modify each section's slashhead.inc, but that seems to be generated by slashd every hour. It looks like one way to go would be to modify the header template further, so there was a kind of if then thing, looking roughly like this: if section =a then include aSectionIndex else section =b then include bSectionIndex .... else include mainSectionIndex #default Does that seem reasonable,or is there a better way? If it is reasonable, then what would the code look like? I have not found a listing of what variables and hashes are available to the header template (OK, I didn't look that hard because I am not sure this is the best approach yet....), Just as a quick test, I tried adding in the "header" template this line: "Section = [% section %] zzzzzz". I did not get anything in the variable part, even though I stopped and started both slashd and apache to force the updates. Also, it is not 100% clear to me how the variables end up in the template form the source code. Has anyone done something similar they would like to share? Thanks, Barry |
|
From: Alvaro d. C. <ac...@ba...> - 2001-07-12 11:36:52
|
Hi! The slashcode 2.0 version try to use fisrt a template with the section name and if it doesn't find it, then uses the general. An example: index;index;default index;index;debian If you have a section called debian, the system will use index;index;debian for it. For the main page an the other sections, it will use the default template. Cheers -- Alvaro El 11 Jul 2001 17:55:33 -0700, Barry Caplan escribió: > Hi.... > > I am working to get deeper into the details of completely changing the look > and feel of a slash site. I think I still near the beginning..... > > I have made a new template, called "mainSectionIndex", which is now > included in "header" This works fine. > > I would like to have a "xSectionIndex" template for each section, which > would be included each time the section page is displayed. > > My first thought was to modify each section's slashhead.inc, but that seems > to be generated by slashd every hour. > > It looks like one way to go would be to modify the header template further, > so there was a kind of if then thing, looking roughly like this: > > if section =a then include aSectionIndex > else section =b then include bSectionIndex > .... > else include mainSectionIndex #default > > > Does that seem reasonable,or is there a better way? > > If it is reasonable, then what would the code look like? I have not found a > listing of what variables and hashes are available to the header template > (OK, I didn't look that hard because I am not sure this is the best > approach yet....), > > Just as a quick test, I tried adding in the "header" template this line: > "Section = [% section %] zzzzzz". I did not get anything in the variable > part, even though I stopped and started both slashd and apache to force the > updates. > > Also, it is not 100% clear to me how the variables end up in the template > form the source code. > > Has anyone done something similar they would like to share? > > > Thanks, > > > Barry > > > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > http://lists.sourceforge.net/lists/listinfo/slashcode-general > |
|
From: Nathan V. <na...@th...> - 2001-07-12 18:36:42
|
For *blocks*, the old method still applies in slash 2-- so if you want an "older stuff" block in your debian section, you have to make a block named debian_more (that's why by default there are blocks like features_more and articles_more). Also, if you have a block named "debian" it will show up on all the pages in the debian section (index and articles). And in case anyone's confused, the semicolon notation is used when you dump the templates using template-tool, and in the comments. Using the template editor in backSlash, you have to use the section field. You may need to make a new "debian" section in it (using the new template form). Speaking of sections, it is important to note that the "default", "light", and "admin" sections used for templates are NOT the same as the other sections. Regular sections (like "features", "articles" or "debian") are paradigmatically kind of like sections of a newspaper, but these special ones are just for templates. If the user is an author, slash looks for a given template in the admin section first, then the default section. Same with light view, or with one of the site sections. So Barry, you could make multiple SectionIndex templates , and if you set their section field differently they will be different, and if one doesn't exist the default one would be used. Alex, you silly newbie, what is "documentation"? Actually, it would be great if you could collect the wisdom on this topic and submit it to slashcode.com or something... -n -- Nathan Vonnahme na...@th... senior web developer third sector technologies http://enteuxis.org/nathan http://thethirdsector.com |
|
From: Alvaro d. C. <ac...@ba...> - 2001-07-13 10:17:02
|
El 12 Jul 2001 10:38:19 -0800, Nathan Vonnahme escribió: > > For *blocks*, the old method still applies in slash 2-- so if you want an > "older stuff" block in your debian section, you have to make a block named > debian_more (that's why by default there are blocks like features_more and > articles_more). Also, if you have a block named "debian" it will show up > on all the pages in the debian section (index and articles). > > And in case anyone's confused, the semicolon notation is used when you > dump the templates using template-tool, and in the comments. Using the > template editor in backSlash, you have to use the section field. You may > need to make a new "debian" section in it (using the new template form). > > Speaking of sections, it is important to note that the "default", "light", > and "admin" sections used for templates are NOT the same as the other > sections. Regular sections (like "features", "articles" or "debian") are > paradigmatically kind of like sections of a newspaper, but these special > ones are just for templates. If the user is an author, slash looks for a > given template in the admin section first, then the default section. > Same with light view, or with one of the site sections. > > So Barry, you could make multiple SectionIndex templates , and if you set > their section field differently they will be different, and if one doesn't > exist the default one would be used. > > Alex, you silly newbie, what is "documentation"? Actually, it would be > great if you could collect the wisdom on this topic and submit it to > slashcode.com or something... I think it is not correct to answer in this way to a newbie. It is normal to ask for documentation and it is a good think. I am not an english expert but "silly newbie" doesn't seem to be the best adjective to give a slashcode future user/developer. Cheers -- Alvaro > > -n > -- > Nathan Vonnahme na...@th... > senior web developer third sector technologies > http://enteuxis.org/nathan http://thethirdsector.com > > > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > http://lists.sourceforge.net/lists/listinfo/slashcode-general > |
|
From: <al...@ya...> - 2001-07-13 10:58:09
|
> El 12 Jul 2001 10:38:19 -0800, Nathan Vonnahme escribió: > > Alex, you silly newbie, what is "documentation"? Actually, it would be > > great if you could collect the wisdom on this topic and submit it to > > slashcode.com or something... For the record I'm not offended by being called a silly newbie - I know it is a joke. I am actually on my second Slashcode installation having previously installed version 0.9x on a site which died. <plug>Did I mention that my website gives news and views on Science Fiction and Computing books? http://news.DiverseBooks.com</plug> --- Alvaro del Castillo <ac...@ba...> wrote: > I think it is not correct to answer in this way to a newbie. It is > normal to ask for documentation and it is a good think. I am not an > english expert but "silly newbie" doesn't seem to be the best adjective > to give a slashcode future user/developer. I agree with the sentiment behind Alvaro's comment. I am a serious web developer and am willing to help out. There seems to be a lot of things that you can't learn from the existing documentation. I can start to help by maintaining a web based FAQ for slashcode. I already do one for FOP (a Java based XML to PDF project under the Apache Software Foundation) and doing another one wont be too much work - economies of scale mean that it isn't twice as much effort maintaining two FAQs as one. You can see the software I use here: http://www.OWAL.co.uk:8090/asf/fop.jsp Please try it out. I can set up a Slashcode FAQ very easily... Oh wait a minute: I did one already... http://www.OWAL.co.uk:8090/asf/servlet/asf/screen/DisplayTopics/action/SetAll/project_id/19/faq_id/281 Ideally you should be able to add information directly into the FAQ but that facility is broken - please email me any questions and answers you think might be useful and I will stick them into this FAQ. I hope that the FAQ can be used as a store of information for further "more formal" documentation later on - but I don't promise to write that :-) The software as it stands has many faults but it is already a LOT easier to use than just keeping a plain text or xml version of the FAQ. Alex ===== Alex McLintock al...@OW... Open Source Consultancy in London OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ DR WHO COMPETITION: http://www.diversebooks.com/cgi-bin/caption/captions.cgi?date=200104 Get Your XML T-Shirt <t-shirt/> at http://www.inversity.co.uk/ ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie |
|
From: <al...@ya...> - 2001-07-13 11:33:48
|
Please send me questions and answers that you think should go into a FAQ for people installing or administering Slash or considering whether to install it. Thanks al...@ya... ===== Alex McLintock al...@OW... Open Source Consultancy in London OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ DR WHO COMPETITION: http://www.diversebooks.com/cgi-bin/caption/captions.cgi?date=200104 Get Your XML T-Shirt <t-shirt/> at http://www.inversity.co.uk/ ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie |
|
From: Nathan V. <na...@th...> - 2001-07-13 18:48:08
|
Heh, I should watch out for that language thing. Alvaro, I was just teasing Alex for calling himself a newbie, and making a joke about the lack of slash documentation. Hrm, maybe I should have used <joke> tags? On 13 Jul 2001, Alvaro del Castillo wrote: > El 12 Jul 2001 10:38:19 -0800, Nathan Vonnahme escribi=F3: > > Alex, you silly newbie, what is "documentation"? Actually, it would be > > great if you could collect the wisdom on this topic and submit it to > > slashcode.com or something... > > I think it is not correct to answer in this way to a newbie. It is > normal to ask for documentation and it is a good think. I am not an > english expert but "silly newbie" doesn't seem to be the best adjective > to give a slashcode future user/developer. |
|
From: Alvaro d. C. <ac...@ba...> - 2001-07-14 17:10:14
|
El 13 Jul 2001 10:49:45 -0800, Nathan Vonnahme escribió: > > Heh, I should watch out for that language thing. Alvaro, I was just > teasing Alex for calling himself a newbie, and making a joke about the > lack of slash documentation. Hrm, maybe I should have used <joke> tags? Ops Nathan, forgive me. I think I can understand the joke but maybe other readers in the list. Take in mind lots of people are reading the list and a joke could be not understand for some. Nice to see it has been my fault :-) Time to look to Alex doc project and integrate it with the current slashcode documentation. Cheers -- Alvaro > > On 13 Jul 2001, Alvaro del Castillo wrote: > > > El 12 Jul 2001 10:38:19 -0800, Nathan Vonnahme escribió: > > > > Alex, you silly newbie, what is "documentation"? Actually, it would be > > > great if you could collect the wisdom on this topic and submit it to > > > slashcode.com or something... > > > > I think it is not correct to answer in this way to a newbie. It is > > normal to ask for documentation and it is a good think. I am not an > > english expert but "silly newbie" doesn't seem to be the best adjective > > to give a slashcode future user/developer. > > > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > http://lists.sourceforge.net/lists/listinfo/slashcode-general > |
|
From: barry <sla...@i1...> - 2001-07-13 17:08:51
|
Thanks for all your help! I was just able to create a new section template by checking the "make new section" checkbox on the Admin/Template page. Nice! BTW, I had tried the Template-tool command earlier w/ no success. I looked at the man page, but quickly gave up trying to figure out what options to use from the multitude for a few simple tasks: 1) Dump all the templates out from the db to text files 2) import a single template from a text file into the db Can anybody provide the actual commands for those? After that I think I can figure out all the variations I might need from the man page. Thanks! Barry |
|
From: Alvaro d. C. <ac...@ba...> - 2001-07-13 17:41:13
|
El 13 Jul 2001 09:57:43 -0700, barry escribió: > Thanks for all your help! I was just able to create a new section template > by checking the "make new section" checkbox on the Admin/Template page. Nice! > > BTW, I had tried the Template-tool command earlier w/ no success. I looked > at the man page, but quickly gave up trying to figure out what options to > use from the multitude for a few simple tasks: > > 1) Dump all the templates out from the db to text files /usr/local/slash/bin/template-tool -u <virtualuser> -d > 2) import a single template from a text file into the db /usr/local/slash/bin/template-tool -u <virtualuser> -s <template_file> Good luck -- Alvaro > > Can anybody provide the actual commands for those? After that I think I can > figure out all the variations I might need from the man page. > > Thanks! > > Barry > > > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > http://lists.sourceforge.net/lists/listinfo/slashcode-general > |
|
From: Barry C. <bc...@i1...> - 2001-09-28 18:37:16
|
At 10:38 AM 7/12/2001 -0800, [long ago!] Nathan Vonnahme wrote: >For *blocks*, the old method still applies in slash 2-- so if you want an >"older stuff" block in your debian section, you have to make a block named >debian_more (that's why by default there are blocks like features_more and >articles_more). Also, if you have a block named "debian" it will show up >on all the pages in the debian section (index and articles). OK, I am getting back to this point now after letting it ride - now it has risen to the top of the to -o list.... I have a section called "Support." The only template associated with that is called "SectionIndex;misc;Support". I modified the "index;index;default" template to call the "SectionIndex" where I think the original called mainIndex or something like that. This all works well and good. But what I notice is that the main site page has all the right hand side blocks and the Support section does not. I tried Nathan's advice above and from the admin/blocks interface created 2 blocks (both static) in the "Support" section: 1 - Support_more 2- freshmeat_more I added some random content to the Support_more block. I am guessing for now (correct me if am wrong) that the freshmeat_more would have content filled automatically via portald. I set the number of stories to display on the Support section to 1, since I am just configuring this site and there is not much content. I submitted 3-4 stories to the Support section successfully. The goal is to get the 2 boxes to appear on the right, but none of this seems to have made any difference. I can't find any additional documentation in the FAQ at all. So far someone has quickly stepped up with the answer for my questions - I hope this time is no different! Thanks! Barry |