Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
Feature Requests
Duplicate object names in projects|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Guru 'Geezer' Mechanic |
I have a piece of php code that needs to be included on every page. The output of this code will be controlled by CSS by referencing either the object or geometry id name.
When the code object (or geometry) is given a specific name, I find that when it is included/cloned/copied on another page, the given name is changed. This will break my CSS code, which is looking for the given id name. My only option is to rewrite the CSS code for every page, or include a <span id='...'> tag in the object (not possible with an image object). I can see the reason to keep the object & geometry name unique per page, but the name should be reusable across pages in a project. |
||
|
VM Staff![]() |
Hi Larry,
If you 'include' an object it should retain the same object and geometry name. A cloned object should retain the same geometry name but not the object name. Are you not seeing that? |
|||
|
|
Guru 'Geezer' Mechanic |
Harpo,
You are correct. Using the Include option does use the same object/geometry name. What I was doing was a page copy & paste as the code objects (there are several) comprised a template page. What I found is not very intuitive: If I select all objects, then open the Object Editor->Components tab, I can use the "Page Copy Method" and set it to Include. This sets it for all objects instead of having to do it one object at a time. It would be nice if this feature were elevated to a page menu. |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
Feature Requests
Duplicate object names in projects
