Jump to content
  • 0

Edit navigation bar


SLIBINAS

Question

12 answers to this question

Recommended Posts

  • 0
4 hours ago, SLIBINAS said:

Ohh, i have weakest skills on PHP programming, So I don't know I can make it. Is there any chance to edit original files?

You can use my Community Edition plugin to do this... It's called the BlestaCMS. Follow the docs on https://cms.blesta.how and you can use the blesta nav bit to add links to the navigation.

Link to comment
Share on other sites

  • 0
10 minutes ago, Blesta.Store said:

500 error is an internal server error you'll need to look at your error_log.

I turn on Blesta debugging, still I got this error. I check: Blesta logs,  /var/log/nginx/access.log, /var/log/nginx/error.log, nor /var/log/nginx/php_errors.log And don't get any information, I don't know which error_log I need to open to see exactly problem.

Link to comment
Share on other sites

  • 0
2 minutes ago, SLIBINAS said:

I turn on Blesta debugging, still I got this error. I check: Blesta logs,  /var/log/nginx/access.log, /var/log/nginx/error.log, nor /var/log/nginx/php_errors.log And don't get any information, I don't know which error_log I need to open to see exactly problem.

I don't use Nginx but I know it's your server error_log if you don't have a control panel with one to look into. A server error isn't something I can help with unless I have an error.

Link to comment
Share on other sites

  • 0
15 minutes ago, Blesta.Store said:

I don't use Nginx but I know it's your server error_log if you don't have a control panel with one to look into. A server error isn't something I can help with unless I have an error.

I attach error log image. When I installed CMS and tried to launch website.

image.thumb.png.e6a9d49598096b5f3a5e860dadbd178c.png

Link to comment
Share on other sites

  • 0
On 3/5/2020 at 3:28 PM, Blesta.Store said:

I don't use Nginx but I know it's your server error_log if you don't have a control panel with one to look into. A server error isn't something I can help with unless I have an error.

I don't going to use BlestaCMS because it's corrupted all my Blesta engine.
Is there any change how I can edit navigation bar?

image.thumb.png.7d93c621030a18bc74db196041ebe674.png

Link to comment
Share on other sites

  • 0

Hi, I'm not coder or programmer (and cant speak english well too), but maybe you can try this :

1. Copy your template to another template name or backup your template, just in case something gone wrong

2. If needed, change client template views to new template (from admin dahsboard: Settings - Look and Feel - Template - Client Template)

3. In new template, open file structure.pdt (in yourblestadomain/yourblestafolderifexist/app/views/client/yourtemplatename/structure.pdt)

4. Find line <ul class="nav navbar-nav navbar-right"> around line 190; this is user menu block code which show Login/Logout/UserMenu in right side client navigation

5. Above that code, add your links with html code unordered list (use same css class with main menu) for example :

<ul class="nav navbar-nav">
  <li><a href="https://yourdomain.com/blog/">Blog</a></li>
  <li><a href="https://yourdomain.com/kontak/">Message Us</a></li>
  <li><a href="https://anythingurl.com/">anything</a></li>
</ul>

or

add html code unordered list without class in to main navigation block (before </ul>)

                                <?php
                                }
                                ?>
						// Above is main navigation menu block
						<li><a href="https://yourdomain.com/blog/">Blog</a></li>
  						<li><a href="https://yourdomain.com/kontak/">Message Us</a></li>
  						<li><a href="https://anythingurl.com/">anything</a></li>
                    </ul>
					// Below is user profile menu block                           
                            <ul class="nav navbar-nav navbar-right">
                                <?php
                                if ($this->Html->ifSet($logged_in)) {
                                ?>
                                <li class="dropdown">

6. Save and check your blesta client page

 

Screenshot - 2020-06-30T111226.572.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...