• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: [suggestion] list css_id in admin interface
PostPosted: Tue Mar 15, 2011 11:32 am 
Offline
Forum Members
Forum Members

Joined: Tue Dec 30, 2008 1:09 pm
Posts: 38
When developing sites, using browser developer tools, the css_id is available, but not the name of the css pages. This makes it very difficult to debug css problems.

I would like to suggest adding the id to the display in listcss.php and listcssassoc.php. as a permanent feature of cmsms.

The changes are obvious and very simple:

listcss.php:
\$1:
103a104
>               echo "<th>ID</th>\n";
121a123
>               echo "<td>".$one["css_id"]."</td>\n";


listcssassoc.php:
\$1:
204a205
>         $tmp['id'] = $row['assoc_css_id'];


templates/listcssassoc.tpl
\$1:
10a11
>     <th>ID</th>
20a22
>       <td>{$one.id}</td>


And, while we are at it, it is useful to know which stylesheet ID you are editing, so add this too:

editcss.php
\$1:
364c364
<                       <p class="pagetext">*<?php echo lang('name')?>:</p>
---
>                       <p class="pagetext">[ID: <?php echo $css_id ?>]&nbsp;&nbsp;*<?php echo lang('name')?>:</p>

(beware: the last line may be split right in the middle of a '?>' php closing tag -- be sure to re-join it!)

HTH


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [suggestion] list css_id in admin interface
PostPosted: Thu Mar 17, 2011 9:04 pm 
Offline
Administrator
Administrator
User avatar

Joined: Thu Mar 09, 2006 5:32 am
Posts: 12669
Location: Arizona
If you really want to have the Devs look into this I would file a FR, feature request, in the forge...

_________________
Check ver. CMSMS, PHP, server OS, in System Information page.
Default content http://multiintech.com/defaultcontent/
People are Wonderful
Business is Great
Life is Terrific
Ever wonder what happened to the Album module? Well it is alive and well.
http://album.multiintech.com/
$1


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [suggestion] list css_id in admin interface
PostPosted: Fri Mar 18, 2011 10:33 am 
Offline
Forum Members
Forum Members

Joined: Tue Dec 30, 2008 1:09 pm
Posts: 38
\$1:
I would file a FR, feature request, in the forge...

Good idea. I would have done, but could not see which project to post it against.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [suggestion] list css_id in admin interface
PostPosted: Fri Mar 18, 2011 1:51 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Tue Dec 23, 2008 8:39 pm
Posts: 1369
Post it against the core.

http://dev.cmsmadesimple.org/projects/cmsmadesimple


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [suggestion] list css_id in admin interface
PostPosted: Fri Mar 18, 2011 5:23 pm 
Offline
Forum Members
Forum Members

Joined: Tue Dec 30, 2008 1:09 pm
Posts: 38
Thanks for the link. 'Core' wasn't in the list of projects! I've filed the FR now.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [suggestion] list css_id in admin interface
PostPosted: Fri Mar 18, 2011 6:55 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Tue Dec 23, 2008 8:39 pm
Posts: 1369
It is, under 'CMS Made Simple Core'

http://dev.cmsmadesimple.org/project/li ... r=C&page=2


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


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

Search for:
Jump to:  
cron
A2 Hosting