Topics

Tribe Support

Tribe Support's Topics

Hunter Wilkes

February 07 2017

Customize the GUI

Hey All,

I want to try and customize the GUI for my site, but I honestly have no idea where to start. Any advice or tips would be greatly appreciated.

Thanks,

Hunter

#gui #template #customization

What text do you want to change?
Hunter Wilkes liked this
Our navbar is still just the default Anahita one, where it has the logo and says Anahita, so I'd like to change that. Also, how does it know the difference between when you're logged in or not? I don't really see anything to change between the log in button and the drop down menu.
Those are set in the template settings.
Hunter Wilkes liked this
Where are the template settings?
Click the viewer on the top right, click Site Settings, then Templates on the left, select your template or the current default and the settings should be listed there. You want to change the Brand Name and you can toggle the Show Logo. If you want to change the logo, you can do so by overriding it in your own template.
2 people liked this
Oh, okay. That's not too bad at all. How do I change the logo?
Scott Crawford
Scott Crawford
March 02 2017 Permalink
I just brought BeerLovers.com online with a revised, mobile-friendly template. Still needs some polish, but very much happy with the results for now.

The /tmpl/navbar.php file calls out the logo via an render function, but you can either replace the image file or over-ride that template element with a custom call.
2 people liked this
Rastin Mehr
Rastin Mehr
March 02 2017 Permalink
@hunterwilkes make sure you haven't edited any of the files in the base template and core components and instead you have only used template overrides in your custom template for everything. Otherwise you won't be able to upgrade Anahita.
Hunter Wilkes liked this
I have been making new copies of the files in the new template. If I wanted to turn off the navbar, how would I do that? I don't really see anything in the html/com_pages/page/default.php that calls on the navbar.
Scott Crawford
Scott Crawford
March 03 2017 Permalink
Check /html and /html/tmpl in the base template... these can be over-ridden in your custom template by copying them to a corresponding directory in your custom template.
2 people liked this
Rastin Mehr
Rastin Mehr
March 03 2017 Permalink
@hunterwilkes on the site settings set use mod_rewrite to yes to remove the index.php from your urls. Also use https://letsencrypt.org/ to create an ssl certificate for your server.
Hunter Wilkes liked this
I tried changing mod_rewrite to yes, but now the website can't find any of its pages. If you click login, you get this message: "The requested URL /people/session was not found on this server." If you change the url to have index.php again, you can get to the login page, but then the login will fail because it won't be able to find the next page. Do you know why this is happening?
Rastin Mehr
Rastin Mehr
March 07 2017 Permalink
If you are on Apache you also need to rename htaccess.txt to .htaccess for the mod_rewrite. Let me know if it worked.
Hunter Wilkes liked this
I changed the htaccess.txt in anahita-platfrom folder to .htaccess, but that did not fix it.
When I ran "locate htaccess" from the project's root directory, all the other htaccess files were already .htaccess
Rastin Mehr
Rastin Mehr
March 08 2017 Permalink
I meant the one in the www directory
Hunter Wilkes liked this
The one in the www directory is already .htaccess
Rastin Mehr
Rastin Mehr
March 08 2017 Permalink
@scott you are using Apache too right? Did you have the same issue that @hunterwilkes is experiencing with the mod_rewrite setup?
Hunter Wilkes liked this
Scott Crawford
Scott Crawford
March 08 2017 Permalink
I'm running fine with Apache and the mod_rewrites, and I just looked at my live .htaccess file... it's basically the default Anahita .htaccess except I've added some content-specific 301 redirects and a redirect to force https.

My first suggestion would be to confirm that "RewriteEngine On" is not commented out. I also have "Options +FollowSymLinks" and "Options -Indexes" in mine, the latter of which I may have added or it goes back several years to a legacy release.
Hunter Wilkes liked this
Where's the file that saves the settings?

Powered by Anahita