forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: Manutjee on December 23, 2015, 10:44:47 pm

Title: How do I remove the :: between the system/sub menu?
Post by: Manutjee on December 23, 2015, 10:44:47 pm
Hello,

I've checked every file, but I don't have any clue on where to find this so I thought I'd just ask.
It's probably easy to solve, but I was wondering... How do I get rid of the :: at the system/sub menu?
I've attached a screenshot.

Happy holidays everyone!
Title: Re: How do I remove the :: between the system/sub menu?
Post by: Manutjee on December 28, 2015, 01:51:02 pm
Anyone? I still haven't solved it.
Title: Re: How do I remove the :: between the system/sub menu?
Post by: phill104 on December 28, 2015, 05:39:21 pm
Unfortunately I am away from home so can only offer a suggestion via my phone. Have you tried using firebug to locate the required code? Usually you can simply click on an element and it will give details of where the code is found.
Title: Re: How do I remove the :: between the system/sub menu?
Post by: ron4mac on December 29, 2015, 12:52:11 pm
It would make it much easier for someone to help you if you would supply a link to your site or at least the name of the theme that you are using. The colons are almost certainly being supplied by your theme.
Title: Re: How do I remove the :: between the system/sub menu?
Post by: Jeff Bailey on December 29, 2015, 10:39:30 pm
in your custom themes theme.php
find
Code: [Select]
$template_sys_menu_spacer = '::';change the ::

If this line isn't in your custom theme you can add the THEME_HAS_NO_SYS_MENU_BUTTONS section from the sample theme and edit from there.

If you still have problems please post a link to your site and upload your custom theme as txt files.
Title: Re: Re: How do I remove the :: between the system/sub menu?
Post by: Manutjee on January 01, 2016, 02:51:13 pm
First of all, I'd like to wish you guys a happy new year!
Thanks everyone for the help!

in your custom themes theme.php
find
Code: [Select]
$template_sys_menu_spacer = '::';change the ::

If this line isn't in your custom theme you can add the THEME_HAS_NO_SYS_MENU_BUTTONS section from the sample theme and edit from there.

If you still have problems please post a link to your site and upload your custom theme as txt files.

theme.php file [I haven't included the rest as it is not a coding/html/css issue.] is added as an attachment.


Whenever I add the THEME_HAS_NO_SYS_MENU_BUTTONS part, the page doesn't load at all after it's uploaded. See the attachments.
This time I'll provide a link: http://www.98designs.flaunt.nu/portfolio/index.php?theme=cpgpremade12hereisgina
Title: Re: How do I remove the :: between the system/sub menu?
Post by: ron4mac on January 01, 2016, 03:38:46 pm
The attached theme.php file does not appear to be the one used by your referenced theme (cpgpremade12hereisgina). Look in the themes/cpgpremade12hereisgina folder.

Perhaps what you attached was from themes/theme01, instead.

If it is, indeed, from themes/cpgpremade12hereisgina, you must have a plugin installed that is replacing the menu separators with " :: ".
Title: Re: How do I remove the :: between the system/sub menu?
Post by: Manutjee on January 01, 2016, 03:58:37 pm
Whoops, my mistake. I forgot to replace the file, haha! Check the attachments for the right file.
And what plugin do I need to have installed in order for the :: seperators to be changed?
Title: Re: How do I remove the :: between the system/sub menu?
Post by: ron4mac on January 01, 2016, 04:29:38 pm
Add this line to your theme.php file:

Code: [Select]
$template_sys_menu_spacer = '';
Right after
define('THEME_IS_XHTML10_TRANSITIONAL',1);
would be a good place to add it.
Title: Re: Re: How do I remove the :: between the system/sub menu?
Post by: Manutjee on January 01, 2016, 04:45:07 pm
Add this line to your theme.php file:

Code: [Select]
$template_sys_menu_spacer = '';
Right after
define('THEME_IS_XHTML10_TRANSITIONAL',1);
would be a good place to add it.

Thank you, it's solved!