Re: Deleting "Information Sidebar" Items
hi
can anyone tell me here
http://www.mgdezigns.com/printables/...n_page=privacy
under "information" in left box content , all my links appear so close like privacy notice is adjoined with contact us and contact us with newsletter
how do i make each appear on each line?
Thanks
Re: Deleting "Information Sidebar" Items
In a stock Zencart installation, those are list items in an unordered list. It looks like your template designer has removed that for some reason. I would look through the template files to see where that was done (probably includes/templates/trublu/sideboxes/tpl_information.php), or you might be able to find the privacy link in includes/modules/sideboxes/trublu/information.php and add a <br /> in the proper places.
Re: Deleting "Information Sidebar" Items
Odd... your template designer appears to have taken about an eight-year step backwards in coding and turned all of the sideboxes into tables. They also as stevesh notes eliminate the <li> structure from the content of this box. You can fix it very easily by adding to your stylesheet (anywhere)
Code:
#information-content>a {display: block;}
Re: Deleting "Information Sidebar" Items
Not surprising, I guess, since that template was written for Zencart version 1.3.6 in 2007.
Re: Deleting "Information Sidebar" Items
"face palm" i edited the template to match my site , i think I will download a fresh copy and add what you just told me :)
Thanks! Stevesh and gjh42 :)
EDIT : thank you soooooooo much gjh42 I added that line and it fixed it up perfectly :D
Re: Deleting "Information Sidebar" Items
Using the Developers Tool Kit, I found three entries -- SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true' -- but did not find where it was set 'TRUE'.
Any clues to set it to false??
Re: Deleting "Information Sidebar" Items
What I did for now is cheat. :shocking: In the /includes/modules/sideboxes/information.php file;
I changed -- if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK == 'true')
to -- if (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK != 'true')
Re: Deleting "Information Sidebar" Items
When you see those values that are UPPERCASED, they're (usually) constants of some form ... including the constants that reflect database-related settings.
In your Tools->Developers Toolkit, enter that constant (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK) in the very-top search entry on that page and you'll get a display that shows you that the value is, in fact, a configurable item and will include a link to allow you to change that value.
Re: Deleting "Information Sidebar" Items
Quote:
Originally Posted by
lat9
When you see those values that are UPPERCASED, they're (usually) constants of some form ... including the constants that reflect database-related settings.
In your Tools->Developers Toolkit, enter that constant (SHOW_NEWSLETTER_UNSUBSCRIBE_LINK) in the very-top search entry on that page and you'll get a display that shows you that the value is, in fact, a configurable item and will include a link to allow you to change that value.
Thanks so much lat9 for pointing that out. That it includes a link to allow you to change that value sure saves time finding the correct admin->Configuration page