Tool Tips and Page Title

More
15 years 2 months ago #3023 by status101
Hi There,

I have been playing with Flexi Content for a little while now, and am finding it amazing and have gotten a fair way with it, but have a couple of possibly simple/silly questions.

Firstly, I am using a 'clean' blog category view to dispay a 'products' page. It is displaying fine, images and text coming though as I want them, however the thumbnail images coming through have ToolTips, and I cannot for the life of me work out A: Where they are coming from, and B: How to change/style them. The problem is that the tool tip has no background so is really hard to read.. I need to either be able to add a background to is, or turn it off.. Anyone have any ideas where I should be looking? Using firebug I can see the #flexicontent .hasTip , but I have tried styling that and nothing, but I think that is because it is a trigger... and I can’t find the actual styling anywhere.. Should I be looking in Flexicontent, the template, both etc etc.. Any thoughts / advice would be appreciated.

My second question I think is a real noob one, but on SOME pages, I am getting my page title displayed at the top of the browser ( not on the rendered page ) coming through as - for eg: "General Information - Welcome" .. where 'General Information' is the category name, and 'Welcome' is the actual page title. Again I have searched high and low and just can’t seem to find it so any pointers again would be appreciated.

Many Thanks in advance...

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #3025 by yopyop001
Replied by yopyop001 on topic Tool Tips and Page Title
Hi,

For the tootltip style, you can try to add in your template.css:
Code:
/* Tooltips */ .tool-tip { float: left; background: #ffc; border: 1px solid #D4D5AA; padding: 5px; max-width: 200px; } .tool-title { padding: 0; margin: 0; font-size: 100%; font-weight: bold; margin-top: -15px; padding-top: 15px; padding-bottom: 5px; background: url(../../system/images/selector-arrow.png) no-repeat; } .tool-text { font-size: 100%; margin: 0; }

For the second one, i'm not sure to understand.(My english level is quite poor).

but on SOME pages

Is there a menu link to these "Some pages"? May ben you can try to find the differences between thes "some" pages and the others.

Rgds,

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #3033 by status101
Replied by status101 on topic Tool Tips and Page Title
Hi yopyop001, Thank you for getting back to me so quickly.

The code with the tool tip worked perfectly.. Now I can go style it the way I want.. I thought it was a template problem but have been searching the Joomla forums for a while and could not come up with anything.. guess I was searching for the wrong thing.. so much still to learn :)

With the the second question, I have tried looking for differences but have not spotted one yet. It seems to be displaying the category title in the browser header/title, even though I have selected 'no' for display category title. I will keep looking and if I can not find it I will come back. Also, you english seems fine to me :) .. I probably have not explained it very clearly..

Thank you again.

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #3049 by gnomeontherun
Hi there,

I found the line that does this. Go to com_flexicontent/views/view.html.php.

At line 145, you see this:
Code:
if($cid) { $parentcat = array_pop($parents); $doc_title = $parentcat->title.' - '.$params->get( 'page_title' ); } else { $doc_title = $params->get( 'page_title' ); }

Which will append the category name to the page title before any page which has a category id passed through. Basically, any item page. To remove it completely for all pages just remove or comment out everything above except this line:
Code:
$doc_title = $params->get( 'page_title' );
Jeremy

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #3066 by status101
Replied by status101 on topic Tool Tips and Page Title
Hi Gnomeontherun,

First and foremost, thank you for that. What an amazing community this amazing piece of software has!

That did the trick for the site I am working on at the moment, which is fantastic.

I think I got myself in trouble by approaching the concept of categories too shallowly when i started. ( It was my first go at FlexiContent after all : )

For another site I have just stated on I am going to try something... I have only ever asked questions here, I thought I might explain my idea and get feedback / maybe help someone else before they start.... ( I got the idea after looking at the FlexiContent site browser headers/titles.

When I created my first site I went and created a number of categories for what was to be a simple site.

They where -

- General Info: To hold pages like a static home, about etc..
- Products: for Products.
- Events: for events.
- FAQ: for events.

What this gave me in the browser header/title bar was "Category - Page Title".

However...

If I create an initial category:

- My Site : to contain the "general info" pages

Then as sub cats
- Products
- Events
- FAQ

then my browser header comes through as "My Site - Page Title" and "My Site - Products - Page title" etc.

As I said, I got this idea after looking at the FlexiContent site structure so its not like it is my idea or anything .. but it is something I think I missed when I started.

Either that or there is still something I am missing somewhere to be able to turn off the display of the Category title in the browser header for specific items, and I am making a big mistake.. ( Please let me know if I am : )

Also, now that I think about it, although the above multi level categorization will get around it (mostly), why does the Site Name, not display in the browser header as a Joomla site will do without FlexiContent??

Anyway.. just my ramblings, but thanks again for a great product and a helpful community.

Cheers

Please Log in or Create an account to join the conversation.

More
15 years 2 months ago #3127 by gnomeontherun
As far as page titles go, I think that anything that is routed through FlexiContent will have that same page title setup. From the code I posted, it appears that there are no options regarding the way its displayed at least at the moment.

Without doing more hacking, I don't think (could be wrong) that you can turn it off individually.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.442 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save