Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 8:29 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: CUstom title help
Posted: Tue Aug 23, 2005 2:29 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Mon Aug 22, 2005 11:39 am
Posts: 285
Location: UK
I have a client who wants to add a difficulty rating icon to each content title. They are using their mambo content items as events and want to post a rating for each (calendar system was rejected).

In mambo 4.5.1.0.9 one could add html into the title to achieve such aims. Currently in 4.5.2.3 this seems to all get stripped out of the title.

My question is how can I achieve this? DO i need to write a mambot? Or can i hack the title field to prevent stripping out html and allow them to add a simple span and id tag to show an image? I imagine the latter means altering a core class whcih I am happy to do though i realise it is not best practice.

Any quick advice on quickest ( as opposed to best practice) solutions would be dearly welcome.

alan-s

_________________
if you don't know where you're going you are bound to end up somewhere....

www.joomkit.com | joomla solutions for not-for-profit


Top
  E-mail  
 
 Post subject: Re: CUstom title help
Posted: Tue Aug 23, 2005 2:58 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Aug 19, 2005 12:45 am
Posts: 100
Location: The Netherlands
Maybe I'm misunderstanding what you need but how about using the content rating system: Global configuration > Content > Item Rating/Voting: Show


Top
  E-mail  
 
 Post subject: Re: CUstom title help
Posted: Tue Aug 23, 2005 4:03 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Mon Aug 22, 2005 11:39 am
Posts: 285
Location: UK
Thanks Sebastian,
It is an interesting option indeed! I had overlooked it. I was wanting to get a rating icon specifically at the end of the title line so that in a category listing you could see that item.

So the question might now become how can I adapt the ratings feature to appear inline with an item title in category view and only be used by admins.....

I'll go make another coffee.....

_________________
if you don't know where you're going you are bound to end up somewhere....

www.joomkit.com | joomla solutions for not-for-profit


Top
  E-mail  
 
 Post subject: Re: CUstom title help
Posted: Tue Aug 23, 2005 4:10 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Aug 19, 2005 12:45 am
Posts: 100
Location: The Netherlands
You can change the access level in the MOS rating mambot to special to allow admin access only.
To change it's position though, I think your going to have to start editing the mosvoting.php.

Was I quicker than you could make coffee? :P


Top
  E-mail  
 
 Post subject: Re: CUstom title help
Posted: Tue Aug 23, 2005 4:16 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Mon Aug 22, 2005 11:39 am
Posts: 285
Location: UK
Quicker than coffee yes!
BUt the admin priveleges unfortunately are not granular enough for voting. It has to be seen by public but done by admins in the back end. However, I am now digging into the mosvote.php.......

ta

_________________
if you don't know where you're going you are bound to end up somewhere....

www.joomkit.com | joomla solutions for not-for-profit


Top
  E-mail  
 
 Post subject: Re: CUstom title help
Posted: Tue Aug 23, 2005 4:21 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Fri Aug 19, 2005 12:45 am
Posts: 100
Location: The Netherlands
I see, it's do-able, you could probably write a simple hack, if the gid is higher than 19 (admin) then show the voting, else just show the vote results.


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 45 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group