I'm suffering some frustration getting started with custom template design
and would appreciate some pointers. I apologize for the length of this
message, but it took me a long time to get this muddled and confused, so
it's hard to relate my issues in a brief post.
I have a prototype of my basic page design done in HTML. Ken Lanxner, whom I
know from the Dreamweaver list, suggested using custom template instead of
Smart Html tags, and I can see the logic behind his suggestion, but I can't
seem to get started successfully. Here's my prototype:
http://www.culturedaquaria.com/LPS.shtml
Though hard to tell after the HTML is parsed, the top dropdown menu is a
separate page brought in using an ssi. The URL for the dropdown menu is:
http://www.culturedaquaria.com/menu2.html
The buttons in the left column are another ssi:
http://www.culturedaquaria.com/left_menu.html
Besides the menu ssi's, there are external .js and .css pages.
Since I'll have a number of different templates for different product
categories, as well as 'more info' pages, I'd prefer to continue using ssi's
for the menus to make editing easier. (However, I could -- though
reluctantly -- convert them to Dreamweaver Library Items, then do global
LIbrary Item edits on my desktop and re-upload all the templates each time
there is a change.)
As far as making this design work in Shopsite as a template, I need to
figure out how to "tag" all the URLs that'll go in the dropdown menu and
left column menu, and how to configure the product area containing just two
or three 3 cell table rows.
OK, I just couldn't wrap my brain around much of anything I found in the
ShopSite support info, so I figured it might help to start by building
simple one element templates, adding on until I figured out what I was
doing.
Since I'll need includes, I tried pasting in a set of 'define page' tags and
adding an include for my stylesheet. After i uploaded the template and
stylesheet and tried to publish them, I got an error message, something
about expecting 7 parameters and finding 2. I never could figure out what
that error message meant or how to fix it.
Next, I tried copying a ShopSite template and trying to link it to my .css
page. No luck there either, as my css styles printed at the top of my page
in the browser:
http://www.culturedaquaria.com/page1.html
Here's my modified ss template:
This morning, it occurred to me that I may have erred in adding .html to my
template name, but I have yet to test that theory.
I had better luck modifying an SS template, however I was unable to get it
to recognize my css styles:
http://www.culturedaquaria.com/page1.html
By the way, throughout this process, I was continually stymied by errors
displaying ShopSite help pages and and using SS store cgi functions in
Safari v1.2.2. I hope that once I finally get the store running, Mac users
browsing with Safari will be able to use it.
Here's an example of a page that doesn't display in Safari:
http://www.shopsite.com/help/7.0/en-US/ ... mplate.txt
I also got an error trying to upload templates through Safari.
The Als Tools template explanation might have been somewhat helpful, but
since it doesn't use CSS, it didn't help with my stylesheet include problem.
Do you have a similar example that uses CSS for text styling and --
hopefully -- for some page layout elements?
That's as far as I got last night. I'd really appreciate any suggestions you
can give me for streamlining this learning process and applying it to my
prototype design.
thanks, Suzanne