You can edit the templates in Slash. Via the Admin interface.
Importing Templates can be done by doing a
/usr/local/slash/bin/template-tool -u slash -s 'templatename'
Mick Szucs wrote:
> What's the preferred method for editing the templates, then?
> install-theme and template-tool both seem to have issues. How are you
> all importing the template data into the database?
>
> Thanks.
>
> Mick

Eric Dannewitz wrote:
> You can edit the templates in Slash. Via the Admin interface.
Ewww. :o)
Any other options? Ideally I'd be able to modify the templates as files
in my IDE and then import them into the database. Anyone? Seems like
template-tool oughtta do so, but I'm not sure that it's working properly.
$ template-tool -U
Can't open /opt/slash/themes//THEME: No such file or directory at
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/Slash/Install.pm
line 522.
id 187 admin;menu;default is in the DB but not on disk
Thanks,
Mick

George Clark wrote:
>** Reply to message from Mick Szucs <mick@...> on Sat, 22 Jan
>2005 18:37:40 -0500
>
>Hi Mick,
>
>
>
>>Can't open /opt/slash/themes//THEME: No such file or directory at
>>
>>
>
>Double-check your site_info table. Do you have the installed theme set
>correctly? The theme name is missing from the path for some reason.
>
>
Beautiful, thank you. Seems my earlier messing with install-theme added
a second theme value that must have been confusing the template-tool.
Deleted the extraneous entries and template-tool seems to be working
properly now, so I'll use it and hack up the slashcode theme, rather
than try my luck with install-theme again.
Many thanks.
Mick

On Jan 22, 2005, at 10:10 PM, Mick Szucs wrote:
> George Clark wrote:
>
>> ** Reply to message from Mick Szucs <mick@...> on
>> Sat, 22 Jan
>> 2005 18:37:40 -0500
>>
>> Hi Mick,
>>
>>
>>> Can't open /opt/slash/themes//THEME: No such file or directory at
>>
>> Double-check your site_info table. Do you have the installed theme
>> set
>> correctly? The theme name is missing from the path for some reason.
>>
> Beautiful, thank you. Seems my earlier messing with install-theme
> added a second theme value that must have been confusing the
> template-tool.
> Deleted the extraneous entries and template-tool seems to be working
> properly now, so I'll use it and hack up the slashcode theme, rather
> than try my luck with install-theme again.
keep in mind that, currently you can only have one theme installed per
site, if you'd not come upon that already.
Shane

For sure use the template-tool as Eric mentioned. Also note that after
your -s a template file back into the database, you can
-T -i #
to TEST it for errors. this is very handy, and can prevent tons of
wasted time and frustration later on down the road :)
On Jan 21, 2005, at 9:54 PM, Eric Dannewitz wrote:
> You can edit the templates in Slash. Via the Admin interface.
>
> Importing Templates can be done by doing a
> /usr/local/slash/bin/template-tool -u slash -s 'templatename'
>
>
> Mick Szucs wrote:
>
>> What's the preferred method for editing the templates, then?
>> install-theme and template-tool both seem to have issues. How are
>> you all importing the template data into the database?
>>
>> Thanks.
>>
>> Mick
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Slashcode-general mailing list
> Slashcode-general@...
> https://lists.sourceforge.net/lists/listinfo/slashcode-general
>

short answer - see the archives of this list for previous answers to
this.
long answer:
cd /usr/local/src/slash/themes
cp -a slashcode mynewtheme
cd mynewtheme
emacs THEME
change name and edit at will.
make install the src, and when you run install-slashsite you'll see
'mynewtheme' as an option.
just don't use any spaces or dashes for your theme-name.
Shane
On Jan 21, 2005, at 9:25 PM, Mick Szucs wrote:
> What's the preferred method for editing the templates, then?
> install-theme and template-tool both seem to have issues. How are you
> all importing the template data into the database?
>
> Thanks.
>
> Mick
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Slashcode-general mailing list
> Slashcode-general@...
> https://lists.sourceforge.net/lists/listinfo/slashcode-general
>