Zen Cart Logo
Forums / Addon Templates / Westminster New

Westminster New

Views: 494,072

Results 81 to 100 of 1,865
12 Jun 2014, 14:57
#81
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Westminster New

frank18:

When accessing a demo site with my mobile I found that the 'Log In' and 'Log Out' links are somewhat hidden withing the menu. I found them eventually...

To make it a bit easier for customers I modified the file

includes/templates/westminster_new/templates/tpl_modules_mobile_categories_tabs.php

Around line 91 we find

<li><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>" class="mcontact"><?php echo BOX_INFORMATION_CONTACT; ?></a></li> ``` > > Right after that line I added > > ```php <?php if ($_SESSION['customer_id']) { // bof log in / log out addition to mobile menu - added by frank18 ?> <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li> <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li> <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT_NEWSLETTERS, '', 'SSL'); ?>"><?php echo TITLE_NEWSLETTERS; ?></a></li> <?php } else { ?> <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li> <li><a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CREATE_ACCOUNT; ?></a></li> <?php } // eof log in / log out addition to mobile menu - added by frank18 ?> ``` > > The next line is the closing </ul> tag. > > The original lines 47 to 54 of this file could be deleted so we avoid duplication of the links .... > > Just a thought for consideration to make it easier for customers. > > Demo/development site here: isonetwork [DOT] net [DOT] au [SLASH] velagiftz [SLASH] > > Cheers / Frank

Thank you for sharing your code. On the mobile, the login link is the little man icon next to the search. ;)

Thanks,

Anne

16 Jun 2014, 12:41
#82
ewasterecycler avatar

ewasterecycler

New Zenner

Join Date:
Feb 2010
Location:
Penryn, CA
Posts:
4
Plugin Contributions:
0

Re: Westminster New

picaflor-azul:

You can remove the code from the bottom of the tpl_main_page.php file.

Thanks,

Anne

My needs currently do not need the left side slide out box & followed your instructions by "//" commenting out the 4-5 lines contained as you noted, but there must be some other location that causes this to continue to work ? Could you please include the path to the file(s) you are quoting to be edited, it took several minutes to find this one file.

Thank you in advance.

eWasteRecyclers

16 Jun 2014, 13:09
#83
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Westminster New

eWasteRecycler:

My needs currently do not need the left side slide out box & followed your instructions by "//" commenting out the 4-5 lines contained as you noted, but there must be some other location that causes this to continue to work ? Could you please include the path to the file(s) you are quoting to be edited, it took several minutes to find this one file.

Thank you in advance.

eWasteRecyclers

Path: includes/templates/westminster_new/common/tpl_main_page.php

On the bottom of that file you find

   <div class="slide-out-div"> 
    <a class="handle" href="http://link-for-non-js-users.html">Content</a> 
<?php echo SLIDE_OUT_CONTENT; ?> 
         </div>

On one of my installs I changed the code to read

   <!-- div class="slide-out-div"> 
    <a class="handle" href="http://link-for-non-js-users.html">Content</a> 
<?php // echo SLIDE_OUT_CONTENT; ?> 
         </div-->

Hope this fixes your issue.

16 Jun 2014, 14:27
#84
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

eWasteRecycler:

My needs currently do not need the left side slide out box & followed your instructions by "//" commenting out the 4-5 lines contained as you noted, but there must be some other location that causes this to continue to work ? Could you please include the path to the file(s) you are quoting to be edited, it took several minutes to find this one file.

Thank you in advance.

eWasteRecyclers

Frank's instructions are spot on if you think that you might use the code in the future. If you will never be using the code, just remove it.

Thanks,

Anne

16 Jun 2014, 19:35
#85
mr_chetanladdha avatar

mr_chetanladdha

New Zenner

Join Date:
Jul 2008
Posts:
84
Plugin Contributions:
0

Re: Westminster New

Hi Anne,

Can you suggest how do we change the color of the below ?

  1. The top navbar which is black.
  2. The black hover as below

Attachment 14177

Any idea where this change goes ?

17 Jun 2014, 05:51
#86
ewasterecycler avatar

ewasterecycler

New Zenner

Join Date:
Feb 2010
Location:
Penryn, CA
Posts:
4
Plugin Contributions:
0

Re: Westminster New

frank18:

Path: includes/templates/westminster_new/common/tpl_main_page.php

On the bottom of that file you find

<div class="slide-out-div"> <a class="handle" href="http://link-for-non-js-users.html">Content</a> <?php echo SLIDE_OUT_CONTENT; ?> </div> ``` > > On one of my installs I changed the code to read > > ```php <!-- div class="slide-out-div"> <a class="handle" href="http://link-for-non-js-users.html">Content</a> <?php // echo SLIDE_OUT_CONTENT; ?> </div--> ``` > > Hope this fixes your issue.

Thank you Frank & Anne for responding,

No, unfortunately, that still left the large arrow & a two line blank box ? I do have a backup copy of the original file, should I just delete the four (4) lines of text ? Also, within that file, there was some text about copying the file over to a newly made folder called '..\includes\templates\westminster_new\privacy\tpl_main_page.php', which I predicted the possible need for it, so followed though with creating the folder & coping the file into it. Comments, suggestions ?

17 Jun 2014, 09:21
#87
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Westminster New

eWasteRecycler:

Thank you Frank & Anne for responding,

No, unfortunately, that still left the large arrow & a two line blank box ? I do have a backup copy of the original file, should I just delete the four (4) lines of text ? Also, within that file, there was some text about copying the file over to a newly made folder called '..\includes\templates\westminster_new\privacy\tpl_main_page.php', which I predicted the possible need for it, so followed though with creating the folder & coping the file into it. Comments, suggestions ?

Suggest to delete that newly created file \includes\templates\westminster_new\privacy\tpl_main_page.php as it could interfere with the stock install and then report back....

Frank

17 Jun 2014, 09:52
#88
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Westminster New

frank18:

Suggest to delete that newly created file \includes\templates\westminster_new\privacy\tpl_main_page.php as it could interfere with the stock install and then report back....

Frank

Yes, I agree :)

Thanks,

Anne

17 Jun 2014, 18:16
#90
michaeldoddkinsella avatar

michaeldoddkinsella

New Zenner

Join Date:
Jun 2014
Location:
Dublin, Ireland
Posts:
16
Plugin Contributions:
0

Re: Westminster New

This is an image of the website.

Attachment 14181

17 Jun 2014, 20:26
#91
mr_chetanladdha avatar

mr_chetanladdha

New Zenner

Join Date:
Jul 2008
Posts:
84
Plugin Contributions:
0

Re: Westminster New

michaeldoddkinsella:

This is an image of the website.

Attachment 14181

Hi All,

Any idea where do we change the colour of the header navigation bar the menu black hover?
Thanks in advance for your help.

17 Jun 2014, 21:31
#92
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Westminster New

mr.chetanladdha:

Hi All,

Any idea where do we change the colour of the header navigation bar the menu black hover?
Thanks in advance for your help.

In stylesheet.css

find:
ul.slimmenu li a:hover, ul.slimmenu1 li a:hover

&

ul.slimmenu li ul li, ul.slimmenu1 li ul li

17 Jun 2014, 23:35
#93
sydmich avatar

sydmich

New Zenner

Join Date:
Jun 2007
Location:
Australia
Posts:
60
Plugin Contributions:
0

Re: Westminster New

Hi,
I have successfully moved 2 product categories to display on the main menu header beside the information tab. However, I now would like to exclude them from also displaying in the main category drop down menu list. Can someone point me in the right direction of how to exclude these 2 product categories from displaying under the main category drop down list.
As a similar issue, I have also moved useful links to the top main menu bar (have renamed it) and have 4 ezpages under 'useful links' on this menu which is great. However I would also like to place another ezpage (with chapters) on the main nav menu bar but not to be duplicated and displayed under the useful links area as well. Can anyone help me with these as I seem to be stuck and haven't figured it out.
Many thanks
Michelle

18 Jun 2014, 05:54
#94
ewasterecycler avatar

ewasterecycler

New Zenner

Join Date:
Feb 2010
Location:
Penryn, CA
Posts:
4
Plugin Contributions:
0

Re: Westminster New

frank18:

Suggest to delete that newly created file \includes\templates\westminster_new\privacy\tpl_main_page.php as it could interfere with the stock install and then report back....

Frank

Hello Anne & Frank,

I did delete the entire \includes\templates\westminster_new\privacy folder inclusive of the extra tpl_main_page.php. Unfortunately, I still have left slide out, with blank lines. At this point, I'm going to do a file backup, delete the four lines of text & report back on that result.

Toby

18 Jun 2014, 06:11
#95
ewasterecycler avatar

ewasterecycler

New Zenner

Join Date:
Feb 2010
Location:
Penryn, CA
Posts:
4
Plugin Contributions:
0

Re: Westminster New

I did delete the four lines on the bottom of the \includes\templates\westminster_new\common\tpl_main_page.php and that DID work. Thank you for all of your help, so far :smile:.

Thank you for your prompt replies. It's encouraging to know that the developer(s) are actually interested in people using their spent hours.

Toby.

18 Jun 2014, 07:32
#96
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Westminster New

eWasteRecycler:

I did delete the four lines on the bottom of the \includes\templates\westminster_new\common\tpl_main_page.php and that DID work. Thank you for all of your help, so far :smile:.

Thank you for your prompt replies. It's encouraging to know that the developer(s) are actually interested in people using their spent hours.

Toby.

You are in good hands on this forum :yes: - glad you got this sorted

18 Jun 2014, 11:33
#97
adadad avatar

adadad

New Zenner

Join Date:
Jun 2014
Posts:
2
Plugin Contributions:
0

Re: Westminster New

Hi all,
Can anyone tell me how do i add/remove menu items/catagories?
I want to remove useful links for example and add another 2 top tabs for example "Catagories 2"
Thanks in advance

18 Jun 2014, 15:09
#98
mr_chetanladdha avatar

mr_chetanladdha

New Zenner

Join Date:
Jul 2008
Posts:
84
Plugin Contributions:
0

Re: Westminster New

rbarbour:

In stylesheet.css

find:
ul.slimmenu li a:hover, ul.slimmenu1 li a:hover

&

ul.slimmenu li ul li, ul.slimmenu1 li ul li

Hi,

Thanks. I could change some colors with the above lines. However, not the ones i wanted. I am doing some trial and error to change the colors.

I was wondering that the current top logo which is aligned to left can be made to extend the whole width of the screen?

Thanks.

19 Jun 2014, 17:55
#99
mr_chetanladdha avatar

mr_chetanladdha

New Zenner

Join Date:
Jul 2008
Posts:
84
Plugin Contributions:
0

Re: Westminster New

mr.chetanladdha:

Hi,

Thanks. I could change some colors with the above lines. However, not the ones i wanted. I am doing some trial and error to change the colors.

I was wondering that the current top logo which is aligned to left can be made to extend the whole width of the screen?

Thanks.

Guys,

Anyone can help out with this ?

19 Jun 2014, 20:32
#100
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Westminster New

Small glitch in the template setup instructions, unless I've been looking at filenames too long and they're all starting to look the same.

Shouldn’t the file included with the template

/includes/languages/english/extra_definitions/westminster_new/winchester_responsive_defines.php

actually be

/includes/languages/english/extra_definitions/westminster_new/westminster_new_defines.php

as specified in the template setup file along with any other changes necessary to accomodate the filename?