Jump to content

Question

Posted

I was wondering if I could edit a PHP template so that my Blesta installation would use a text-based logo, for responsiveness reasons.

 

I know that Blesta uses IonCube to protect the source so I'm wondering if It's even possible.

17 answers to this question

Recommended Posts

  • 0
Posted

Yes I get the logo too. go to the cache folder and delete the 1 folder see if that works.

 

Wow nevermind the whole problem was just me. I got too used to Coda2 automatically saving the file to the server that when I used it to open the file from FileZilla I forgot I had to say "yes" to replacing the file in FileZilla.  :wacko:

  • 0
Posted

Le Structure.pdt /app/views/clients/bootstrap/structure.pdt. Blesta only encodes 3 files for license reasons.

 

Oh sweet! Thanks!

 

I tried making a change but it hasn't been applied. Should I restart the web server?

  • 0
Posted

Oh sweet! Thanks!

 

I tried making a change but it hasn't been applied. Should I restart the web server?

 

What are you editing

 

Find:

<div class="logo">
					<a href="<?php echo $this->Html->safe($this->base_uri);?>">
						<?php
						if (!empty($theme_logo)) {
						?>
							<img src="<?php $this->Html->_($theme_logo);?>" alt="Logo" />
						<?php
						}
						elseif (!empty($blesta_logo)) {
						?>
							<img src="<?php $this->Html->_($blesta_logo);?>" alt="Blesta" />
						<?php
						}
						else {
						?>
							<img src="<?php echo $this->view_dir;?>images/logo.png" alt="Blesta" />
						<?php
						}
						?>
					</a>
				</div>

Replace with:

                                <div class="logo">
					<a href="<?php echo $this->Html->safe($this->base_uri);?>">
						<h1>Logo Name here</h1>
					</a>
				</div>
  • 0
Posted

Try the above.

That is what I did.

 

Clear your browser's cache, or if in the admin area, clear the navigation cache by going to edit your staff group, and simply click to save the settings.

Did both, still nothing.

  • 0
Posted

If you've upgraded from a previous version of Blesta you'll also have the "default" theme so make sure you're not changing the wrong file.

Nope, I'm new to Blesta so it's just the Bootstrap theme.

  • 0
Posted

Wow nevermind the whole problem was just me. I got too used to Coda2 automatically saving the file to the server that when I used it to open the file from FileZilla I forgot I had to say "yes" to replacing the file in FileZilla.  :wacko:

 

Easy thing to do :)

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...