Links!
Posted: Sun Oct 30, 2011 2:54 am
Hello,
I apologize if this questions has been raised in the past, but I'm getting quite frustrated, not being able to find it in any cmsms nor smarty documentation. Perhaps I'm searching for it incorrectly.
What I'm talking about is links. It was quite an accomplishment, I felt, to finally figure out how that it was global content blocks where I could put all of my sidebars and widgets. It was a step in the right direction when I discovered that I should click that little green icon which would unlock the menu templates, and which upon clicking on 'default,' I could use with the {menu} command to keep track of and organize my links. At first I was struck with how effortless it was.
But then I got stuck. Woefully stuck. I'm considering starting drinking again: I've already been sober for twelve hours.
The questions are such:
The link that corresponds to the page that I'm currently on (for example, the "Home" link, when you first arrive at index.html); how can I change its background color so that it stands out from the other links?
Second, related to the first: How do I make one certain link in the menu a different color? For example, the "Donate" page always green, in contrast to blue for all the others? You know, for money.
Third, getting a little more complex - how do I configure the options, the commands, of a mailing list mailer? One that looks, perhaps, like this?:
<form method="post" action="http://scripts.dreamhost.com/add_list.cgi">
<input type="hidden" name="list" value="mailer" />
<input type="hidden" name="domain" value="fullerdomehome.org" />
<input type="hidden" name="url" value="http://fullerdomehome.org/mailer-subscribed.html" />
<input type="hidden" name="unsuburl" value="http://fullerdomehome.org/mailer-unsubscribed.html" />
<input type="hidden" name="alreadyonurl" value="http://fullerdomehome.org/mailer-already.html" />
<input type="hidden" name="notonurl" value="http://NotOnURL" />
<input type="hidden" name="invalidurl" value="http://InvalidURL" />
<input type="hidden" name="emailconfirmurl" value="http://fullerdomehome.org/mailer-confirm.html" />
<input type="hidden" name="emailit" value="1" />
<p class="mar-bot-5">Name: <br /><input name="name" />
<p class="mar-bot-5">E-mail: <br /> <input name="email" />
<p class="mar-bot-5"><input type="submit" name="submit" value="Join Our Mailing List" /> <input type="submit" name="unsub" value="Unsubscribe" /></p>
This is a server-side mailer, and it works great. The problem here is that when someone clicks 'subscribe,' the mailer wants to send them to an appropriate page (emailconfirmurl to tell you an email confirmation has been sent, alreadyonurl to tell you that you're already on the list, and so on). However, these non-cms link away from the site that is being run under cmsms.
The address of the cms page is fullerdomehome.org/cms, but the pre-cms site at fullerdomehome.org still exists in its prior incarnation. If I left the code as it is, I would just be linking to a page that sort of resembles the page you were just on, before you clicked to subscribe to mailing list, with everything now looking barren and out of date. You have no idea how to get back, as every link that once looked the same is now taken you to more barren and out-of-date pages. You click back half a dozen times, but the bad taste lingers in your mouth.
One final question: how do I provide a link to an external site within the menu? The only links it seems to provide are the ones that correspond to my pages.
I apologize for the laundry list, but perhaps four of you have found my query entertaining, and can easily provide an answer. Thanks a million, and happy camping.
I apologize if this questions has been raised in the past, but I'm getting quite frustrated, not being able to find it in any cmsms nor smarty documentation. Perhaps I'm searching for it incorrectly.
What I'm talking about is links. It was quite an accomplishment, I felt, to finally figure out how that it was global content blocks where I could put all of my sidebars and widgets. It was a step in the right direction when I discovered that I should click that little green icon which would unlock the menu templates, and which upon clicking on 'default,' I could use with the {menu} command to keep track of and organize my links. At first I was struck with how effortless it was.
But then I got stuck. Woefully stuck. I'm considering starting drinking again: I've already been sober for twelve hours.
The questions are such:
The link that corresponds to the page that I'm currently on (for example, the "Home" link, when you first arrive at index.html); how can I change its background color so that it stands out from the other links?
Second, related to the first: How do I make one certain link in the menu a different color? For example, the "Donate" page always green, in contrast to blue for all the others? You know, for money.
Third, getting a little more complex - how do I configure the options, the commands, of a mailing list mailer? One that looks, perhaps, like this?:
<form method="post" action="http://scripts.dreamhost.com/add_list.cgi">
<input type="hidden" name="list" value="mailer" />
<input type="hidden" name="domain" value="fullerdomehome.org" />
<input type="hidden" name="url" value="http://fullerdomehome.org/mailer-subscribed.html" />
<input type="hidden" name="unsuburl" value="http://fullerdomehome.org/mailer-unsubscribed.html" />
<input type="hidden" name="alreadyonurl" value="http://fullerdomehome.org/mailer-already.html" />
<input type="hidden" name="notonurl" value="http://NotOnURL" />
<input type="hidden" name="invalidurl" value="http://InvalidURL" />
<input type="hidden" name="emailconfirmurl" value="http://fullerdomehome.org/mailer-confirm.html" />
<input type="hidden" name="emailit" value="1" />
<p class="mar-bot-5">Name: <br /><input name="name" />
<p class="mar-bot-5">E-mail: <br /> <input name="email" />
<p class="mar-bot-5"><input type="submit" name="submit" value="Join Our Mailing List" /> <input type="submit" name="unsub" value="Unsubscribe" /></p>
This is a server-side mailer, and it works great. The problem here is that when someone clicks 'subscribe,' the mailer wants to send them to an appropriate page (emailconfirmurl to tell you an email confirmation has been sent, alreadyonurl to tell you that you're already on the list, and so on). However, these non-cms link away from the site that is being run under cmsms.
The address of the cms page is fullerdomehome.org/cms, but the pre-cms site at fullerdomehome.org still exists in its prior incarnation. If I left the code as it is, I would just be linking to a page that sort of resembles the page you were just on, before you clicked to subscribe to mailing list, with everything now looking barren and out of date. You have no idea how to get back, as every link that once looked the same is now taken you to more barren and out-of-date pages. You click back half a dozen times, but the bad taste lingers in your mouth.
One final question: how do I provide a link to an external site within the menu? The only links it seems to provide are the ones that correspond to my pages.
I apologize for the laundry list, but perhaps four of you have found my query entertaining, and can easily provide an answer. Thanks a million, and happy camping.